Repository navigation
Add travel billing feed selector - #99527
Conversation
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.
|
|
@NicolasBonet 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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b96a6ce4f6
ℹ️ 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".
| if (accessibleTravelFeeds.length > 0) { | ||
| Navigation.navigate(createDynamicRoute(DYNAMIC_ROUTES.WORKSPACE_TRAVEL_BILLING_SELECT_FEED.path, ROUTES.WORKSPACE_TRAVEL.getRoute(policyID))); | ||
| return; | ||
| } |
There was a problem hiding this comment.
Should we auto select if there is a single one?
There was a problem hiding this comment.
mirrored the card picker here, it always opens even for a single one so the admin still sees what they're joining. wdyt?
|
Agreed, the picker needs more explanation |
|
Can we also get a video of the full flow of the picker? How the user goes from the travel settings page to initiating the travel billing feed selector command, and what it looks like after they've selected it? |
|
discussing on slack https://expensify.slack.com/archives/C05S5EV2JTX/p1788460636413859 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
Failing GH actions for some reason? |
|
May need to merge main? |
|
bump @allgandalf can you merge main? |
|
done, can you check now ? |
|
I could not review this diff, so I did not approve the workflow runs. An Expensify employee will review it and approve them manually. |
|
🚧 blimpich 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! 🧪🧪
|
|
Hey @allgandalf. Is expensifail account a domain that already has a Consolidated Travel Billing feed? |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.4.75-0 🚀
|
|
🤖 Yes — a help site change is required. Draft PR: #100749 This PR adds a second path through Consolidated Travel Billing setup that the help site doesn't describe. What the docs PR changes (one file, no other article mentions the setup flow):
UI label verification and guidelines appliedI drove the web app to check labels. Confirmed live: the workspace settings row Travel, and the Travel toggle under the Spend section of More features. Not confirmed live: Applied @allgandalf, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.75-3 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.75-3 🚀
Bundle Size Analysis (Sentry): |

Explanation of Change
Lets a workspace join an existing travel feed on the domain instead of provisioning its own, like Expensify Cards do.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/662524
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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