[CP Staging] Revert "Enable merchant rules"#82248
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9794781a63
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (isProduction) { | ||
| return null; |
There was a problem hiding this comment.
Disable merchant-rule screens in production
This change only removes the MerchantRulesSection entry point in production, but it does not actually disable the merchant-rule flow: the screens are still registered in src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx (e.g., SCREENS.WORKSPACE.RULES_MERCHANT_NEW / ...EDIT), and MerchantRulePageBase has no production guard. In production, anyone with a bookmarked/deep-linked merchant-rule URL can still open create/edit pages and submit rules, so the revert is incomplete.
Useful? React with 👍 / 👎.
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
@mountiny looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Straight revert not emergency |
…Lock [CP Staging] Revert "Enable merchant rules" (cherry picked from commit 844a7cc) (cherry-picked to staging by lakchote)
|
🚧 @mountiny 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. |
|
🚀 Cherry-picked to staging by https://github.com/lakchote in version: 9.3.17-9 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.3.17-9 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/lakchote in version: 9.3.18-0 🚀
|
Reverts #81033
$ #82241
$ #82228
$ #82245
$ #82225