Updated 2026-05-13: Revised per aimane-chnaif's direction — clarified button behavior by role.
Product Change: Always show green "Submit" when report is ready to submit
Slack thread: https://expensify.slack.com/archives/C07HPDRELLD/p1777764861688339
Requirements
- LHN: Remove red
Fix RBR entirely. When a report is ready to submit, always show a green Submit GBR/badge — whether or not there are violations.
- Report preview button by role:
- Submitter always sees a green
Submit button
- Everyone else (approver, admin, etc.) sees a gray
View button
Relevant Code
OptionRowLHN.tsx:105 — Badge text gated behind !isProduction; needs to always show "Submit" GBR when ready
reportAttributes.ts:283-303 — Brick road status and action badge assignment; violation-based RBR should not produce red "Fix"
ReportUtils.ts:9140-9215 — getViolatingReportIDForRBRInLHN — drives the violation-based red indicator
SubmitActionButton.tsx:60-73 — Submit button success prop controlled by isWaitingForSubmissionFromCurrentUser; should always be true (green) when the report is submittable, regardless of violations
ReportPreviewActionUtils.ts:65 — canSubmit check; should only return true for the submitter (not manager or admin)
Report: https://new.expensify.com/e/4127904458237660
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022054659423900286541
- Upwork Job ID: 2054659423900286541
- Last Price Increase: 2026-05-13
Issue Owner
Current Issue Owner: @mallenexpensify
Updated 2026-05-13: Revised per
aimane-chnaif's direction — clarified button behavior by role.Product Change: Always show green "Submit" when report is ready to submit
Slack thread: https://expensify.slack.com/archives/C07HPDRELLD/p1777764861688339
Requirements
FixRBR entirely. When a report is ready to submit, always show a greenSubmitGBR/badge — whether or not there are violations.SubmitbuttonViewbuttonRelevant Code
OptionRowLHN.tsx:105— Badge text gated behind!isProduction; needs to always show "Submit" GBR when readyreportAttributes.ts:283-303— Brick road status and action badge assignment; violation-based RBR should not produce red "Fix"ReportUtils.ts:9140-9215—getViolatingReportIDForRBRInLHN— drives the violation-based red indicatorSubmitActionButton.tsx:60-73— Submit buttonsuccessprop controlled byisWaitingForSubmissionFromCurrentUser; should always betrue(green) when the report is submittable, regardless of violationsReportPreviewActionUtils.ts:65—canSubmitcheck; should only return true for the submitter (not manager or admin)Report: https://new.expensify.com/e/4127904458237660
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensify