feat: Hold educational modal for IOU reports.#96210
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 ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
9b917f2 to
ee9574f
Compare
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
Explanation of Change
The hold educational modal was previously bypassed for expenses created from 1:1 DM chats. This change reintroduces that modal for DM expenses, with copy that uses "send" instead of "submit", since DM expenses are sent directly rather than submitted through a report workflow.
Fixed Issues
$ #78130
PROPOSAL:
Tests
- Hold is like hitting 'pause' on an expense until you're ready to send it.
- Held expenses won't be sent until you remove the hold.
- Unhold expenses when you're ready to send them.
Offline tests
Same as test steps
QA Steps
Same as test steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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