-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: Add tokens full page #21628
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
feat: Add tokens full page #21628
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. |
…to feat/tokens-full-page
|
| const backButton = getByTestId('header').find( | ||
| (element) => element.type?.toString() === 'TouchableOpacity', | ||
| ); | ||
| backButton?.props.onPress(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we give the back button a test-id, would make it easier to test here.
await useEvent.press(getByTestId('back-button'))
expect(mockGoBack).toHaveBeenCalled()There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will address these in a follow up PR
Pull Request is not mergeable



Description
This PR implements a full-screen Tokens view accessible from the wallet's Tokens tab, providing users with an expanded view of their token portfolio. The feature includes a "View all tokens" button that appears when the token list is truncated, allowing users to navigate to a dedicated full-screen tokens page with enhanced navigation and layout.
Key improvements:
Changelog
CHANGELOG entry: Added full-screen Tokens view accessible via "View all tokens" button in wallet
Related issues
Fixes: https://consensyssoftware.atlassian.net/jira/software/c/projects/DSYS/boards/1888?selectedIssue=DSYS-245
Manual testing steps
Screenshots/Recordings
Before
After
Tokens Full View
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-10-24.at.09.18.25.mp4
Tokens Tab still functional
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-10-24.at.09.19.46.mp4
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Adds a full-screen Tokens view accessible via a new "View all tokens" button and route, with layout/refactors to token list, control bar, and Add Asset header plus tests and i18n.
Views/TokensFullViewwith header/back; wired intoMainNavigatorandRoutes.WALLET.TOKENS_FULL_VIEW.TokenListgainsmaxItems, optionalflashListProps, and a "wallet.view_all_tokens" button that navigates toTokensFullView.UI/TokenssupportsisFullView(padding/safe area), passesflashListProps, and uses design-systemBox/Tailwind; progressive loading unchanged.TokenListControlBarand sharedBaseControlBaraccept optionalstyleprop for outer wrapper spacing.BottomSheetHeader(back button/title) inViews/AddAsset.TokensFullViewand movesAddAssetstack entry; updates snapshots.TokensFullView.test.tsx; updates toTokensandAddAssettests/snapshots.wallet.view_all_tokensstring inen.json.Written by Cursor Bugbot for commit 9ccc10f. This will update automatically on new commits. Configure here.