-
Notifications
You must be signed in to change notification settings - Fork 101
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
feat(partial-approvals): partial approve v2 #5269
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
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 job!
Just 3 questions:
- WDYT about moving the message closer to the 'Approve' button?
- The message is displayed for a ETH-flow (when no approvals are needed) when connected to EOA wallet. Should it?
But I can see 2 cases when it should be displayed:
- Bundled ETH-flow inside the Safe app
- A user picks a classic ETH-flow with wrapping eth to WETH. Maybe here?
- (asked in this thread)
I'm confused with this message in the tooltip:“To change previous approvals, you must first revoke the existing approval and then do a new approval on CoW Swap.”
If it is related to an unlimited previous approval, might it be possible to clarify it and add 'unlimited' to this sentence? Like:
“To change previous **unlimited** approvals, you must first revoke the existing approval and then do a new approval on CoW Swap.”
Moved it after TWAP banner.
Done
For those cases, the user already has the option to edit the amounts in the Safe UI when creating the tx, so I don't think it's needed.
Not worth it IMO
According to Mindy, it can remain as is. |
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.
Looks good now, thank you!
Update 1: 2025-01-08
Summary
Builds on top of #5256
Changes from base PR:
Rename
Partial Approve
toMinimal Approvals
and update the tooltip. Text still TBD.Add a banner when an approval is needed (both permit and regular). Text still TBD.
To Test