Add policy?.autoReporting check to correct "is instant submit enabled" function#38563
Conversation
…SubmitIfScheduledSubmitEnabled
…SubmitIfScheduledSubmitEnabled
policy?.autoReporting check for correct "is instant submit enabled" functionpolicy?.autoReporting check to correct "is instant submit enabled" function
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-03-22.at.09.58.24.movMacOS: Desktop |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 1.4.56-0 🚀
|
|
@Beamanator Could you help us with this step?
|
|
I just confirmed that the policy's |
|
@Beamanator can we ignore step 2 and validate the rest of the steps? |
|
@kavimuru - sorry for the delay, actually I can test this right now in staging 🙏 |
|
Yeah this is working well on staging! woohoo!! |
|
@Beamanator Thank you! I will check it off. |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.56-8 🚀
|
Details
Fixed Issues
$ Related to https://github.com/Expensify/Expensify/issues/378897
Tests
autoReportingsetting is stilltrue, we need to fix that in a backend PR 😅autoReportingsetting is stilltrue, log out / in and make sure it is nowfalseSubmitbuttonOffline tests
Steps 3 - 5 can be done offline, but not steps 1 and 2
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Screen.Recording.2024-03-22.at.11.19.26.AM.mov
MacOS: Desktop