-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add invoicing to bookOrManageTravel instead of rendering it as a page #81761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@bernhardoj 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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2d00f9c7dd
ℹ️ 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".
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.
|
|
Code coverage has decreased because we removed some of the actual page elements |
| const handleManageTravel = () => { | ||
| // TODO: Show the prevention modal when the beta is enabled | ||
| if (isPreventSpotnanaTravelEnabled) { | ||
| return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The user won't get any UI feedback in this case which is a bad UX, but this is an edge case for admins who are trying to book from here for some reason when they have specifically asked to have travel disabled. I'll improve this later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow-up #81764
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
blimpich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving without C+ review because we know that the travel page has a setting for editing prepending descriptions on expenses that is really needed by a angry customer, so we want to get this in quickly.
|
Assigning new reviewers based off this conversation: https://expensify.slack.com/archives/C05S5EV2JTX/p1770418816265019?thread_ts=1770415610.786929&cid=C05S5EV2JTX |
|
BUG: Link does not work in iOS. 08.02.2026_20.10.55_REC.mp4 |
|
@parasharrajat what email were you using for that testing? I'll try to look at the logs and see what is happening |
|
@parasharrajat I am not able to reproduce (Ignore that I'm missing all images) 2026-02-09_19-25-13.mp4 |

Explanation of Change
https://expensify.slack.com/archives/C9YU7BX5M/p1770402758104859
We were displaying the invoicing section of travel as the entire travel page for users who are on the beta (all of expensify and applause). This resulted in travel being unusable and untestable.
To fix this, I changed the invoicing section to only return the section, and added that to the regular travel page behind a beta.
Fixed Issues
$#81603
PROPOSAL: n/a
Tests
Offline tests
n/a
QA Steps
Existing account on beta
Existing account not on beta
New account
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