[CP Staging] Put the reject money request flow behind a beta#70579
[CP Staging] Put the reject money request flow behind a beta#70579
Conversation
|
@MarioExpensify 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
…equest [CP Staging] Put the reject money request flow behind a beta (cherry picked from commit f824cbf) (cherry-picked to staging by lakchote)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/lakchote in version: 9.2.14-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.2.14-7 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/lakchote in version: 9.2.15-0 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.2.15-15 🚀
|

Explanation of Change
On HOLD until QA has done all their tests to identify bugs.
Context: https://expensify.slack.com/archives/C01GTK53T8Q/p1757950510790829?thread_ts=1757943373.718019&cid=C01GTK53T8Q
canRejectReportAction()is called several times to show the report action. We now put it behind a beta.Here:
App/src/libs/ReportSecondaryActionUtils.ts
Line 670 in b315370
Also here:
App/src/libs/ReportSecondaryActionUtils.ts
Line 755 in b315370
Fixed Issues
$
PROPOSAL:
Tests
Prerequisites:
Submitter:
Create a new report with an expense and submit it
Approver:
Rejectoption is not shownOffline tests
QA Steps
Same as in tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
MacOS: Desktop