-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Order progress bar #454
Integrate Order progress bar #454
Conversation
* add progressbar component * add warning * add alert icon * progressbar position * add CheckIcon * add pending status and styles * add AMMs component * fix duplicate import * add progressbar variant and enhancements * add message container and improve mobile view * change amms animation time * fix delay animtation * improvements, color, mobile * change clock colors
CLA Assistant Lite All Contributors have signed the CLA. |
…-integrate-progress-bar
|
@elena-zh just pushed a small fix to hide the progress bar when the user cancels the order |
@ramirotw , thanks! I was going to leave this feedback to you right now. |
done! |
Hey @ramirotw , I noticed, that the progress bar is moving too fast, and in few seconds (5-9) it starts to show 'too long' message, and it is weird from my perspective. See the video for both issues: https://watch.screencastify.com/v/dUOSnu76BQmmFsOxYzvv |
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.
So nice to see a working version.
I think this feature will need to be tested a bit with users, and will likely require some refinement, because still has some weird effects. However, i was expecting this. Now with the demo, we can explorer how to refine it.
I would avoid to merge this to develop, until we are more sure we are ready to release it.
One quick feedback. There's a weird effect when you open the modal, it shows the progress bar in 0% and it progresses super fast to the current %. Can we show the % in the current value from the begining to avoid this effect?
Not sure if this was just a small weird case, but I saw this message |
Fixed by initializing the percentage value with the current calculated one
Weird, I'm actually using the cowswap/src/custom/state/orders/utils.ts Lines 211 to 247 in c8e523d
|
This should be fixed @elena-zh
This behavior is defined in the requirements doc. The average execution time for Rinkeby and GC is set to 15 seconds, we should probably keep iterating over these numbers so it's aligned with what's actually going on. Right now the |
@anxolin , @ramirotw this might happen when the price comes back, so not too often, but I can face this. |
…_updated' into ramirotw/issue-392-integrate-progress-bar
FYI, I merged #444 into this branch so Elena could test orders from a Gnosis Safe wallet. Will revert the commit later. |
Hey @ramirotw , changes look much better now!
Thanks! |
Someone mentioned that also 0x, matcha are missing. Thankkkks |
[progress bar] Less scary message
…-integrate-progress-bar
Summary
Close #392 and #347
This integrates @alongoni's progress bar UI and @anxolin's progress bar function into the Activity details modal.
Requirements doc: https://docs.google.com/document/d/1rJPCmztsbpIi-jklCFAQIrrPusIBYmrJvswB26I8AWA/edit#heading=h.gjdgxs