-
Notifications
You must be signed in to change notification settings - Fork 618
[TOOL-3124] Dashboard: paginate projects, sort by Montly active users #6027
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
[TOOL-3124] Dashboard: paginate projects, sort by Montly active users #6027
Conversation
|
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. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6027 +/- ##
=======================================
Coverage 54.89% 54.89%
=======================================
Files 1151 1151
Lines 61210 61210
Branches 5167 5167
=======================================
Hits 33600 33600
Misses 26882 26882
Partials 728 728
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
apps/dashboard/src/app/team/[team_slug]/(team)/~/projects/TeamProjectsPage.tsx
Outdated
Show resolved
Hide resolved
c2d1ac2 to
3e02c99
Compare
3e02c99 to
1ca62ac
Compare
1ca62ac to
1b02a89
Compare
1b02a89 to
e35dbfd
Compare
Merge activity
|
…#6027) <!-- start pr-codex --> ## PR-Codex overview This PR focuses on enhancing the project analytics in the dashboard by changing how project data is retrieved and displayed. It updates the calculation of user connections to reflect monthly active users and introduces pagination for project listings. ### Detailed summary - Replaced `getProjectsWithTotalWallets` with `getProjectsWithAnalytics`. - Updated project data structure to include `monthlyActiveUsers` instead of `totalConnections`. - Introduced pagination in the `TeamProjectsPage` component. - Changed sorting criteria from `totalConnections` to `monthlyActiveUsers`. - Updated UI elements to reflect the new data fields. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
e35dbfd to
ace1dc5
Compare

PR-Codex overview
This PR updates the
TeamProjectsPageand related functions to replace the handling of total connections with analytics for monthly active users. It introduces pagination and modifies sorting and data retrieval to enhance project analytics.Detailed summary
subDaysimport for date manipulation.getProjectsWithTotalWalletstogetProjectsWithAnalytics.ProjectWithAnalytics.totalConnectionswithmonthlyActiveUsersin project data.monthlyActiveUsers.