[CP Staging] Fix missing per diem subtitle on Android by re-adding flexRow wrapper#95164
Conversation
…Android Co-authored-by: Cristi Paval <cristipaval@users.noreply.github.com>
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
🤖 I looked into the failing checks — there's no code fix needed here. The only genuinely failing check is
This one can only be resolved by a human checking the boxes in the PR description (and filling in the Next step: |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🤖 Re-checked now that everything settled. The failing builds are not caused by this PR — no fix to push here. Two checks are red:
Everything else passes (Bun tests, all 8 Next step: |
|
🤖 Update: the Evidence:
The other failing check remains Recommended next step: re-run the failed iOS build job (run 28583258269); it should pass on a clean cache. I won't push a code change since nothing in the code is broken. |
|
🤖 The only failing check now is
Why it's flaky/unrelated
All other checks pass (Bun tests, all 8 |
|
Flaky as noted above |
|
🚧 mountiny 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. |
[CP Staging] Fix missing per diem subtitle on Android by re-adding flexRow wrapper (cherry picked from commit 6d42a39) (cherry-picked to staging by cristipaval)
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Cherry-picked to staging by https://github.com/cristipaval in version: 9.4.26-2 🚀
|
Help site review — no changes requiredI reviewed the changes in this PR against Expensify's help site files under Conclusion: No help site updates are needed. Why: This PR is a one-line CSS layout fix. It re-adds
Because there's no change to documented product behavior or terminology, no draft docs PR was created. @cristipaval, there's no linked help site PR to review since no docs changes were required. If you believe the Per Diem help content should be updated regardless, let me know and I'll draft one. |
|
🚀 Cherry-picked to staging by https://github.com/cristipaval in version: 9.4.27-1 🚀
|
|
🤖 I reviewed the changes in this PR against the help site content under No help site changes are required. This PR is a one-line rendering fix: it re-adds Since nothing about the documented Per Diem behavior changes, there's nothing to update in the help site articles, so I did not create a draft docs PR. @cristipaval, there is no linked help site PR to review since no docs changes are required. If you believe a docs update is warranted, let me know what behavior should be documented and I'll create one. |
|
🚀 Deployed to production by https://github.com/grgia in version: 9.4.27-2 🚀
Bundle Size Analysis (Sentry): |


Explanation of Change
On Android (native), the per diem subtitle "Set per diem rates to control daily employee spend. Learn more." stopped rendering above the search field on Workspace Settings → Per Diem. This was a regression from #94912, which migrated the page to the new
Tablecomponent and droppedstyles.flexRowfrom the subtitle wrapperView.The subtitle is rendered with
RenderHTML(it contains the "Learn more" link, so it can't be a plain<Text>). On Android native,react-native-render-htmlcollapses to zero height when its wrappingViewis a flex column; it needs a flex row container to lay out. The pre-migration code wrapped it inflexRow, and the siblingWorkspaceTagsPage— which did the identical migration — kept itsflexRowwrapper and renders correctly.This change re-adds
styles.flexRowto the subtitle wrapperView, matching the workingWorkspaceTagsPagepattern. One-line change; no behavior change on web/iOS.Fixed Issues
$ #95092
PROPOSAL: #95092 (comment)
Tests
Offline tests
Same as tests.
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, 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.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
iOS: mWeb Safari
MacOS: Chrome / Safari