Skip to content

Move token dropdown to received list

гλ requested to merge 109-receive-token-dropdown into testnet-dev

First draft of #109 (closed)

This is a first draft of moving the coin list to the received dropdown.

image

Features:

  • Received token menu and list is now available on both coincards
  • Unavailable options are greyed out
  • Menus close after selection is made but stay open until a selection is made
  • Moved the menu over the percent buttons as it works much better aesthetically and it difficult to reconcile technically and I suspect choosing percentage of balances is a separate task from selecting your account.

Known issues:

  • Menu resizes slightly incorrectly and interface flickers when it opens. (Possibly a tough layout bug around the way ant works which might take time to solve)
  • Handle click outside of menu and coincard not yet implemented (do we actually need this is an open question?)
  • On mobile when inputs gain focus they don't select their contents and scroll to top which would be good usability
  • Have not attempted to make the dropdown open function more visible yet

Technical notes:

  • Left the filterList close to the coinCard while it is in flux for now as it is only used by coinCard at this point. Expect it to be moved to its own component folder later.
Edited by гλ

Merge request reports