-
Notifications
You must be signed in to change notification settings - Fork 988
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
[#20472] hide account switcher in send flow #20892
Conversation
@@ -22,7 +22,7 @@ | |||
:skip-step? (fn [db] (or (token-selected? db) (collectible-selected? db)))} | |||
{:screen-id :screen/wallet.send-input-amount | |||
:skip-step? (fn [db] | |||
(send-utils/tx-type-collectible? (get-in db [:wallet :ui :send :tx-type])))} | |||
(-> db :wallet :ui :send :tx-type send-utils/tx-type-collectible?))} |
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.
Just small code refactor
Jenkins BuildsClick to see older builds (17)
|
6bfe2a1
to
d61fb49
Compare
d61fb49
to
bf290d1
Compare
bf290d1
to
352c61d
Compare
352c61d
to
7901d3d
Compare
57% of end-end tests have passed
Failed tests (3)Click to expandClass TestWalletMultipleDevice:
Class TestCommunityMultipleDeviceMerged:
Passed tests (4)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestWalletOneDevice:
Class TestCommunityOneDeviceMerged:
|
57% of end-end tests have passed
Failed tests (3)Click to expandClass TestWalletOneDevice:
Class TestWalletMultipleDevice:
Passed tests (4)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
|
Hi @ulisesmac thank you for PR. Take a look at found issue ISSUE 1: "Objects are not valid as a React child" Error Displayed When Attempting to Send Multi-CollectibleSteps:
Actual result:The error "Objects are not valid as a React child" is displayed multicollectible.mp4Expected result:The user should be navigated to the multi-collectible sending screen without errors. Devices:
Logs: |
ISSUE 2: [IOS] Token value and max fee not updated on the routes generation pageSteps:
Actual Result:
assetsdelection.mp4Expected Result:The token value and max fee should update correctly based on the selected token and enabled/disabled networks. Devices:iPhone 11 Pro Max, iOS 17 Logs: |
33% of end-end tests have passed
Failed tests (2)Click to expandClass TestWalletMultipleDevice:
Passed tests (1)Click to expandClass TestWalletOneDevice:
|
Thank you so much for testing this PR! I've checked these issues and I'm able to replicate them on Do these issues block testing/merging this PR? cc: @shivekkhurana |
Hi @ulisesmac, thank you for the update. That's strange -I couldn't reproduce the issue on the nightly build, possibly because it wasn't updated to the latest development yet. However, I can now reproduce it. Apologies for the confusion, the issues are not related to this PR. The PR can be merged |
@ulisesmac I've created issue 1 and issue 2 separately |
1. About unique key in `select-address.tabs.view` along with a refactor 2. The deprecated `:keyboard-should-persist-taps` as `true` in `send.select-address.view`
7901d3d
to
98ab958
Compare
fixes #20472
Important
This PR depends on the work done for:
So please, do the testing after that PR is merged
Summary
This PR hides the account switcher while the user is sending a collectible from any entry point.
Demo for ERC-721 for any entry point:
Screencast.from.2024-07-25.14-28-41.mp4
Demo for ERC-1155 for any entry point:
Screencast.from.2024-07-25.14-31-20.mp4
Additionally, this PR solves an existing bug in develop where the user was unable to pick the collectible amount for ERC-1155 collectibles:
Develop:
bug-develop.mp4
This PR:
solved-in-PR.mp4
Review notes
We should extend and improve the wizard mechanism, checking for something like "the user sending a collectible" has become a task hard to perform, since there are multiple flows depending on re-frame DB values. Depending on designs, we should design a new mechanism.
Testing notes
Please carefully test these flows to make sure nothing is broken, there are many possible cases, they were showed in the Demo videos, but there may be something forgotten.
Platforms
Steps to test
status: ready