Distance request: Allow invalid waypoints#77910
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❌ 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.
|
| // You can save offline waypoints without verifying the address (we will geocode it on the backend) | ||
| // We're going to prevent saving those addresses in the recent waypoints though since they could be invalid addresses | ||
| // However, in the backend once we verify the address, we will save the waypoint in the recent waypoints NVP | ||
| if (!lodashHas(waypoint, 'lat') || !lodashHas(waypoint, 'lng')) { | ||
| return; | ||
| } | ||
|
|
There was a problem hiding this comment.
Currently (on main) this is never reached since lat/lng are always set. I'm removing this block for consistency with current behavior since now lat/lng could be unset.
As for the highlighted problem in the comments, we already save offline waypoints and invalid ones are cleared #48631
|
@Valforte Can you please trigger this flow #77910 (comment) for translations |
🦜 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 (73KB), 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 |
|
@Valforte Please check #77910 (comment) when you get the time |
|
I ran the workflow already, the results are here #77910 (comment) |
|
Oh my bad 😅 Thanks! |
|
Added translations |
|
Waiting for the fixes to ESLint, typescript and conflicts |
|
Should be fixed now |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/Valforte in version: 9.3.5-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.5-7 🚀
|
Explanation of Change
Related PRs:
Fixed Issues
$ #70584
PROPOSAL:
Tests
aeza45648798andeza7e8a998789)Please select a valid addressviolation is displayedPlease select a valid addressviolation is clearedScreen.Recording.2026-01-08.at.11.20.51.PM.mov
Offline tests
Same as 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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari