Repository navigation
Settings, Deliveries: an Overview tab with trends, failures by reason and webhook endpoints - #233
Merged
Merged
Conversation
… and webhook endpoints Headline tiles (success rate, deliveries, failures, slowest 5%) compared with the period before, deliveries and success rate over time, failures by reason with the fix, webhook endpoints with their state and streak, sources and the event types that failed most. Period, status, source and endpoint filters live in the address. Every tile, bar, reason, endpoint, source and event opens the list narrowed to it; the list now takes a time window, endpoint and reason from the address. The chart card, tooltip and table move from Analytics into a shared module.
nambok
force-pushed
the
feat/delivery-analytics
branch
from
October 27, 2026 00:15
c30e0f3 to
819c4b6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
An Overview tab on Settings, Deliveries: how deliveries went over 24 hours, 7 days or 30 days against the period before, with every element opening the list narrowed to it. It lives on Deliveries, not Insights, Analytics, because Deliveries is admin-only and the drill-in lands on the same page.
Pairs with CoderHelm/coderhelm-platform#321 (
GET /api/deliveries/analytics).Changes
Tabs on Deliveries: Deliveries (the list, still the default) and Overview (
?view=overview). Source and status carry between them.Overview (
components/delivery-overview.tsx):Filters: period, status, source and endpoint, all kept in the address. Readable empty, "counting older deliveries" and low-data states.
Drill-in: tiles, bars and points, the chart tables, reasons, endpoints, sources and events link to the list. The list now takes
from/until(one hour, one day or the period),endpointandreasonfrom the address, each shown as a chip you can remove.Shared charts:
components/charts.tsxholds the chart card, tooltip, axis, series colors, table and change helpers that Analytics used inline; Analytics imports them, unchanged.API:
api.getDeliveryAnalyticsand its types, plusuntil,endpointandreasonon the list filter.Endpoint links use
endpointHreffrom Webhooks: endpoint settings, Deliveries sharing line, and docs for the webhooks CoderHelm sends #223 (Settings, Webhooks); rebased on it.Verification
npm run lint(ui-lint and no-hosted-links),npm run typecheck,npm run check:openapiandnpm run buildpass.E2E_STATIC=1): 1095 passed (after the rebase on Webhooks: endpoint settings, Deliveries sharing line, and docs for the webhooks CoderHelm sends #223).e2e/delivery-overview.spec.ts:git diff origin/mainprints nothing.