-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix popover menu position for three dots menu and settlement button #24013
Fix popover menu position for three dots menu and settlement button #24013
Conversation
@@ -67,7 +67,6 @@ function MoneyReportHeader(props) { | |||
<HeaderWithBackButton | |||
shouldShowAvatarWithDisplay | |||
shouldShowPinButton={false} | |||
shouldShowThreeDotsButton={false} |
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.
This was being passed unnecessarily so I removed it.
@@ -41,10 +41,6 @@ function HeaderWithBackButton({ | |||
subtitle = '', | |||
title = '', | |||
titleColor = undefined, | |||
threeDotsAnchorAlignment = { |
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.
Three Dots Menu is shown in HeaderWithBackButton
only in MoneyRequestHeader
and WorkspaceInitialPage
and none of them override this since the three dots menu is at top and menu always opens below it. To verify search for - shouldShowThreeDotsButton
or threeDotsMenuItems
.
To test App/src/components/SettlementButton.js Lines 106 to 107 in 9dc5f19
|
Hey @situchan, PR is ready for review. |
Code looks good. Thanks for the detailed comments per each change. |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
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.
LGTM
@Julesssss all yours
Hey @Julesssss, friendly bump here. |
Hey @situchan @Julesssss, there was a minor merge conflict here but it was not related at all to this feature - See the changes in the latest merge commit to verify yourself. I have still verified that the feature works as expected after the latest merge - Screen.Recording.2023-08-06.at.11.48.56.PM.movScreen.Recording.2023-08-06.at.11.49.36.PM.mov |
I was away on Thursday/Friday |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.51-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.51-2 🚀
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.52-0 🚀
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.52-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.52-5 🚀
|
Details
Fixed Issues
$ #23140
PROPOSAL: #23140 (comment)
Tests
8px
between the button and menu. For this menu to be visible, currency should be USD and you should have permissions to use the wallet.For task header menu position -
Offline tests
Same as above.
QA Steps
Same as above.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
23140_web1.mov
23140_web2.mov
Mobile Web - Chrome
23140_mchrome1.mov
23140_mchrome2.mov
Mobile Web - Safari
23140_msafari1.mov
23140_msafari2.mov
Desktop
23140_desktop1.mov
23140_desktop2.mov
iOS
23140_ios1.mov
23140_ios2.mov
Android
23140_android1.mov
23140_android2.mov