-
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
Update contact screen to new design #15526
Conversation
Jenkins BuildsClick to see older builds (28)
|
This pr looks good. A side point to this section of the codebase however. To me the |
Thanks for reviewing @J-Son89! I'm happy to move it wherever we think it should be. There were some discussions regarding its location here and here. |
okay, seems like you should leave it for now and we need to open up a discussion on defining what a "context" is. |
Sounds good @J-Son89! I agree it would be an improvement to reduce confusion regarding contexts, albeit a low-priority one. If you're interested, there was a bit more discussion regarding contexts here and here. And the discussion here takes a stab at reasoning about the dimensions along which we organize the codebase, contexts being one of them. |
11fab1f
to
690cd6a
Compare
@@ -5,7 +5,6 @@ | |||
[react-native.core :as rn] |
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.
Hi @erikseppanen, this screen should use bottom-sheet-screen #15399
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.
done
690cd6a
to
827b48b
Compare
(reset! clipboard nil) | ||
(reset! default-value nil) | ||
(rf/dispatch [:contacts/clear-new-identity]) | ||
(rf/dispatch [:navigate-back]))}) :i/close] |
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.
close
parameter from bottom-sheet-screen
should be used to navigate back, because it executes an animation to the background layer
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 @OmarBasem! Done.
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.
@erikseppanen there is a recent commit into develop that simplifies the API for bottom sheet screen. You don't need to wrap the component. You just need to pass :options {:sheet? true}
in navigation options.
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 @OmarBasem! Done
827b48b
to
7562207
Compare
7562207
to
49de27b
Compare
49de27b
to
4c46fb9
Compare
4c46fb9
to
d695c1e
Compare
Hi @erikseppanen, |
Hi @OmarBasem It's ready for QA. I'll rebase now. |
d695c1e
to
29280f5
Compare
33% of end-end tests have passed
Not executed tests (26)Failed tests (2)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Passed tests (1)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
|
93% of end-end tests have passed
Failed tests (2)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Passed tests (27)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestCommunityOneDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestActivityMultipleDevicePR:
Class TestGroupChatMultipleDeviceMergedNewUI:
|
Thanks for your work @erikseppanen! |
29280f5
to
ae9c5aa
Compare
fixes #15240
status: ready