Search Manage Tokens by contract address - #6170
Conversation
📸🪓 Test evidence (iOS sim, Manage Tokens contract-address search)
🪓 HACK-FORCED: before fix full mog address no results 🪓 HACK-FORCED: after fix full mog address finds mog 🪓 HACK-FORCED: after fix full shib address finds shib 🪓 HACK-FORCED: search by code mog still works Captured by the agent's in-app test run (build-and-test). |
The Manage Tokens search only matched a token's currency code and display name, so pasting a contract address returned nothing even though the Assets search finds the same token. Match the token's networkLocation values too, the same way the wallet list and create-wallet list searches already do.
5b0ae27 to
a33ca9f
Compare
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |




Description
Manage Tokens search only matched a token's currency code and display name, so pasting a contract address returned no results even though the Assets search finds the same token by that address. The token filter now also matches the token's
networkLocationvalues (ie.contractAddress), the same rule the wallet list and create-wallet list searches already use.The filter moved out of the scene into a pure
searchTokenIdshelper so it can be unit tested; the existing "matches anywhere in the field" behavior for currency code and display name is unchanged.Asana: https://app.asana.com/0/1215088146871429/1217587221308437
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
none
Requirements
If you have made any visual changes to the GUI. Make sure you have: