Closed dib542 closed 3 months ago
Preview URL: https://c8dfa25d-7351573e--duality-xyz-testnet.netlify.app Logs: https://app.netlify.com/sites/duality-xyz-testnet/deploys/6644b7ac232fe4097ef37605
Preview URL: https://c8dfa25d-7351573e--duality-xyz-beta.netlify.app Logs: https://app.netlify.com/sites/duality-xyz-beta/deploys/6644b7f85152d315a82f4829
:tada: This PR is included in version 2.10.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
As not all Dex pairs/pools are of the same importance, we want to be able to guide the user to viewing only specific token pairs.
This PR achieves a filtered "Recommended Dex Pools" filter using a whitelist from an optional ENV var
REACT_APP__CHAIN_REGISTRY_ASSET_PAIR_LIST
a string with example JSON structure here:Which is the demo pair of the testnet as seen in the deploy preview: https://c8dfa25d-7351573e--duality-xyz-testnet.netlify.app/orderbook/demoUSDC/demoNTRN
Before:
![app testnet duality xyz_pools(FullHD) (1)](https://github.com/duality-labs/duality-web-app/assets/6194521/b1dce1e7-9e70-43db-8607-0f8299e60583)
After:
![c8dfa25d-7351573e--duality-xyz-testnet netlify app_pools(FullHD) (5)](https://github.com/duality-labs/duality-web-app/assets/6194521/165f1e47-92f1-43ab-b164-8466a6b1ef6b)
The "My Pools" sections of both the tables and TokerPair picker dialog remain unchanged:
![c8dfa25d-7351573e--duality-xyz-testnet netlify app_pools(FullHD) (6)](https://github.com/duality-labs/duality-web-app/assets/6194521/72797ba5-6ed1-4d73-9d9d-f80efe6f500e)