-
Notifications
You must be signed in to change notification settings - Fork 15
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: add edit to payment builder action #3075
Conversation
feat: handle add recipient feat: add multiple funding steps fix: changes type
bea2c75
to
49c736a
Compare
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.
@CzarekDryl Nice one, a lot of work here, thank you for tackling it. I spent some time testing and came across a few things:
-
Change payment modal is showing two rows of buttons as well as a red button. There should only be the Confirm changes button and it should not be red.
-
Clicking on the "Confirm changes" button did not do anything other than close the modal.
-
Making a change in the Review stage showed the changes step after it, which I was not able to click on. While in the Review stage, the changes pill should appear before review and be clickable so that you can see who made changes, when and how (i.e. as the Payment creator), and be able to handle multiple.
-
There are some formatting issues with the edit mode, the recipients change to being unverified and the inputs change width, also, is there anyway to make the yellow border coming in not impact the content width?
Read only
Edit mode
-
Confirm details button should be disabled while in edit mode, and while the edit transaction is happening in order to prevent a clash.
-
It seems the changes count and change history is not working fully it seems to only count the amount changes, in the following screenshot I had edited the following, a total of 5 changes but it only shows 2 changes, changes included:
- 1st Row: Amount was changed from 2 to 1, claim delay was changed from 1 to 0.
- 2nd Row: Recipient was changed from amy to leela, amount was changed from 3 to 1, claim delay was changed from 2 to 0.
-
Trying to fund the payment crashed the app with the following error and I could not continue testing any further.
Description
This PR adds the ability to edit actions after the locked state during the Funding, Release steps. Editing in Payment step is not possible for now.
Edit Mode:
Change Payment Modal:
Changes Step in Stepper:
If there is funding needed after editing, new pill should show after changes one
Testing
Design
Resolves #2238