Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Swap page cleanup #389

Open
6 tasks
LuizAsFight opened this issue Sep 21, 2022 · 5 comments
Open
6 tasks

Swap page cleanup #389

LuizAsFight opened this issue Sep 21, 2022 · 5 comments
Labels
enhancement New feature or request ui/ux

Comments

@LuizAsFight
Copy link
Contributor

LuizAsFight commented Sep 21, 2022

We're having too much movement / flicks when interacting with swap page

Problems

  • Timing of layout changes is not good. if you play the video below slowly, you'll see first coin changes, then Balance hide/show.
  • Timing issues also happen in preview box, if you play this video slowly, first it gets to zero then it goes loading.
  • Preview box is blinking if you click "swap", then click "swap" again before loading is finished
  • Timing/flicks issues also happening in last line price box "1 ETH = x.xx DAI"
  • Max button hiding/showing when swapping
  • By consequence the position of balance text changes all the time. It changes if balance value changes AND if max button hides/shows
Screen.Recording.2022-09-21.at.15.52.37.mov

Solutions proposed

  • Fix timing of layout changes
  • To better UX, move balance to start of the input. Feels much better to see balance right below of where you're typing your value
  • Balance should be shown even when it's zero
  • Balance value should be clickable, and set the value to input
  • As we now have the balance clickable, "Max" button is useless and can be removed to make screen cleaner
  • Ultimately reaching something like this:

image

Just as ref - See this example of dieselpools
Layout is not good/pretty but in terms of ux it's very clear and concise, you can keep clicking and clicking and clicking in anything (swap, max buttons), and things basically don't move

@LuizAsFight LuizAsFight added ui/ux enhancement New feature or request labels Sep 21, 2022
@zhou407134
Copy link

我同意

@pyramus
Copy link

pyramus commented Jan 9, 2023

Would like to add another issue to this UI cleanup.

Show multiple digit decimals for tokens in liquidity positions (at least 2-3)

  • Adding 0.47 ETH + 529.05 DAI to LP
  • UI shows pooled tokens as just 0.4 ETH + 529.05 DAI
  • UI shows 0.4 pool tokens (instead of actually 0.46)
  • Removing LP confirms the actual amounts
UI-issue-SwaySwap.mov

Although I could confirm this is just a display issue, seems important nevertheless. It seems as if you're losing quite some ETH when adding liquidity due to the interface just showing a single digit decimal. Note that it's not normally rounded (would become 0.5 in this example) but really unnecessarily cutting off decimal digits.

Tested only in last stable release since opening LP doesn't seem to work in latest master branch (see issue 399)

@LuizAsFight
Copy link
Contributor Author

nice catch @pyramus , def needs to be fixed

@otart
Copy link

otart commented Jan 10, 2023

ok

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request ui/ux
Projects
None yet
Development

No branches or pull requests

5 participants
@pyramus @LuizAsFight @zhou407134 @otart and others