-
Notifications
You must be signed in to change notification settings - Fork 984
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
Implement Quo2 Avatar /Wallet Avatar component #17703
Conversation
Jenkins BuildsClick to see older builds (15)
|
src/quo/core.cljs
Outdated
(def user-avatar quo.components.avatars.user-avatar.view/user-avatar) | ||
(def wallet-user-avatar quo.components.avatars.wallet-user-avatar/wallet-user-avatar) | ||
(def user-avatar quo.components.avatars.wallet-user-avatar.view/wallet-user-avatar) |
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.
There's a redefined variable here, is this intended?
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.
fixed
Code looks good in general, but we should make sure we are not breaking other components or screens as there are some usages of |
:text-align :center | ||
:justify-content :center | ||
:align-items :center | ||
:background-color (circle-color customization-color)}) |
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.
btw if you look closely at the designs, you will notice the last variant is not using customization-color - we need to make this the default for when no customization-color
prop is set and this needs to be there for the designs.
b5b6ddb
to
d22ce23
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.
426c608
to
0568f02
Compare
@churik can we run this pr through e2e please? |
hey @tumanov-alex , thanks for the PR! |
84% of end-end tests have passed
Failed tests (4)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Expected to fail tests (3)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Passed tests (38)Click to expandClass TestActivityMultipleDevicePRTwo:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestActivityMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
|
0% of end-end tests have passed
Failed tests (4)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
|
Hey @tumanov-alex, thanks for your work! The only thing I noticed is that an error appears when you clear the video_2023-11-02_16-29-33.mp4 |
0568f02
to
567aa79
Compare
Rewrite docs Use get-initials utility Move wallet-user-avatar to a separate folder (to conform with other adjacent components) Add tests Refactor to reflect conventions Fix lint Fix lint Fix color usage Change "color" to "customization-color" Remove extra props Refactor component properties object Update color usage to comply with the latest conventions Use correct color for circle-color Fix require to follow conventions Fix tests Remove extra code Do refactor Refactor Add new changes Simplify two lines Simplify two lines Move folder into quo Fix paths fix require line Use one letters instead of two for size 24
567aa79
to
d86d6f4
Compare
fixes #16608
Refactor the already existing component
Testing notes