Skip to content

Events page: analytics panels (volume chart, top events, platform breakdown) (#186)#249

Merged
unjica merged 2 commits into
developfrom
feature/events-analytics-panels-186
Jul 7, 2026
Merged

Events page: analytics panels (volume chart, top events, platform breakdown) (#186)#249
unjica merged 2 commits into
developfrom
feature/events-analytics-panels-186

Conversation

@unjica

@unjica unjica commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds GET /api/events/analytics (registered before /events/:id) returning filtered volume series, top event names with share %, and platform breakdown (Web / iOS / Android / Other).
  • Introduces events-analytics.ts with bucketing aligned to overview/errors patterns and Vitest coverage for merge helpers and platform normalization.
  • Wires EventsAnalyticsPanels on the Events page — line chart, top-events bars, and platform donut — fetched in parallel with summary KPIs (shared metricsUntil anchor).

Test plan

  • pnpm lint && pnpm test && pnpm build
  • /review-bugbot against develop — no findings
  • Open Events page with default filters — panels render above table
  • Change app/environment/platform/date filters — panels and KPIs stay aligned
  • All-time range uses rolling 7-day metrics window with stable metricsUntil

Closes #186

Made with Cursor

unjica and others added 2 commits July 7, 2026 21:10
Expose filtered volume, top events, and platform breakdown via GET /api/events/analytics and wire dashboard panels above the events table.

Co-authored-by: Cursor <cursoragent@cursor.com>
@unjica unjica merged commit eea3ca6 into develop Jul 7, 2026
3 checks passed
@unjica unjica deleted the feature/events-analytics-panels-186 branch July 7, 2026 19:14
@unjica unjica added this to the v1.5.0 — Analytics dashboard milestone Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant