adding travel-terms url to olddot public urls const#76860
Conversation
|
@abzokhattab 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] |
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
Hi @ahmedelshaikh20 great work! .. the changes looks good to me ... Just small changes on the PR description: since the testing steps in this bug are the same in Tests, QA, and Offline Tests sections , let’s fill in only the Tests section and for the others we can write “same as Tests” to make it cleaner and more concise. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-12-08.at.15.51.41.movAndroid: mWeb ChromeScreen.Recording.2025-12-08.at.15.52.19.moviOS: HybridAppScreen.Recording.2025-12-08.at.15.49.21.moviOS: mWeb SafariScreen.Recording.2025-12-08.at.15.50.05.movMacOS: Chrome / SafariScreen.Recording.2025-12-08.at.15.47.22.mov |
|
filling the checklist today. @ahmedelshaikh20 can you please check this comment #76860 (comment) .. just confirming that this bug will not appear with other urls in the future. |
|
Sure will check it. |
|
@abzokhattab everything is working well |
JmillsExpensify
left a comment
There was a problem hiding this comment.
Approved from product
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
✋ 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/neil-marcellini in version: 9.2.78-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.2.78-8 🚀
|

Explanation of Change
The Book Travel “Link terms & conditions” URL (
/travelterms) was being treated as a protected OldDot route instead of a public one, which caused the browser to briefly open the travel terms page and then redirect to the login screen.I added the missing Travel Terms URL to
CONST.OLD_DOT_PUBLIC_URLSso that the link is recognized as public and opened viaopenExternalLink, keeping the user on the terms page as expected.Fixed Issues
$ #75499
PROPOSAL: #75499 (comment)
Tests
Prerequisities : Enable all betas
Offline tests
same
QA Steps
same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick).src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)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
Fix_TravelTerm.webm
Android: mWeb Chrome
Android_Chrome_Test.webm
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2025-12-04.at.22.47.03.mp4
iOS: mWeb Safari
IOS_SAFARI_TEST.mp4
MacOS: Chrome / Safari
ChromeRecord.mov