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
Refactor some quo2 components to use best practices #16817
Conversation
Jenkins BuildsClick to see older builds (24)
|
@@ -13,20 +15,17 @@ | |||
|
|||
;; TODO: this implementation does not support group display picture (can only display default group | |||
;; icon). | |||
(defn group-avatar | |||
(defn view-internal |
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.
missing private method declaration defn-
@@ -6,7 +6,7 @@ | |||
[react-native.core :as rn] | |||
[utils.number])) | |||
|
|||
(defn step-internal | |||
(defn view-internal |
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.
defn-
:notification-up 2 | ||
:search-with-label 8 | ||
:search 6 | ||
:scroll-to-bottom 6) |
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.
Better have a fallback to nil
in case
.
ad45dbc
to
92152ff
Compare
92152ff
to
9177ee0
Compare
78% of end-end tests have passed
Failed tests (9)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestCommunityOneDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestActivityMultipleDevicePR:
Passed tests (32)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
|
Hi @J-Son89 thank you for PR. Take a look a found issue: ISSUE 1: UI for 'Jump to' button is brokenSteps:
Actual result:UI for 'Jump to' button is broken Expected result:The collor for 'Jump to' corresponds to the selected color of the use |
@J-Son89 I've observed that this issue persists in the latest nightly build. If the current scope of the PR refactor includes addressing this issue, kindly make the necessary fixes. If not, I'm prepared to create a separate issue. Thank you! ISSUE 2: [Andorid] The scroll button remains visible after reopening a chatSteps to Reproduce:
Actual Result:Upon reopening the chat, the previously visible scroll button remains present even when the chat is opened in a manner that doesn't allow for scrolling downward. https://www.dropbox.com/scl/fi/wvm8oyjya6y7is9z0fg6x/scroll.mp4?rlkey=kkihxrdf2pzvj4yghidif8zv7&dl=0 Expected Result:The scroll button should be hidden when the chat is reopened since the chat is displayed in a mode where scrolling down is not feasible. Device:real device: Pixel 7a, Android 13 |
Hi @VolodLytvynenko - sure I can take a look at both of these. Will let you know! |
2cbbd46
to
938752e
Compare
83% of end-end tests have passed
Failed tests (7)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityOneDeviceMerged:
Class TestCommunityMultipleDeviceMerged:
Passed tests (34)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestActivityMultipleDevicePR:
|
938752e
to
9baf340
Compare
Hi @J-Son89 indeed, issue 1 is resolved after rebase. One additional issue related to jump to is found: ISSUE 3: 'Jump To' Button Appearance Inconsistent Between Light and Dark ThemesSteps to Reproduce:
Actual Result:The 'Jump To' button is displayed with dark shades on the light theme and with a light appearance on the dark theme Expected Result:The 'Jump To' button is displayed with light shades on the light theme and with a dark appearance on the dark theme ENVs:
|
9baf340
to
057a31d
Compare
apologies @VolodLytvynenko - should be addressed now 👍 |
88% of end-end tests have passed
Failed tests (5)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityOneDeviceMerged:
Passed tests (36)Click to expandClass TestActivityMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestGroupChatMultipleDeviceMergedNewUI:
|
@J-Son89 thank you for your work. PR is tested and ready to be merged |
057a31d
to
f30e5c6
Compare
Updated a few quo2 components to use
view
as their exported name,to use style and view namespaces and to wrap some components in
with-theme
context HOC.To test - see pages using
tabs
,dynamic-button
andgroup tag
,banner
andstep
There should really be minimal changes here as it's all just internal refactoring to code formatting more than anything else