-
Notifications
You must be signed in to change notification settings - Fork 619
[Dashboard] Improve team overview page load perf + UI adjustments #5475
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] Improve team overview page load perf + UI adjustments #5475
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5475 +/- ##
=======================================
Coverage 43.88% 43.88%
=======================================
Files 1075 1075
Lines 55944 55944
Branches 3910 3910
=======================================
Hits 24550 24550
Misses 30711 30711
Partials 683 683
*This pull request uses carry forward flags. Click here to find out more.
|
size-limit report 📦
|
5006115 to
642e3d8
Compare
Merge activity
|
) Move the chart data fetching inside suspense boundary with loading fallback to speed up page load <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on improving the layout and structure of several components in the dashboard, enhancing the user interface by adjusting styles and adding new features like loading states. It also refines the `TeamOverviewPage` to better handle data and display. ### Detailed summary - Updated styles in `range-selector.tsx` for improved layout. - Added `w-full` class in `EmptyState.tsx` for full-width section. - Adjusted gap sizes in `AnalyticsHeader.tsx`. - Modified `TeamOverviewPage` to include a loading state using `Suspense`. - Introduced `OverviewPageContent` function to manage content rendering. - Enhanced conditionals to simplify rendering logic in `TeamOverviewPage`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
642e3d8 to
b52049c
Compare

Move the chart data fetching inside suspense boundary with loading fallback to speed up page load
PR-Codex overview
This PR focuses on improving the layout and structure of various components in the dashboard, enhancing the user interface and experience. It also introduces a loading state and refines the handling of search parameters in the
TeamOverviewPage.Detailed summary
range-selectorlayout for better spacing.EmptyStatesection to use full width.AnalyticsHeaderstyles and title size.GenericLoadingPagefor loading states.TeamOverviewPageto handle search parameters as promises.TeamOverviewPagefor better organization and readability.