Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Sort/Import Tokens in Mobile (#11618)
## **Description** Implements Token Sorting on mobile. This is the mobile implementation of the same feature on extension: MetaMask/metamask-extension#27184 Note that this currently includes a patch of the `PreferencesController`. There is a corresponding PR in core to add this to a formal controller release: MetaMask/core#4747 ## **Related issues** Fixes: https://consensyssoftware.atlassian.net/browse/MMASSETS-357 ## **Manual testing steps** Go to Portfolio Screen Sort should allow sorting by declining fiat balance by default. Users can then toggle and sort alphabetically or by declining fiat balance. Import button should function the same as the import token link in footer ## **Screenshots/Recordings** https://github.com/user-attachments/assets/f9a9cf52-ef23-4705-a7db-ae5ecdc232f7 ## **Pre-merge author checklist** - [x] I’ve followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --------- Co-authored-by: salimtb <[email protected]>
- Loading branch information