When visiting the following pages: trade, explore (by pair), simulate, create strategy - the selected pair becomes the default pair.
Note - the current behavior is buggy.
If you start to create a strategy and select a pair that doesn't exist yet it becomes the default pair, even if you don't complete the strategy creation - ending up with a bad "empty" experience in other pages.
It can also be more problematic with imported tokens etc.
I personally think that strategy creation shouldn't dictate the pair - or it should only take place once the strategy was created - or only if the pair already exists.
[x] explore page cannot handle tokens with no pair
flow:
go to create strategy
import this token 0x809FF4801aA5bDb33045d1fEC810D082490D63a4
go to trade -> it identify there is no data for the token pair and indicate "no data"
go to explore
expected: identify there is no data for the token pair and indicate "no data" as we do for a pair with no strategies (here)
actual: there is no token indication in the search url and the page is stuck on endless loading.
fixes #1331
When visiting the following pages: trade, explore (by pair), simulate, create strategy - the selected pair becomes the default pair.
Note - the current behavior is buggy. If you start to create a strategy and select a pair that doesn't exist yet it becomes the default pair, even if you don't complete the strategy creation - ending up with a bad "empty" experience in other pages. It can also be more problematic with imported tokens etc.
I personally think that strategy creation shouldn't dictate the pair - or it should only take place once the strategy was created - or only if the pair already exists.