Repository navigation
[CP Staging + Prod]Prevent Home page crashes from missing rail passenger IDs - #102646
Conversation
|
🚧 rlinoz has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
@QichenZhu 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] |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…crash Prevent Home page crashes from missing rail passenger IDs (cherry picked from commit 4948138) (cherry-picked to staging by mountiny)
|
🚧 rlinoz has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.4.97-3 🚀
|
|
No help site update is needed: this PR is a crash fix for incomplete rail passenger IDs, and it doesn't change any feature, label, or workflow that a help article describes. |
…crash Prevent Home page crashes from missing rail passenger IDs (cherry picked from commit 4948138) (cherry-picked to production by mountiny)
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.4.98-0 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.4.99-0 🚀
|
|
No help site update is needed: this PR is a crash fix for incomplete rail passenger IDs, and it doesn't change any feature, label, or workflow that a help article describes. The changed files are the same as when I last checked, so my earlier answer still applies. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.4.99-2 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.5.0-0 🚀
|
|
No help site update is needed: this PR is a crash fix that adds optional chaining for missing rail passenger IDs, so the Home page loads as users expect, and no article sentence becomes incorrect. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.5.0-5 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Prevent incomplete rail passenger IDs from crashing the Home page's Upcoming travel section. Guard both nested ID objects and make them optional in the rail passenger type. Reservations remain available without traveler details when the ID is absent.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/686616
Tests
Local validation:
Offline tests
QA Steps
Use test bookings; do not modify a production customer's booking data.
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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
Not tested; manual QA pending. No visual changes.
Android: mWeb Chrome
Not tested; manual QA pending. No visual changes.
iOS: Native
Not tested; manual QA pending. No visual changes.
iOS: mWeb Safari
Not tested; manual QA pending. No visual changes.
MacOS: Chrome / Safari
Not tested; manual QA pending. No visual changes.