[CP Stag] Put spend rule summary and editing behind env guard#88663
[CP Stag] Put spend rule summary and editing behind env guard#88663luacmartins merged 2 commits intomainfrom
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
🚧 @luacmartins 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 Stag] Put spend rule summary and editing behind env guard (cherry picked from commit ede2cc5) (cherry-picked to staging by luacmartins)
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.3.62-1 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.3.62-5 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required. This PR hides the spend rules feature from production behind an environment guard — since the feature isn't available to production users and there are no existing help site articles referencing spend rules, no documentation updates are needed. |
|
@luacmartins No QA steps, OK to checkoff this one? |
|
@m-natarajan yes, I checked it off. |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.3.64-0 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Puts the spend rule summary and edit spend rule buttons behind an environment guard since the feature is still not available in production
Fixed Issues
$ #88650
$ #88649
$ #88648
Tests
N/A we'll still have the same issues above, but they won't be available to customers
Offline tests
N/A
QA Steps
N/A
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))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