-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Fix #17948 - Allow editing of NFT sends #17970
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
98797ec
to
edd9964
Compare
edd9964
to
1fcf96d
Compare
Builds ready [1fcf96d]
Page Load Metrics (1558 ± 75 ms)
Bundle size diffs
|
Codecov Report
@@ Coverage Diff @@
## develop #17970 +/- ##
===========================================
- Coverage 63.45% 63.43% -0.01%
===========================================
Files 903 903
Lines 35263 35270 +7
Branches 8918 8918
===========================================
Hits 22373 22373
- Misses 12890 12897 +7
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
ecc0d37
to
4db8bc0
Compare
4db8bc0
to
82edb63
Compare
Builds ready [82edb63]
Page Load Metrics (1529 ± 58 ms)
Bundle size diffs
|
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.
I don't think we want to allow editing of these transactions if they are coming from a dapp. I'll run this code and test it to see if I can make any suggestions in that regard
Actually, after some testing, I think this is safe |
Explanation
The
Edit
link isn't displaying becauseconfirm-transaction-base.component.js
isn't being provided anonEdit
prop. The problem ultimately is happening becauseui/pages/confirm-transaction/confirm-token-transaction-switch.js
renders aConfirmTokenTransactionBase
by routeCONFIRM_TRANSFER_FROM_PATH
without the onEdit.Screenshots/Screencaps
EditNFTSend.mp4
Manual Testing Steps
NFTS_V1 yarn start
The proper NFT should display on the edit and confirmation screens.
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.