Skip to content

feat(dashboard): performance page KPIs, vitals charts, and rating distribution (#195) - #286

Merged
unjica merged 2 commits into
developfrom
feature/performance-page-ui-195
Jul 8, 2026
Merged

unjica merged 2 commits into
developfrom
feature/performance-page-ui-195

Conversation

@unjica

@unjica unjica commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Replaces /dashboard/performance Coming Soon with a full analytics page: KPI row (LCP, INP/FID, CLS, TTFB + optional avg response/Apdex), p75 vitals-over-time charts with bucket control, and Good/Needs improvement/Poor rating distribution bars
  • Extends GET /api/performance/summary with prior-period compare for web vitals (p75Previous, goodPctPrevious) mirroring the existing $request latency pattern
  • Enables the Performance nav tab and adds filter bar (time range, env, platform, release)

Closes #195

Test plan

  • pnpm lint && pnpm test && pnpm build
  • Open /dashboard/performance with web vitals data — verify KPI sparklines, prior-period deltas, charts, and rating bars
  • Switch chart bucket (Hour/Day/Week) and apply env/platform/release filters — bucket selection persists
  • Project with only $request events — request latency KPIs show; helpful empty state for web vitals
  • Project with no performance data — empty state with SDK guidance

Made with Cursor

@unjica unjica added this to the v1.5.0 — Analytics dashboard milestone Jul 8, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 792f4db. Configure here.

Use summary.window.label for the page subtitle and rating distribution
caption so unselected time filter shows "Last 7 days" instead of "Recent
data", matching KPI row and vitals charts.

Co-authored-by: Cursor <[email protected]>
@unjica
unjica merged commit 6ce9ff8 into develop Jul 8, 2026
4 checks passed
@unjica
unjica deleted the feature/performance-page-ui-195 branch July 8, 2026 18:05
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.

Performance page: KPIs, vitals charts, and rating distribution

1 participant