Repository navigation
[cp staging] Fix Select all label stacking below the checkbox in Search selection mode - #105599
Conversation
The wrapper View added around SearchSelectAllMenu defaulted to a column, stacking the checkbox and its Select all label on narrow layouts.
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@Krishna2323 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] |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Reviewing... |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safariweb_chrome.mp4android_hybrid.mp4 |
|
🚧 JS00001 has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
…ct-all-label-layout Fix Select all label stacking below the checkbox in Search selection mode (cherry picked from commit 9408992) (cherry-picked to staging by Beamanator)
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.5.27-2 🚀
|
|
No help site update needed. This PR is a one-line layout fix that moves the "Select all" label back next to the header checkbox on narrow layouts, so the app now looks the way users already expect and no help article sentence became incorrect. |
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.5.27-2 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
#105128 wrapped
SearchSelectAllMenuin aViewinSelectionTopBar. That menu returns a Fragment with the checkbox and the "Select all" label as siblings, so the plainViewstacked them in a column. The label only renders on narrow layouts (no column header), which is why only narrow broke. The wrapper is now a centred row, which restores the old layout.Fixed Issues
$ #105559
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.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
Android: mWeb Chrome
iOS: Native
Before:
105559-before-ios.mp4
After:
105559-after-ios.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
Narrow (400px) before:
Narrow (400px) after:
Wide after (unchanged):