-
Notifications
You must be signed in to change notification settings - Fork 8
fix(percentage-display): improve huge surplus display #549
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Looks better, but still does not fixes this (#462): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a bit better :)
Maybe we should do sth else when they place market orders, cause we still will have the issue if they place a 1 wei one
Yes, exactly the same use case. Hoping @fairlighteth can do something about it 🤞 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @alfetopito , great!
Small question: is this OK to show an absolute value in green?
I chose to do that to be a stand in replaced for the % in the table. |
nice! thanks |
Update
On top of that (see below), when surplus percentage > 1000, show the surplus amount instead of percentage
Summary
Make huuuge surplus percentages a bit better
From

To

To Test
https://explorer.cow.fi/gc/orders/0x46ef40527001b290757c1e55260f806476ed8561852cdcb93122020901d4018cb93bdd291874d637abed0d7b86e31719031b553364adcd5c?tab=overview
and the orders for this address