feat: update prime note & pagination - #5756
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 8c38b0a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Greptile SummaryThe PR redesigns pagination and expands the Prime leaderboard refresh notice.
Confidence Score: 4/5The PR is not yet safe to merge because the cutoff note can display stale minimum-stake values under a newer leaderboard refresh timestamp. The original score-versus-stake mismatch is fixed by sourcing both values from the minimum-stake response, but the displayed timestamp still comes from the independently and more frequently refreshed leaderboard response, so the note can continue presenting different snapshots as one state. Files Needing Attention: apps/evm/src/pages/PrimeLeaderboard/RefreshNote/index.tsx
|
| Filename | Overview |
|---|---|
| apps/evm/src/pages/PrimeLeaderboard/RefreshNote/index.tsx | Adds the Prime cutoff score and stake, but combines them with a refresh timestamp from an independently refreshed response. |
| apps/evm/src/components/Pagination/index.tsx | Replaces numbered page links with a validated editable page input and first, previous, next, and last controls. |
| apps/evm/src/components/Pagination/usePagination.ts | Removes numbered-page window calculation while preserving URL synchronization and page navigation. |
| apps/evm/src/pages/Dashboard/index.tsx | Clears the default pagination query parameter when the active chain changes. |
| apps/evm/src/pages/PrimeLeaderboard/RankActions/index.tsx | Adjusts the rank-card action layout to keep both buttons within equal-width columns. |
Reviews (2): Last reviewed commit: "feat: update data source" | Re-trigger Greptile
|
@greptile review again |
Jira ticket(s)
VPD-1720
VPD-1719
Changes
2026-07-30.20.50.58.mov