Fix: Flight details show incorrect negative layover time between legs of round trip - #73244
Conversation
| } | ||
|
|
||
| return name.trim(); | ||
| return name?.trim(); |
There was a problem hiding this comment.
App crashes if we do not have name so updated it
|
@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] |
Reviewer Checklist
Screenshots/Videos |
| otherCoinage: [], | ||
| }, | ||
| }, | ||
| fop: { |
There was a problem hiding this comment.
Can we please cut this data down to what is strictly needed in order to test the unit test? This also contains personal information from Alex which shouldn't be committed to the codebase since it is a public repository.
There was a problem hiding this comment.
sorry, i though the data we provide in onyx export is mostly masked, but yeah it may contain some PII, I'll update this in the next commit and trim out or mask any unnecessary or PII data
Co-authored-by: Benjamin Limpich <blimpich@expensify.com>
|
@blimpich i updated the data file with your suggestions |
blimpich
left a comment
There was a problem hiding this comment.
Looks good! Thanks for taking care of this and also for writing a unit test!
|
✋ 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/blimpich in version: 9.2.39-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.2.39-3 🚀
|






Explanation of Change
Fixed Issues
$ #72494 (comment)
PROPOSAL:
Tests
Offline tests
QA Steps
onyx-state.1 (2).txt
r/7939124006765411Denver, CO, United States (DEN) to San Francisco, CA, United States (SFO)Verify that in RHP you do not see any layover time
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
MacOS: Desktop