Fix Selection button is shown below the header in expense report in landscape mode - #91183
Conversation
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@truph01 all yours |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good for product
|
@truph01 just in case you missed it, no rush |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-05-27.at.16.37.05.movScreen.Recording.2026-05-27.at.16.47.01.movAndroid: mWeb ChromeiOS: HybridAppScreen.Recording.2026-05-27.at.16.42.19.movScreen.Recording.2026-05-27.at.16.46.11.moviOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-05-27.at.17.06.49.mov |
|
Bug 1: The dropdown button briefly appears at the top of the screen before moving to the correct position. Screen.Recording.2026-05-27.at.17.08.25.mov |
You can see on main that it works the same there: Screen.Recording.2026-05-27.at.19.54.20.movIt's because |
|
@GCyganek can you merge main please? seems like an action is stuck |
Done |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.3.91-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 No help site changes required. This PR is a visual layout fix plus a code refactor — it does not change any feature, workflow, setting, or label, so nothing under Why no docs update is neededWhat changed:
Why the help site is unaffected:
A search of Since no docs change was needed, there is no linked help site PR to review or mark |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.3.94-0 🚀
Bundle Size Analysis (Sentry): |
Help site review — no changes requiredI reviewed the changes in this PR against the help site articles under Why: This PR is a code refactor plus a visual/layout fix:
There are no changes to product features, workflows, settings, labels, or capabilities. The help site documents what users can do (e.g. selecting and acting on expenses in a report), not the orientation-specific pixel layout of the selection toolbar — so the existing articles remain accurate. The I searched the docs for selection-mode / "select all" / landscape content and found only unrelated articles (card reconciliation, spending insights) that use "select all" generically; none describe this toolbar's layout. Since no docs changes are required, I have not created a draft help site PR. @GCyganek, if you believe a specific help article should reflect this behavior, let me know which one and I'll draft the update. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.3.94-0 🚀
|
Explanation of Change
Refactored
SelectionToolbarinto a folder with sub-components (SelectAllCheckbox,SelectionDropdown) and fixed the selection toolbar layout in landscape mode, where the dropdown and checkbox now render side-by-side.Fixed Issues
$ #90282
PROPOSAL: N/A
Tests
Select allcheckbox and selection dropdown are displayed in the same row below the header, checkbox on the left and dropdown on the rightOffline tests
N/A
QA Steps
Same as tests
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))npm run compress-svg)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
Android: Native
Screen.Recording.2026-05-20.at.14.52.11.mov
Android: mWeb Chrome
iOS: Native
Screen.Recording.2026-05-20.at.14.55.58.mov
iOS: mWeb Safari
MacOS: Chrome / Safari