-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: rewards end of season metal card claim #24314
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
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. |
a313257 to
c44dd97
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #24314 +/- ##
===========================================
- Coverage 79.28% 51.52% -27.77%
===========================================
Files 4065 4066 +1
Lines 107173 107247 +74
Branches 21830 21846 +16
===========================================
- Hits 84971 55257 -29714
- Misses 16248 47443 +31195
+ Partials 5954 4547 -1407 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
app/components/UI/Rewards/components/PreviousSeason/PreviousSeasonUnlockedRewards.tsx
Show resolved
Hide resolved
742a464 to
791b712
Compare
app/components/UI/Rewards/components/MetalCardClaimBottomSheet/MetalCardClaimBottomSheet.tsx
Show resolved
Hide resolved
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThis PR introduces a new Metal Card Claim feature within the Rewards system. The changes are well-scoped and focused:
The changes are medium risk because they touch a critical file (rewards-controller types) and add new navigation, but the impact is limited to the Rewards feature with no cross-cutting concerns. |
|



Description
Allows users who've reached the appropriate tier to claim the metal card reward.
Changelog
CHANGELOG entry: allow metal card rewards claim when season 1 ends
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/RWDS-911
Note
Enables claiming the end-of-season Metal Card reward and improves end-of-season reward UX.
MetalCardClaimBottomSheetmodal with email validation, optional Telegram handle, metrics, error banner, and success toast; register routeREWARDS_METAL_CARD_CLAIM_BOTTOM_SHEETin navigatorsPreviousSeasonUnlockedRewardsto show Metal Card rewards as claimable and navigate to the new sheet; simplify messaging by removing store/version promptsRewardItemwith end-of-season logic: claim expiry (claimEndDate), time-left display, claimed/expired labels, disabled states, claim button variant/size tweaks, onPress override, and claim URL interpolation; block actions when locked/claimed/expiredSeasonRewardType.METAL_CARD,claimEndDateon season rewards,validateEmail, new i18n stringsWritten by Cursor Bugbot for commit 6cab01c. This will update automatically on new commits. Configure here.