You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-07-29] Expense - No padding between report header and action buttons #96563
Version Number: 9.4.41-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:#90403 Email or phone of affected tester (no customers):sdsjodijnsdojsosjio@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Samsung Galaxy S25 FE / Android 16 App Component: Money Requests
Action Performed:
Launch Expensify app.
Go to workspace chat.
Create an expense.
Open the report.
Expected Result:
There will be padding between report header and action buttons.
Actual Result:
There is no padding between report header and action buttons.
Report header avatar touches the Submit button.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Classification: Frontend bug Causing PR: #90403 - "Standardize Expense Report and Expense header with predictable button placement and carousel counter" by @thelullabyy (High confidence) Related Issues: #90366 (the issue #90403 fixed)
Recommendation: ROLL FORWARD (targeted fix)
The regression is a single stray negative top margin (styles.mtn1 = marginTop: -4) that #90403 wrapped around the header action buttons in the narrow (App) layout, pulling the buttons up against the report header. A targeted fix is far safer than reverting this 25-file standardization PR (which also adds the carousel counter, navigation, and tests). Reverting would reintroduce the original header inconsistency from #90366 and risk conflicts with dependent PRs.
Assigned: @thelullabyy (PR author), @JS00001 (approving reviewer), @ShridharGoel (approving reviewer) from PR #90403. Labels: No changes. Kept DeployBlockerCash (App deploy is blocked — this is a frontend App regression). DeployBlocker was not present.
📋 Detailed Analysis
Evidence
The bug is Android App, staging-only, not reproducible on production — consistent with a recently-merged App PR in the current 9.4.41-0 staging deploy (StagingDeployCash Deploy Checklist: New Expensify 2026-07-21 #96534).
The PR diff introduces a new negative-top-margin wrapper <View style={styles.mtn1}> around the action buttons in the narrow layout branch of both headers — exactly the "no padding / avatar touches Submit button" symptom.
Verification
Affected files (still present on main):
src/components/MoneyReportHeader.tsx:162-170 — action buttons wrapped in <View style={styles.mtn1}> when !shouldShowHeaderButtonsInHeaderRow (the narrow/App path).
src/components/MoneyRequestHeader.tsx:197-204 — same styles.mtn1 wrapper when shouldDisplayButtonsInSeparateLine.
src/components/MoneyReportHeaderMoreContent.tsx:104 — styles.mtn1 also added to the status/more-content row.
gh pr view 90403 --json files confirms all three components are in the PR's changed file list, and gh pr diff 90403 shows the + <View style={styles.mtn1}> additions wrapping MoneyReportHeaderActions / MoneyRequestHeaderActions.
Root Cause
When the header buttons render on a separate line (narrow/App layout), #90403 wrapped the action-buttons row in a container with marginTop: -4. This negative offset pulls the buttons up into the report header, eliminating the intended gap so the header avatar visually touches the Submit button. On wider layouts the buttons render inside the header row, so the offset is not applied — which is why this only surfaces on the App (narrow) layout.
Suggested targeted fix
Remove (or reduce) the styles.mtn1 negative margin on the narrow-layout action-button wrappers in MoneyReportHeader.tsx and MoneyRequestHeader.tsx (and re-check MoneyReportHeaderMoreContent.tsx) so the intended spacing between the header and the action buttons is preserved. The author/reviewers should confirm the wide-layout (RHP/landscape) spacing that mtn1 was originally tuning still looks correct after the change.
changed the title [-]Expense - No padding between report header and action buttons[/-][+][Due for payment 2026-07-29] Expense - No padding between report header and action buttons[/+]on Jul 22, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.41-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@thelullabyy The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]
@thelullabyy The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]
Activity
applause-bot commentedon Jul 21, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/40653940cdb718308dedcf0de8ca73499d667ad610f2f625ed0005efecad2721
melvin-bot commentedon Jul 21, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #90403
melvin-bot commentedon Jul 21, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jul 21, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
MelvinBot commentedon Jul 21, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #90403 - "Standardize Expense Report and Expense header with predictable button placement and carousel counter" by @thelullabyy (High confidence)
Related Issues: #90366 (the issue #90403 fixed)
Recommendation: ROLL FORWARD (targeted fix)
The regression is a single stray negative top margin (
styles.mtn1=marginTop: -4) that #90403 wrapped around the header action buttons in the narrow (App) layout, pulling the buttons up against the report header. A targeted fix is far safer than reverting this 25-file standardization PR (which also adds the carousel counter, navigation, and tests). Reverting would reintroduce the original header inconsistency from #90366 and risk conflicts with dependent PRs.Assigned: @thelullabyy (PR author), @JS00001 (approving reviewer), @ShridharGoel (approving reviewer) from PR #90403.
Labels: No changes. Kept
DeployBlockerCash(App deploy is blocked — this is a frontend App regression).DeployBlockerwas not present.📋 Detailed Analysis
Evidence
9.4.41-0staging deploy (StagingDeployCash Deploy Checklist: New Expensify 2026-07-21 #96534).MoneyReportHeader.tsx,MoneyRequestHeader.tsx, andMoneyReportHeaderMoreContent.tsx(spot-checked other release header-adjacent PRs [No QA] Docs updates for E/A#96351 correct Certinia PSA/SRP install link #96360/Show inline Explain link on integration sync failure messages #96424/docs: link scheduler delegate patch to PR #93878 #96445/Fix: Magic code expired page - 'request one here' does nothing in a fresh tab #96502 etc. — none touch these files).<View style={styles.mtn1}>around the action buttons in the narrow layout branch of both headers — exactly the "no padding / avatar touches Submit button" symptom.Verification
Affected files (still present on
main):src/components/MoneyReportHeader.tsx:162-170— action buttons wrapped in<View style={styles.mtn1}>when!shouldShowHeaderButtonsInHeaderRow(the narrow/App path).src/components/MoneyRequestHeader.tsx:197-204— samestyles.mtn1wrapper whenshouldDisplayButtonsInSeparateLine.src/components/MoneyReportHeaderMoreContent.tsx:104—styles.mtn1also added to the status/more-content row.The negative margin resolves to:
gh pr view 90403 --json filesconfirms all three components are in the PR's changed file list, andgh pr diff 90403shows the+ <View style={styles.mtn1}>additions wrappingMoneyReportHeaderActions/MoneyRequestHeaderActions.Root Cause
When the header buttons render on a separate line (narrow/App layout), #90403 wrapped the action-buttons row in a container with
marginTop: -4. This negative offset pulls the buttons up into the report header, eliminating the intended gap so the header avatar visually touches the Submit button. On wider layouts the buttons render inside the header row, so the offset is not applied — which is why this only surfaces on the App (narrow) layout.Suggested targeted fix
Remove (or reduce) the
styles.mtn1negative margin on the narrow-layout action-button wrappers inMoneyReportHeader.tsxandMoneyRequestHeader.tsx(and re-checkMoneyReportHeaderMoreContent.tsx) so the intended spacing between the header and the action buttons is preserved. The author/reviewers should confirm the wide-layout (RHP/landscape) spacing thatmtn1was originally tuning still looks correct after the change.melvin-bot commentedon Jul 21, 2026
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
3 remaining items
[-]Expense - No padding between report header and action buttons[/-][+][Due for payment 2026-07-29] Expense - No padding between report header and action buttons[/+]melvin-bot commentedon Jul 22, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 22, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.41-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-07-29. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 22, 2026
@thelullabyy The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]
melvin-bot commentedon Jul 22, 2026
@thelullabyy The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]