feat: rewards dropdown filter on activity tab#24910
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. |
d680da5 to
879c842
Compare
e9d7fde to
2cbe01c
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #24910 +/- ##
==========================================
+ Coverage 79.96% 80.06% +0.09%
==========================================
Files 4257 4277 +20
Lines 109331 110146 +815
Branches 22889 23097 +208
==========================================
+ Hits 87429 88189 +760
+ Misses 15835 15821 -14
- Partials 6067 6136 +69 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9c2c1b4 to
9058b4c
Compare
9058b4c to
aa53c24
Compare
|
@sophieqgu pushed a commit to solve an issue review bot had reported |
Add test coverage Fix bug prettier issue fix bugbot fix f Address comments and update design Update OriginSpamModal.test.tsx.snap Fix bug Fix bug Fix bug Update NFTAutoDetectionModal.test.tsx.snap Revert snapshot Update index.test.tsx.snap Update OptionSheet.test.tsx.snap
d4f6cc0 to
049b910
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The SmokeRewards tag is the appropriate choice because:
No other tags are needed because:
Note: The SmokeRewards tests are currently skipped pending rewards system stabilization, but selecting this tag ensures the tests will run when they are enabled. Performance Test Selection:
The changes don't affect:
The Rewards feature is a separate, isolated feature that doesn't have dedicated performance tests. |
|



Description
Support filter by event types in the Activity Tab
Changelog
CHANGELOG entry: Support filter by event types in the Activity Tab
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Medium risk because it changes the points-events fetching pipeline (new
typequery param, caching key changes, and request-cancellation logic), which could impact activity feed freshness/pagination if edge cases were missed.Overview
Adds an Activity Tab dropdown filter that lets users fetch points activity by earn type, driven by season-provided
activityTypesand new i18n strings.Extends
usePointsEventsand the rewards backend to support type-filtered points events: the hook now acceptstypeandenabled, cancels in-flight first-page/pagination requests when dependencies change, and the RewardsController/DataService includetypein API requests and cache keys.Updates
SelectOptionSheet/OptionsSheetUI (design-system icon, sorted options withallpinned, new close header) and tweaks a few Rewards visuals (smaller icons, bonus text color), with substantial test/snapshot updates to cover filtering and new fetch behavior.Written by Cursor Bugbot for commit 049b910. This will update automatically on new commits. Configure here.