Repository navigation
Fix uneven spacing between the Date and Report fields on the expense form - #103366
Conversation
…orms Co-authored-by: truph01 <truph01@users.noreply.github.com>
|
I created this PR from an upstream branch since I don't have push access to your fork. To take ownership of this branch and be able to push updates, run: Then you can close this PR and open a new one from your fork. |
|
🤖 Web test steps verification results: On the Manual expense form, the gap below Date looks the same as the other row gaps, with no enlarged gap. I couldn't measure the exact pixel gap or read the JS console on web, so those two steps are visual and indirect checks only.
|
|
@MelvinBot Merge main and mark this PR as ready |
…ieldSpacing Co-authored-by: truph01 <truph01@users.noreply.github.com>
|
I merged
|
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. |
|
The failing check is unrelated to this PR, so I didn't push a fix. Analysis: Evidence
Next step: re-run the failed job. If it still fails, the report-selection tests are broken or flaky on main and need a separate fix. |
|
The failing What to do: re-run the failed job from the run page. I tried, but I don't have permission to re-run jobs in this environment. Evidence the test is flaky
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-10-13.at.15.27.37.movMacOS: Chrome / SafariScreen.Recording.2026-10-13.at.15.13.59.mov |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #102791 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
@MelvinBot Fill out the QA test section in your checklist |
|
The failing check is still unrelated to this PR, so I didn't push a fix. Re-running the failed job should clear it. Analysis: Evidence
Next step: re-run the failed job here. I don't have permission to trigger re-runs from this session. If the test keeps failing across PRs, it needs a separate fix on main. |
|
I filled out the QA Steps section in the PR description. The steps cover:
I left the Tests section and the author checklist for you to complete, because they record testing you ran yourself. |
|
@MelvinBot Update QA tests to: |
|
I updated the QA Steps in the PR description to:
I kept the "Verify that no errors appear in the JS console" checkbox. I removed the old Scan, Distance, Per diem, Time, and invoice steps. |
garrettmknight
left a comment
There was a problem hiding this comment.
Looks good from a product perspective.
|
@jasperhuangg All yours |
|
🚧 jasperhuangg 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/jasperhuangg in version: 9.5.15-1 🚀
|
|
No help site update is needed. This PR only reduces the spacing below the Date field on the expense forms, a visual fix that doesn't change any feature, label, or step described in the help articles. |
|
🚀 Deployed to production by https://github.com/grgia in version: 9.5.15-3 🚀
Bundle Size Analysis (Sentry): |




Explanation of Change
On the bordered expense forms (Manual, Scan, Distance, Per Diem, Time), the gap between the Date field and the next row was 24px instead of 16px.
DatePickeralready adds 8px of vertical margin, and each borderedExpenseFieldRowadds its own 8px. The Date wrapper's extramb2added a third 8px.This change drops the wrapper's
mb2only whenshouldUseDropdownRowsis true. The invoice form still uses rows without margins, so it keeps themb2and its spacing doesn't change.This re-lands the
DateFieldhalf of #102640, which was reverted. The revert was caused by that PR'sScanFooterchange (the To-to-receipt gap jumping after "Show more"). This PR doesn't touchScanFooter.Fixed Issues
$ #102791
PROPOSAL:
Tests
// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review"
// Please describe what tests you performed that validates your changed worked.
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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