Repository navigation
[Payment due @shubham1206agra] [No QA] Add back removed extra optimistic report next step messages - #104304
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx bun ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
messageKey)
Good catch! I have fixed the order on this. There was a bunch of changes recently and I have just resolved the conflicts, please give this another quick test |
|
@trjExpensify Can you please run this translate workflow again #104304 (comment) |
Done |
🦜 Polyglot Parrot! 🦜Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues: The diff is too large to include in this comment (235KB), so I've created a gist for you: 📋 View the translation diff here 📋 Note You can apply these changes to your branch by copying the patch to your clipboard, then running |
|
@marcochavezf 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] |
|
🎯 @shubham1206agra, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
|
@marcochavezf I was going to merge but I see you assigned to, all yours! |
|
🚧 marcochavezf has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/marcochavezf in version: 9.5.35-0 🚀
|
|
No help site update needed — this PR restores in-app status and error messages for existing report workflows without introducing a new feature or making any existing article inaccurate. |
|
No FullStory changes needed — this PR restores existing report next-step messages for strict-policy violations, workflow errors, and offline states, with supporting refactoring rather than new user-facing functionality. |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.5.35-3 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Payment issue created: #106578 |
Explanation of Change
In #97202 I removed the following optimistic next steps:
This PR adds them back
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/691045
PROPOSAL:
Tests
(Not for QA) - You may need to overwrite some policy values locally to test this properly
Test 1:
Waiting for you to fix the issues. Your admins have restricted submission of expenses with violations.Test 2:
This report can't be submitted. Please review the comments to resolve.Test 3:
This report can't be approved. Please review the comments to resolve.Test 4:
Waiting for you to come back online to determine next steps.Offline tests
n/a
QA Steps
n/a I don't thnik QA can test this
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.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