[CP Staging] Fix - [Manager McTest] Only Allow Submitting Test Receipt to Manager#59798
Conversation
|
@eVoloshchak 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] |
|
🚧 @grgia has triggered a test app build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
I think we can remove the hoverable color style @JKobrynski |
|
Could you also link #59768 |
| @@ -733,7 +738,7 @@ function MoneyRequestConfirmationList({ | |||
| ...participant, | |||
| isSelected: false, | |||
| isInteractive: !!isCreateExpenseFlow, | |||
|
@grgia hover style removed! |
|
🚧 @grgia has triggered a test app build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
If in the test receipt flow, the back button should just go back to the create expense / scan page |
|
@eVoloshchak Let me review this one because I already took over this project from scratch |
|
@DylanDylann @JKobrynski Please push this one forward with some urgency; this should be treated like an Hourly since it's blocking App deploy. |
|
@jasperhuangg @grgia I fixed the back button thing, I also removed that unnecessary double-negation. Let me know if you need anything else to be done here. Just FYI, if anything comes up, I will be fixing it in ~12 hours as it's already very late in my timezone. |
|
I can review this now as this is blocking deploy, no need for C+ |
|
Tests well on my local dev env |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: 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. |
…7-only-allow-submitting-test-receipt-to-manager [CP Staging] Fix - [Manager McTest] Only Allow Submitting Test Receipt to Manager (cherry picked from commit e6a3e89) (CP triggered by jasperhuangg)
|
🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
| isSelected: false, | ||
| isInteractive: !!isCreateExpenseFlow, | ||
| shouldShowRightIcon: isCreateExpenseFlow, | ||
| isInteractive: isCreateExpenseFlow && !isTestReceipt, |
There was a problem hiding this comment.
This change created a bug. More details - #60649



Explanation of Change
Prevent users from changing recipient if the submitted receipt is a test receipt.
Fixed Issues
$ #59717 #59768
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as Tests section above
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
MacOS: Chrome / Safari
web.mov