-
Notifications
You must be signed in to change notification settings - Fork 621
[Dashboard] Feature: Default analytics range to 30 days and save preference #7039
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dashboard] Feature: Default analytics range to 30 days and save preference #7039
Conversation
- Change default range to last 30 days for all analytics views - Add localStorage persistence for user's selected range preference - Add proper error handling with invalid duration ID - Fix separator key warning by adding unique keys 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7039 +/- ##
=======================================
Coverage 54.89% 54.89%
=======================================
Files 909 909
Lines 58396 58396
Branches 4035 4035
=======================================
Hits 32056 32056
Misses 26235 26235
Partials 105 105
🚀 New features to boost your workflow:
|
size-limit report 📦
|
🤖 Generated with Claude Code
PR-Codex overview
This PR enhances the
PayAnalyticsFiltercomponent with improved handling of date ranges and local storage. It introduces a newdefaultRangeparameter, updates error messaging, and modifies the sidebar to highlight the "Universal Bridge" feature.Detailed summary
defaultRangeparameter with value"last-30"ingetUniversalBridgeFiltersFromSearchParams.date-range-selectorfor invalid duration IDs.SidebarSeparatorto include a uniquekeyprop.PayAnalyticsFilterto load and save date ranges from local storage.ProjectSidebarLayoutto include a badge.