-
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
[#20500] Fix derived accounts #20536
Conversation
:padding-bottom 8 | ||
:border-color (cond | ||
(and selected? blur?) colors/white | ||
selected? (colors/resolve-color customization-color theme) | ||
blur? colors/white-opa-5 | ||
:else (colors/theme-colors colors/neutral-10 | ||
colors/neutral-80 | ||
theme))} |
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 a refactor from 2 if
s -> cond
{:style (style/container (assoc props | ||
:selected? selected? | ||
:container-style container-style | ||
:theme theme)) |
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 a refactor from merge
-> assoc
@@ -231,7 +231,7 @@ | |||
{:account-color @account-color | |||
:slide-button-props {:on-auth-success on-auth-success | |||
:disabled? (or (empty? @account-name) | |||
(= "" @derivation-path) | |||
(string/blank? @derivation-path) |
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 making the code more robust
Jenkins BuildsClick to see older builds (5)
|
3cadd7d
to
8b46c4c
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.
Nice work! @ulisesmac 🙌
@@ -105,8 +105,7 @@ | |||
[quo/bottom-actions | |||
{:actions :one-action | |||
:button-one-label (i18n/label :t/confirm-account-origin) | |||
:button-one-props {:disabled? (= selected-keypair selected-key-uid) |
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.
👍
@@ -217,6 +216,7 @@ | |||
[:wallet/derive-address-and-add-account | |||
{:password password | |||
:derived-from-address derived-from | |||
:key-uid key-uid | |||
:derivation-path @derivation-path | |||
:account-preferences preferences}]))) | |||
[derived-from])] |
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.
Should we add key-uid
to the deps?
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.
Yeah, I'll add it 👍
set-sliding-complete | ||
on-complete | ||
reset-fn)) | ||
[sliding-complete? disabled? on-complete])] |
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 is actually interesting 🤔
8b46c4c
to
1cfe2b8
Compare
84% of end-end tests have passed
Failed tests (4)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestWalletMultipleDevice:
Class TestCommunityOneDeviceMerged:
Expected to fail tests (4)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestWalletOneDevice:
Passed tests (43)Click to expandClass TestCommunityOneDeviceMerged:
Class TestDeepLinksOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestActivityMultipleDevicePRTwo:
Class TestActivityMultipleDevicePR:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestWalletOneDevice:
|
Great job @ulisesmac! * please don't forget to rebase PRs before moving them to e2e, thanks! 😉🙏 |
1cfe2b8
to
4c226b3
Compare
73% of end-end tests have passed
Failed tests (11)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestWalletMultipleDevice:
Class TestCommunityMultipleDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Expected to fail tests (3)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Class TestWalletOneDevice:
Passed tests (37)Click to expandClass TestDeepLinksOneDevice:
Class TestWalletOneDevice:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Class TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestActivityMultipleDevicePRTwo:
|
:pointer-events :box-only} | ||
[rn/view {:style style/header-container} |
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.
Hey @ulisesmac 👋
Do we need pointer-events :box-only
here? I think this piece of code is causing an issue when we have a button embedded inside the key-pair component. For example, the pointer events won't reach the button and the on-press callback won't be called.
fixes #20500
fixes #20437
Summary
This PR fixes this error:
01-failure.webm
Fixed in this PR:
00-success-attempt.webm
Review notes
Explanation of the issue that happened:
Platforms
Steps to test
Please check the video above
status: ready