-
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
[#20513] Fix last mesage overlapped with "join community" button #21370
Conversation
(defn permission-context-sheet | ||
[margin-bottom?] | ||
{:flex 3 ;; Pushes composer to bottom | ||
:margin-bottom (when margin-bottom? permission-context-height)}) |
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.
Moved the margins here to inner paddings, as mentioned in the PR description
(defn header-bottom-container | ||
[bottom top-margin] | ||
(reanimated/apply-animations-to-style | ||
{:bottom bottom} | ||
{:margin-top top-margin})) | ||
|
||
(defn header-bottom-part | ||
[theme] | ||
{:background-color (colors/theme-colors colors/white colors/neutral-95 theme) | ||
:padding-horizontal 20 | ||
:border-radius 20}) | ||
|
||
(defn header-bottom-shadow | ||
[theme] | ||
(assoc | ||
(shadows/get 2 theme :inverted) | ||
:left 0 | ||
:right 0 | ||
:height 40 | ||
:position :absolute | ||
:border-radius 20)) | ||
|
||
(defn header-image | ||
[scale top left theme] | ||
(reanimated/apply-animations-to-style | ||
{:transform [{:scale scale}] | ||
:top top | ||
:left left} | ||
{:position :absolute | ||
:border-width 4 | ||
:border-radius 50 | ||
:background-color (colors/theme-colors colors/white colors/neutral-95 theme) | ||
:border-color (colors/theme-colors colors/white colors/neutral-95 theme)})) | ||
|
||
(defn user-name-container | ||
[top left] | ||
(reanimated/apply-animations-to-style | ||
{:top top | ||
:left left} | ||
{:z-index -1})) | ||
|
||
(def user-name | ||
{:align-items :center | ||
:flex-direction :row | ||
:margin-top 52}) | ||
|
||
(defn bio-and-actions | ||
[top] | ||
(reanimated/apply-animations-to-style | ||
{:top top} | ||
{:row-gap 16})) | ||
|
||
(defn permission-context-sheet | ||
[margin-bottom?] | ||
{:flex 3 ;; Pushes composer to bottom | ||
:margin-bottom (when margin-bottom? permission-context-height)}) |
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.
Removed unused functions, these weren't removed in
So I'm removing them now
Jenkins BuildsClick to see older builds (8)
|
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.
Looks good 👍
2161798
to
b6635c3
Compare
71% of end-end tests have passed
Failed tests (2)Click to expandClass TestCommunityOneDeviceMerged:
Class TestWalletMultipleDevice:
Passed tests (5)Click to expandClass TestCommunityOneDeviceMerged:
Class TestWalletOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestWalletMultipleDevice:
Class TestCommunityMultipleDeviceMerged:
|
@ulisesmac Thanks for your fix. You can merge this PR |
b6635c3
to
ddb42e5
Compare
fixes #20513
Summary
This PR fixes the "join community to post" overlapped.
Fixed on iOS:
Screen.Recording.2024-10-02.at.6.50.24.p.m.mov
Still working on Android:
Screencast.from.2024-10-02.19-12-25.mp4
Review notes
I changed the way we applied the spacing, previously we created a white space behind the "join community to post" drawer, so the blur wasn't properly applied on iOS. If it was increased, the blur wouldn't be noticeable.
The paddings are now applied as part of
:content-container-style
of flat-list.Platforms
Areas that maybe impacted
Please check that these
Still look as expected.
Steps to test
You will need two communities:
1- where the user is joined, and
2- where the user is still not joined.
You can use this one to test the NOT joined case:
https://status.app/c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shjkJRet5c6BEspn9Y4UT4ZCU3LqnAt1rMmoVMuPwJRWCM
status: ready