-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix popover menu position for three dots menu and settlement button #24013
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
Conversation
| <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.
| 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 |
situchan
left a comment
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
8pxbetween 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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.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