-
Notifications
You must be signed in to change notification settings - Fork 986
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
chore(wallet): some minor cleanups, move sheets to appropriate level,… #18895
Conversation
@@ -47,13 +47,6 @@ | |||
(update-in [:wallet :ui :send] dissoc :route) | |||
(update-in [:wallet :ui :send] dissoc :loading-suggested-routes?))})) | |||
|
|||
(rf/reg-event-fx :wallet/select-send-account-address |
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.
this event was unused
44c4fae
to
4ed6d81
Compare
(rf/reg-event-fx :wallet/clean-send-address | ||
(fn [{:keys [db]}] | ||
{:db (update-in db [:wallet :ui :send] dissoc :recipient :to-address)})) | ||
|
||
(rf/reg-event-fx | ||
:wallet/select-send-address | ||
(fn [{:keys [db]} [{:keys [address token recipient stack-id]}]] |
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.
a minor detail to this api to make it more readable, previously it looked as though we are using all of the token details in this endpoint
Jenkins BuildsClick to see older builds (8)
|
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.
Thanks for this PR! 👍 👍
79% of end-end tests have passed
Failed tests (9)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
Expected to fail tests (1)Click to expandClass TestCommunityOneDeviceMerged:
Passed tests (38)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityMultipleDevicePR:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestDeepLinksOneDevice:
Class TestCommunityOneDeviceMerged:
Class TestActivityMultipleDevicePRTwo:
Class TestCommunityMultipleDeviceMerged:
|
hey @J-Son89 could you please rebase the current PR and resolve conflicts? thank you |
… remove unused rf event, improve one rf event api
1acfd31
to
1403ed4
Compare
@VolodLytvynenko - done! |
88% of end-end tests have passed
Failed tests (5)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestGroupChatMultipleDeviceMergedNewUI:
Expected to fail tests (1)Click to expandClass TestCommunityOneDeviceMerged:
Passed tests (42)Click to expandClass TestActivityMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePRTwo:
Class TestDeepLinksOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
|
Hi @J-Son89 thank you for PR. no issues from my side. Ready to be merged |
This pr is just a few small refactors.
I have:
moved the bottom sheets files in the wallet from
status-im.contexts.wallet.common.sheets.*
tostatus-im.contexts.wallet.sheets.*
This should make no difference to anything and will not need to be test.
removed the rf event
:wallet/select-send-account-address
as it is unused. - so this won't have any effect here.I also made a minor adjustment to the api of the rf event
wallet/select-send-address
to read a bit easier.This could do with a happy path testing of the send flows for an asset and a token, however the changes are quite small and should be quite "safe"