[Desktop Navigation] Fix UI issues related to LHB #60493
[Desktop Navigation] Fix UI issues related to LHB #60493mountiny merged 3 commits intoExpensify:mainfrom
Conversation
|
@dukenv0307 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Videos / screenshots are looking good to me 👍 |
|
Yup samesies here |
Reviewer Checklist
Screenshots/VideosiOS: mWeb SafariScreen.Recording.2025-04-18.at.23.49.52.movMacOS: Chrome / SafariScreen.Recording.2025-04-18.at.23.46.57.movMacOS: DesktopScreen.Recording.2025-04-18.at.23.52.52.mov |
mountiny
left a comment
There was a problem hiding this comment.
Looks good, thanks for a quick fix and @dukenv0307 for a quick review. Only NAB comments that can be addressed in some other PR
| anchorPosition={styles.createMenuPositionReportActionCompose(shouldUseNarrowLayout, windowHeight, windowWidth)} | ||
| anchorPosition={ | ||
| canUseLeftHandBar | ||
| ? styles.createMenuPositionReportActionComposeWhenLhbIsVisible(shouldUseNarrowLayout, windowHeight, windowWidth) |
There was a problem hiding this comment.
NAB: The shortcuts in names should be uppercase
| ? styles.createMenuPositionReportActionComposeWhenLhbIsVisible(shouldUseNarrowLayout, windowHeight, windowWidth) | |
| ? styles.createMenuPositionReportActionComposeWhenLHBIsVisible(shouldUseNarrowLayout, windowHeight, windowWidth) |
| } satisfies AnchorPosition), | ||
|
|
||
| // @TODO: When canUseLeftHandBar beta is no longer needed, rename it to createMenuPositionReportActionCompose and remove the above function | ||
| createMenuPositionReportActionComposeWhenLhbIsVisible: (shouldUseNarrowLayout: boolean, windowHeight: number, windowWidth: number) => |
There was a problem hiding this comment.
| createMenuPositionReportActionComposeWhenLhbIsVisible: (shouldUseNarrowLayout: boolean, windowHeight: number, windowWidth: number) => | |
| createMenuPositionReportActionComposeWhenLHBIsVisible: (shouldUseNarrowLayout: boolean, windowHeight: number, windowWidth: number) => |
|
✋ 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/mountiny in version: 9.1.31-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.1.31-3 🚀
|



Explanation of Change
This PR fixes UI issues resulting from the merge of this PR #60024
Fixed Issues
$ #60376
$ #60392
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
MacOS: Chrome / Safari
MacOS: Desktop
Screen.Recording.2025-04-18.at.14.45.02.mov