Ask user to continue GPS trip when reopening the app#79555
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 |
|
|
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@dukenv0307 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] |
|
@trjExpensify please ignore, @AndrewGable will review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d1d1d7987e
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| }, []); | ||
|
|
||
| const navigateToGpsScreen = () => { | ||
| const optimisticReportID = generateReportID(); |
There was a problem hiding this comment.
Could you please update this logic just like what we did in the previous PR?
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-01-22.at.10.12.32.movAndroid: mWeb ChromeiOS: HybridAppScreen.Recording.2026-01-21.at.22.38.10.moviOS: mWeb SafariMacOS: Chrome / Safari |
|
@GCyganek, I see on Android the modal opens along with the splash screen. Should we open it after the app has finished loading? Screen.Recording.2026-01-21.at.22.40.41.mov |
I can take a look and in a moment to see if I can do something easy to fix it now |
|
Updated: Screen.Recording.2026-01-21.at.17.09.07.movScreen.Recording.2026-01-21.at.17.04.57.mov |
trjExpensify
left a comment
There was a problem hiding this comment.
Core PR of a WN project. 👍
869d09c
|
🚀 Deployed to staging by https://github.com/AndrewGable in version: 9.3.10-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.10-6 🚀
|
Explanation of Change
Adds logic that checks if there was an ongoing GPS trip before user closed the app last time. Shows a modal that asks user to Continue/View the trip if needed
Fixed Issues
$ #77222
PROPOSAL: N/A
Tests
Continue trip:
Continue tripView trip:
View tripOffline 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))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.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
Screen.Recording.2026-01-20.at.13.45.48.mov
Screen.Recording.2026-01-20.at.13.46.25.mov
iOS: Native
Screen.Recording.2026-01-20.at.16.34.52.mov
Screen.Recording.2026-01-20.at.16.32.05.mov