feat: MUSD-455 bring back claim section on asset details screen#27567
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. |
5c3837a to
0d81e8f
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
17b2488 to
fa7638f
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #27567 +/- ##
===========================================
- Coverage 82.19% 45.21% -36.98%
===========================================
Files 4788 4786 -2
Lines 123512 123340 -172
Branches 27364 27414 +50
===========================================
- Hits 101516 55764 -45752
- Misses 14962 62428 +47466
+ Partials 7034 5148 -1886 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…set-details-screen
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Tag selection rationale:
Risk factors:
Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|




Description
This PR brings back the mUSD bonus claim section displayed on the asset overview screen. It was previously removed as part of this PR.
Changelog
CHANGELOG entry: Restored mUSD claimable bonus claim section on asset overview screen
Related issues
Fixes: MUSD-455: Bring back claim section on asset details screen
Manual testing steps
Screenshots/Recordings
Before
Bonus claim section wasn't rendered on the asset overview screen.
After
Screen.Recording.2026-03-17.at.5.33.54.PM.mov
Notes
claimRewards()exits early (e.g. missing selected account or Linea network client id), causing subsequent taps to be ignored.Note
Medium Risk
Adds a new claim CTA into the token details render path and wires it to rewards-claiming hooks, analytics, and external linking; this could impact performance (hook execution for many assets) and claim UX if gating/chain selection is wrong.
Overview
Restores an mUSD “Claimable bonus” section on the asset details screen, showing the user’s claimable amount and a
Claimbutton that triggersuseMerklBonusClaim’s claim flow and disables/rejects repeated presses while a claim is in flight/pending.Adds an info tooltip with a link to Terms of Use (with new analytics location), plus new i18n strings and test IDs to support UI copy, tracking, and E2E automation.
Written by Cursor Bugbot for commit 0d81e8f. This will update automatically on new commits. Configure here.