-
Notifications
You must be signed in to change notification settings - Fork 428
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: batch any tx #2254
Feat: batch any tx #2254
Conversation
Branch preview✅ Deploy successful! |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
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 and works really great!
I just have some minor suggestions and there are some prettier problems in BatchTxItem.tsx
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.
There are some Prettier issues, but otherwise looks good!
7f7b2cc
to
3663f32
Compare
It's difficult to hide it just in that sidebar, so I suggest we keep it, it doesn't hurt. I made it close the batch sidebar when Send again is pressed.
Fixed! ✅ |
The event "Expand batched tx" is being triggered also when you are trying to delete a tx from the batch or reordering it, because the event triggers as soon as you click on a tx and not when the tx details actually display. |
Suggestion: The Add to batch button that is at the bottom of the tx form only shows if you click the "no execution" checkbox. The thing is that if the user have not noticed the icon at the top he will not know about batch tx until someday he clicks in the "no execution". So I'd recomend show that button all the time |
I’ll consider it for v2. Manu also pointed out that 1/N users who chose to execute txs by default will not see this button. |
Note: |
Co-authored-by: Aaron Cook <[email protected]>
Co-authored-by: Aaron Cook <[email protected]>
Co-authored-by: Aaron Cook <[email protected]>
I'll disable this feature on mobile for v1. |
For now they'll be re-orderable/deletable only in the Sidebar view. The designs are a mix of v1 and v2. |
Delegate/batch txs currently have a disabled "Add to batch" button as per @kirkkonen's request. It shows a tooltip on hover. I'm going to merge this PR, and we'll address the rest of the feedback in v2. Namely:
|
Project links
Design: https://www.figma.com/file/FY2LtTxP2Ngj6Ed5dTTDcv/Batching?type=design&node-id=6%3A30859&mode=design&t=svhcdpjFCmNn9yMN-1
Specs: https://www.notion.so/Transaction-batching-9600b8fa53834512ba0c8d1a257de771
Description
Todo