Conversation
Contributor
|
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. |
bergarces
commented
Feb 6, 2026
| depositActiveFlag && | ||
| compareVersions.compare(currentVersion, depositMinimumVersionFlag, '>=') | ||
| ); | ||
| })(); |
Contributor
Author
There was a problem hiding this comment.
This has not been changed for almost a year, and I cannot see any more relevant references in code, so removing it from the new component.
61e4d7b to
b8607d8
Compare
app/components/UI/TokenDetails/components/TokenDetailsActions.test.tsx
Outdated
Show resolved
Hide resolved
Contributor
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
Prithpal-Sooriya
approved these changes
Feb 6, 2026
|
sahar-fehri
approved these changes
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Corrected the following issues with the new button layout:
Changelog
CHANGELOG entry: Fixed minor button layout issues
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
UI/UX logic and test updates only; no changes to transaction signing, balances, or protocol interactions beyond adjusting when buttons/options are shown.
Overview
Fixes Token Details action/menu visibility to match the new layout rules: the main actions no longer show Send when the token has no balance, and perps vs non-perps states now map to consistent button sets (covered by expanded
TokenDetailsActionstests).Updates the “More” actions menu so Remove token only appears when the token is actually present in the account’s assets and is not
mUSD(new selector check + tests).Cleans up legacy buy gating by removing the old deposit feature-flag/min-version check in
TokenDetails.tsx, sodisplayBuyButtonis now driven solely by Ramp availability.Written by Cursor Bugbot for commit 16d77d1. This will update automatically on new commits. Configure here.