Smart pre-populate favorite trades
This is not required for launch but would be really nice to have.
eg. if user has trusted justcoin, then STR/BTC should just be pre-populated for them.
Sounds great. So to clarify, we are only connecting the pairs with STR and making STR the counter currency?
Are there cases when we don't want STR to be the counter currency (for example in the case of STR/USD)
No, it would be nice if other pairs make sense too, like popular pairs on Justcoin which may be BTC/EUR. We need some criteria for establishing which pairs get pre-populated which is up for discussion.
Since it is really reference client material to have it in the client, maybe we can talk to a ix endpoint which will return a list of pairs like:
'pairs': [
['BTC', 'STR'],
['STR', 'SCT'],
['USD', 'STR'],
['ZZZ', 'JED']
]
Then the client adds as many favorites as it can. If a user has 2 BTC issuers, it would create a pair for each of the issuers. This way, we can have some human intervention in creating the pairs so that they aren't flipped (we see 1 STR as $0.0035USD/STR and not 285.7STR/USD).
Perhaps this can even be a generic service that anyone can create.
Perhaps gateways can put a list of their recommended pairs in their stellar.txt. But we would have to do something to prevent bloat.
I generally don't like pre-populated favorites lists (like browser bookmarks). I would lean toward a less obtrusive UX like "Suggested trades" or "Popular trades" that is separate from the user's favorites (maybe in a widget/tab).
Once you can easily remove favorites it might be more useful.