trezor-suite
trezor-suite copied to clipboard
fix(suite): routes for tokens
Description
- Introduced nested routing in Tokens section. Now the search is not being re-rendered when changing tabs. Tho in the future it will be better to update routing utils functions to support nested routing by design.
- Refactored some legacy styling.
- Renamed Coins to My tokens
Related Issue
Resolve https://github.com/trezor/trezor-suite/issues/13142 https://github.com/trezor/trezor-suite/issues/14985
Screenshots:
https://github.com/user-attachments/assets/ccd568c1-1a7e-469c-b82c-3436064864ac
Please also get rid of accounts/tokens/coins#... path. This path should be on accounts/tokens#...
By that we will get rid of that nonsense coins in tokens 😀
So just const tokensRoutes = ['wallet-tokens', 'wallet-tokens-hidden'];
@trezor/qa Please test both web and desktop app
@adderpositive Martin, I think that this routing method and NavigationItem styling can be useful in coinmarket, as you also have a similar design in Trading section, please consider implementing
Small visual bug - search in the middle.
Can you please make a clickable whole circle? It is more user-friendly.
@adderpositive Martin, I think that this routing method and NavigationItem styling can be useful in coinmarket, as you also have a similar design in Trading section, please consider implementing
In the trade section, NavigationItem is used with some small overrides for a responsive design. Routing method should be consider. I like it.
Small visual bug - search in the middle.
Thank you, didn't test it with debug on
Can you please make a clickable whole circle? It is more user-friendly.
yes, good point
@adderpositive Martin, I think that this routing method and NavigationItem styling can be useful in coinmarket, as you also have a similar design in Trading section, please consider implementing
@adderpositive primarily talking of routing, it's more smooth without unnecessary page reloading
/rebase
Start rebasing: https://github.com/trezor/trezor-suite/actions/runs/11565047661
Rebasing failed, please rebase manually.

Can you please make a clickable whole circle? It is more user-friendly.