feat(rewards): multiple leaderboards one for each tier#28621
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
6809600 to
34c1842
Compare
f3f23ec to
d56848d
Compare
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - draft PR All E2E tests pre-selected. |
|
✅ E2E Fixture Validation — Schema is up to date |
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ecd1e4b. Configure here.
| nextPrize: null, | ||
| nextThreshold: current.deposit, | ||
| isMaxTier: true, | ||
| }; |
There was a problem hiding this comment.
Prize pool subtext misleads when deposits exceed max threshold
Low Severity
When deposits reach the final breakpoint (≥$6M), computeProgress sets nextThreshold to current.deposit (6M). The subtext always renders using this value, producing text like "$7M of $6M volume" where current exceeds target. This is confusing to users since it implies they haven't reached a goal they've already surpassed.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit ecd1e4b. Configure here.





Description
https://consensyssoftware.atlassian.net/browse/RWDS-1163
Leaderboard tier selector
Stats summary
Leaderboard neighbor display (preview mode)
Pending tag / Qualified tag
qualifiedandqualifiedDaysto CampaignLeaderboardEntry and CampaignLeaderboardPositionDtoPendingTag if qualified: false,Qualifiedtag if trueActivity view
Prize pool
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
*After
Pending
Qualified
Activity view
Prize pool
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Moderate UI/behavior changes in Rewards campaign flows plus a new data fetch (
getOndoCampaignDeposits) and updated leaderboard rendering, which could affect navigation and correctness of displayed stats/tier selection.Overview
Updates Ondo campaign rewards UI to support tier-based leaderboards via a new reusable
RewardsSelectSheetmodal (registered inMainNavigator) and localized tier display names.Reworks campaign details/leaderboard presentation by replacing
OndoLeaderboardPositionwith a newCampaignStatsSummary(return/market value/rank/tier, pending/qualified tags, SWR-style loading/error handling), adding aOndoPrizePoolprogress section backed by a newuseGetOndoCampaignDepositshook, and enhancingOndoLeaderboardwith preview mode (maxEntries), current-user highlighting, and neighbor/split-view rendering.Refactors the portfolio activity view to be activity-only, grouped by date headers, and updates activity rows to support
timeOnly, signed USD formatting, and external outflow address shortening; tests are updated/added accordingly.Reviewed by Cursor Bugbot for commit ecd1e4b. Bugbot is set up for automated code reviews on this repo. Configure here.