-
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: watch address - select random color #17859
Conversation
Jenkins BuildsClick to see older builds (32)
|
src/status_im2/contexts/wallet/add_address_to_watch/confirm_address/view.cljs
Show resolved
Hide resolved
84% of end-end tests have passed
Failed tests (4)Click to expandClass TestCommunityOneDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityMultipleDeviceMergedTwo:
Expected to fail tests (3)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestGroupChatMultipleDeviceMergedNewUI:
Passed tests (38)Click to expandClass TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestActivityMultipleDevicePR:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestActivityMultipleDevicePRTwo:
|
:offset (* (+ 48 8) index) | ||
:index index}) | ||
|
||
(defn- view-internal | ||
"Options | ||
- `default-selected` Default selected color name. |
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 think it would be helpful to add the description of feng-shui?
option here, wdyt?
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.
feng-shui?
is explained in the todo below that it is a temporary prop until b&w is developed. Currently, it shouldn't be used.
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! 🚀
091c041
to
b4daf0c
Compare
71% of end-end tests have passed
Failed tests (9)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
Expected to fail tests (4)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Passed tests (32)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestActivityMultipleDevicePR:
Class TestActivityMultipleDevicePRTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
|
67% of end-end tests have passed
Failed tests (3)Click to expandClass TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Passed tests (6)Click to expandClass TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
|
@OmarBasem thank you for the PR! Got one question: shouldn't same behaviour be applied also for creating regular account? I see that for some reason only creating watch only account screen was mentioned in the issue. cc @J-Son89 |
Actually you are right, probably a slip up on my side when creating the issue. If it's not added here we can do that as a follow up issue. Whatever you both think is best 👍 |
@J-Son89 thank you for clarification! @OmarBasem it's up to you. Are you okay with implementing same behaviour for creating regular account screen in scope of this PR or prefer to log it separately? |
b4daf0c
to
ffb3c3d
Compare
@pavloburykh thanks for your review. Fixed the issue 👍 |
Thank you @OmarBasem! No issues from my side. PR is ready for merge. |
cdb0f1f
to
927d6c9
Compare
Wallet: randomize color picker
fixes: #17806
This PR implements selecting a random color when adding an address to watch, and centering the color picker on that color. It also implements auto-scroll for the color picker to keep the selected color centered.
Demo:
Screen_Recording_20231109_125953_Status.Debug.mp4