Repository navigation
feat: Compare periods and releases (#495) - #594
Merged
Merged
Conversation
Unify prior-period comparisons with calendar presets (UTC), equal-duration custom ranges, and New/— delta formatting on Overview, Errors, Events, Sessions, and Releases for v1.17 Performance Intelligence. Co-authored-by: Cursor <[email protected]>
Address Bugbot findings: applySummaryCompare on all summary endpoints, align Overview charts with calendar compare windows, and soft-fallback incomplete custom compare ranges to the prior period. Co-authored-by: Cursor <[email protected]>
Resolve CHANGELOG Unreleased conflict by keeping both compare-periods and milestone email entries. Co-authored-by: Cursor <[email protected]>
Wire applySummaryCompare into errors/events/sessions analytics so charts match KPI compare windows, and pass the API compareLabel into OverviewMetricsSection. Co-authored-by: Cursor <[email protected]>
Expand errors summary/analytics filter.range to the compare window so list bounds cannot clip KPIs/charts, and forward metricsSince/Until on issue links for calendar compare modes. Co-authored-by: Cursor <[email protected]>
Forward compare params on View all / list deep links, use metrics window only for KPI-aligned issue links, and keep paginated list drill-downs on the page range. Co-authored-by: Cursor <[email protected]>
Collaborator
Author
|
bugbot run |
Contributor
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
2 issues from previous reviews remain unresolved.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 8c8773e. Configure here.
…tats Use each summary window's until as the compare anchor (not wall-clock now), and format overview stat-card deltas as New when rising from a zero baseline. Co-authored-by: Cursor <[email protected]>
2 of 7 tasks
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
compare/compareFrom/compareTo), and unified New / — delta formatting.CompareModeControlon Overview, Errors, Events, and Sessions; API summary endpoints honor compare modes; Releases shows New for 0→N vs previous release (Dashboard: Releases Health page — adoption and regression across versions #453 semantics, no semver).compare-windows.tsand this PR).Test plan
compare=customwithout bounds falls back to prior period; with equal-durationcompareFrom/compareTocompares correctly; unequal duration returns 400%/ppvs previous historical releasepnpm lint && pnpm test && pnpm buildNotes / follow-ups
range/from/tofilters when calendar compare overrides summary KPIs (intentional MVP: filters preserved; KPI strip follows compare mode).Closes #495
Made with Cursor