-
Notifications
You must be signed in to change notification settings - Fork 987
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
Wallet: send token from drawer #18429
Conversation
Jenkins BuildsClick to see older builds (12)
|
@OmarBasem, @briansztamfater - is the mechanics under the hood working as expected for this? 🤔 |
@J-Son89 The flow is the same, except that when going to the send flow from a token's drawer the select asset screen will be skipped as it has already been selected. Maybe to make them consistent, in the default send flow, selecting the token could be done before selecting the destination address. I think other apps do it that way, and it would be consistent with when entering the send flow from a token's drawer. |
> @J-Son89 The flow is the same, except that when going to the send flow from a token's drawer the select asset screen will be skipped as it has already been selected. > Maybe to make them consistent, in the default send flow, selecting the token could be done before selecting the destination address. I think other apps do it that way, and it would be consistent with when entering the send flow from a token's drawer. |
@J-Son89 yes tested them, both paths work the same |
79% of end-end tests have passed
Failed tests (7)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Expected to fail tests (3)Click to expandClass TestCommunityOneDeviceMerged:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestGroupChatMultipleDeviceMergedNewUI:
Passed tests (38)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestDeepLinksOneDevice:
Class TestActivityMultipleDevicePRTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Class TestCommunityMultipleDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
|
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.
Nice work! 🚀
|
||
(rf/reg-event-fx :wallet/clean-selected-token | ||
(fn [{:keys [db]}] | ||
{:db (assoc-in db [:wallet :ui :send :token] nil)})) |
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.
Can we dissoc :token
instead of setting a nil
value?
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.
Nice
Hey @OmarBasem could you resolve the conflicts, please? |
e93a55f
to
e4f6b20
Compare
Done! |
67% of end-end tests have passed
Failed tests (13)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePRTwo:
Expected to fail tests (3)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityOneDeviceMerged:
Passed tests (32)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Class TestActivityMultipleDevicePRTwo:
Class TestDeepLinksOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestGroupChatMultipleDeviceMergedNewUI:
|
92% of end-end tests have passed
Failed tests (1)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Passed tests (12)Click to expandClass TestActivityMultipleDevicePRTwo:
Class TestCommunityMultipleDeviceMerged:
|
Thank you @OmarBasem, PR can be merged! |
e4f6b20
to
1263b57
Compare
1263b57
to
f5d46da
Compare
This PR implements sending a token from the token item drawer.
Demo:
Screen_Recording_20240108_123806_Status.mp4