[CP Staging] Fix: Update the condition to correctly display user options on the reject reason screen#86843
Conversation
|
@linhvovan29546 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9dbdb04ac0
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
@truph01 The new change doesn’t show the selection, could you please update the test steps? |
|
@linhvovan29546 I removed this step:
|
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
@linhvovan29546 Could you pull the latest and try again? |
Reviewer Checklist
Screen.Recording.2026-04-01.at.15.20.10.movScreenshots/VideosAndroid: HybridAppN/A – no UI impact Android: mWeb ChromeN/A – no UI impact iOS: HybridAppN/A – no UI impact iOS: mWeb SafariN/A – no UI impact MacOS: Chrome / SafariScreen.Recording.2026-04-01.at.15.20.10.mov |
|
🚧 @lakchote 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! 🧪🧪
|
|
✋ 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: Update the condition to correctly display user options on the reject reason screen (cherry picked from commit 4b7bfb6) (cherry-picked to staging by lakchote)
|
🚀 Cherry-picked to staging by https://github.com/lakchote in version: 9.3.51-2 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed the changes in this PR and the help site articles under SummaryThis PR is a one-line bug fix in Help Site ImpactNo help site changes are required. The relevant articles already describe the reject workflow at the correct level of abstraction:
Neither article documents the specific user options displayed on the reject screen, so this bug fix to the display logic doesn't create any documentation gap. The documented behavior (reject → enters a reason → submitter is notified → expense can be resubmitted) remains accurate. |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.3.51-10 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/lakchote in version: 9.3.52-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required. This PR fixes a single condition in The existing help site article |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.52-9 🚀
|

Explanation of Change
Fixed Issues
$ #86811
$ #86812
PROPOSAL:
Tests
Test 1:
Test 2
Precondition:
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include ""[No QA].""
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, 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.ScrollViewcomponent to make it scrollable when more elements are added to the page.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
Screen.Recording.2026-04-01.at.14.40.05.mov