Drop URN-prefixed station codes from rail trip display#92003
Conversation
|
@aimane-chnaif 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] |
|
ignore the ping @situchan |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a769c88771
ℹ️ 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".
…des don't render as empty parens
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
stitesExpensify
left a comment
There was a problem hiding this comment.
One question/request
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @stitesExpensify has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.3.90-0 🚀
Bundle Size Analysis (Sentry): |
Help site review: No changes requiredI reviewed this PR against the help site articles under Why: This is a display-only bug fix. It hides internal Articles checked
No published article shows or promises the Because no documentation change is needed, I did not open a help site draft PR — so there is no linked PR to mark @blimpich, please confirm you agree no help site update is warranted here. If you think an article should document the rail trip display behavior (and is currently missing it), reply with |
|
Hi @blimpich. Can you please check this internally, as QA team cannot find UK destinations for the rail trip No.UK.mp4 |
|
Yup @IuliiaHerets we'll ask the person who reported it to confirm 👍 Feel free to check off |
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.3.90-3 🚀
|
Explanation of Change
Rail trips booked through Trainline were showing internal URN identifiers next to each station name in the trip summary (e.g.
Brockenhurst (urn:trainline:public:nloc:at000416) to London Waterloo (urn:trainline:public:nloc:at001690)). With this change those identifiers are hidden, so trips display cleanly asBrockenhurst to London Waterloo. Amtrak rail (which sends a clean 3-letter station code) is unaffected.– written by Claude on Ben's behalf
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/642112
PROPOSAL:
Tests
Offline tests
QA Steps
Brockenhurst to London Waterloo— with nourn:trainline:public:...text in parentheses next to either station.<Origin> to <Destination>with no empty parentheses and no URN text.London Paddington) — no empty parentheses, no URN text.Solana Beach station (SOL) to Santa Ana station (SNA).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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari