feat: Add Auto-Submit educational modal and add beta for auto-submit feature#63893
feat: Add Auto-Submit educational modal and add beta for auto-submit feature#63893Beamanator merged 17 commits intoExpensify:mainfrom
Conversation
- Add AutoSubmitModal component with proper styling and structure - Update navigation to use FeatureTrainingModalNavigator - Add translations for English and Spanish - Add necessary constants and keys - Update permissions - Clean up unused files and types - Fix modal styling to match design specs
|
@akinwale this is ready for review just demo videos remaining i'll finish it in sometime but that should not block your review. you can start, Thanks! |
|
cc @Beamanator |
| autoSubmitModal: { | ||
| title: 'Envío Automático de Gastos', | ||
| description: 'Envío Automático de Gastos ayuda a ahorrar tiempo enviando tus gastos por ti.', | ||
| submittedExpensesTitle: 'Gastos Enviados', | ||
| submittedExpensesDescription: 'Gastos que han sido enviados automáticamente por ti.', | ||
| pendingExpensesTitle: 'Gastos Pendientes', | ||
| pendingExpensesDescription: 'Gastos en espera de ser enviados automáticamente.', | ||
| }, |
|
@ishpaul777 Code looks good so far. Please fix the lint errors. |
|
typescript failing on main also, rest all done! @akinwale |
|
@ishpaul777 When I click on the Got it button with the checkbox not displayed initially, the checkbox flickers for a brief moment before the modal is dismissed. This shouldn't be happening. 63893-web.mp4 |
|
@ishpaul777 The TypeScript error has been fixed on the latest main, so please merge with that as well. |
fixed Screen.Recording.2025-06-12.at.6.51.37.PM.mov |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppiOS: HybridAppMacOS: Chrome / Safari63893-web.mp4MacOS: Desktop63893-desktop.mp4 |
Beamanator
left a comment
There was a problem hiding this comment.
Looking great except the comment styles above NVP_DISMISSED_INSTANT_SUBMIT_EXPLANATION 🙏
|
@Beamanator done! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
| canUseLinkPreviews, | ||
| isBlockedFromSpotnanaTravel, | ||
| isBetaEnabled, | ||
| canUseAutoSubmit, |
There was a problem hiding this comment.
This is the wrong way to add beta. We should be using isBetaEnabled for this. Can you please create a followup pr to fix it.
There was a problem hiding this comment.
Thanks for catching that, i'll include fix in a incoming PR for project, its currently unused and will be till the next PR
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 9.1.67-0 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.1.67-2 🚀
|


Explanation of Change
Fixed Issues
$ #63195
PROPOSAL:
Tests
/auto-submitverify this modal appears, without "do not show again" checkbox/auto-submitverify this modal appears, with "do not show again" checkbox/auto-submitverify this modal appears without checkboxOffline tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2025-06-11.at.9.51.58.PM.mov
MacOS: Desktop
Screen.Recording.2025-06-12.at.1.49.52.AM.mov