Skip to content

[Payment due @truph01] Support travel type and travel platform filters in search queries - #105437

Open
blimpich wants to merge 49 commits into
mainfrom
blimpich-travelSearchFilters
Open

blimpich wants to merge 49 commits into
mainfrom
blimpich-travelSearchFilters

Conversation

@blimpich

@blimpich blimpich commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

Lets people find travel expenses on the Spend page by travel type (flight, hotel, car rental, rail, hotel block) and travel platform (Expensify Travel, Amex GBT/Egencia, SAP Concur, Navan, FCM, Flight Centre, Serko, CTM, BCD Travel, Perk, or other). Both appear in the Filters menu with "is" and "is not" options, and can be typed in the search bar as travel-type: and travel-platform:, where the suggestions list each value by name and a value typed in any case still matches. Platforms match the values Expensify/Auth#26975 stores. Violation suggestions now use the same shared suggestion logic, with no change in what they show.

Note: this PR looks much bigger than it actually is. You can ignore all the .js file changes as those are build files.

Fixed Issues

For https://github.com/Expensify/Expensify/issues/705233
PROPOSAL:

Tests

  • Verify that no errors appear in the JS console

Offline tests

QA Steps

Precondition: save the five receipts below. Use a staging account that's a member of a Collect or Control workspace.

Receipts

navan-flight.png
navan-flight.png

amex-gbt-hotel.png
amex-gbt-hotel.png

hertz-car.png
hertz-car.png

amtrak-train.png
amtrak-train.png

staples-office-supplies.png
staples-office-supplies.png

  1. Go to https://staging.new.expensify.com
  2. Scan each of the five receipts as an expense on the workspace
  3. Wait until SmartScan finishes, then wait 5 more minutes for the travel details to be saved
  4. Click the magnifying glass at the top right and type type:expense travel-type:. Run every search below from the magnifying glass, not the Expenses page's own search box
  5. Verify the suggestions list Flight, Hotel, Car rental, Rail and Hotel block
  6. Finish the query as type:expense travel-type:flight and press Enter
  7. Verify only the Navan expense is shown and the filter chip reads "Travel type: Flight"
  8. Search type:expense travel-type:car
  9. Verify only the Hertz expense is shown and the filter chip reads "Travel type: Car rental"
  10. Search type:expense travel-type:train
  11. Verify only the Amtrak expense is shown and the filter chip reads "Travel type: Rail"
  12. Search type:expense -travel-type:flight
  13. Verify the other four expenses are shown and the Navan expense is not
  14. Type type:expense travel-platform: in the search
  15. Verify the suggestions list the platforms by name, including "Amex GBT/Egencia" and "Navan"
  16. Finish the query as type:expense travel-platform:navan and press Enter
  17. Verify only the Navan expense is shown and the filter chip reads "Travel platform: Navan"
  18. Search type:expense travel-platform:amexgbt, typed in lowercase
  19. Verify only the Amex GBT expense is shown and the filter chip reads "Travel platform: Amex GBT/Egencia"
  20. Search type:expense travel-platform:other
  21. Verify only the Hertz and Amtrak expenses are shown
  22. Clear the search, click Filters and verify the list has Travel type and Travel platform
  23. Open Travel type and tick Hotel
  24. Verify only the Amex GBT expense is shown
  25. Verify the Staples expense only appeared in the -travel-type:flight search
  • Verify that no errors appear in the JS console

Screenshots/Videos

MacOS: Chrome / Safari

Search filtered to flight bookings
Search filtered to flight bookings

Search filtered to Expensify Travel bookings
Search filtered to Expensify Travel bookings

Travel type options in Filters
Travel type options in Filters

Travel platform options in Filters
Travel platform options in Filters

Travel type suggestions in the search bar
Travel type suggestions in the search bar

Travel platform suggestions in the search bar
Travel platform suggestions in the search bar

– written by Claude on Ben's behalf

@github-actions

Copy link
Copy Markdown
Contributor

It looks like this PR adds a search filter or column. Please double check the following:

  • The filter is available in the Search filters dropdown and returns the expected results.
  • The filter has a matching column that can be shown through Display > Edit columns.
  • The column can be sorted by clicking its header.
  • Export > Current view includes the column in the exported CSV.

@OSBotify

This comment has been minimized.

…Filters

# Conflicts:
#	src/CONST/index.ts
#	src/components/Search/FilterComponents/ListFilterContent.tsx
#	src/hooks/useAdvancedSearchFilters.ts
#	src/hooks/useAutocompleteSuggestions.ts
#	src/libs/SearchAutocompleteUtils.ts
#	src/libs/SearchParser/autocompleteParser.js
#	src/libs/SearchParser/autocompleteParser.peggy
#	src/libs/SearchParser/searchParser.js
#	src/libs/SearchParser/searchParser.peggy
#	src/libs/SearchQueryUtils.ts
#	src/libs/SearchUIUtils.ts
#	src/types/form/SearchAdvancedFiltersForm.ts
@blimpich
blimpich added this pull request to stack #107313 November 18, 2026 21:32
@blimpich blimpich changed the title [HOLD] Add travel type and travel platform search filters [HOLD] Support travel type and travel platform filters in search queries Nov 18, 2026
@OSBotify

This comment has been minimized.

@blimpich

blimpich commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

@flaviadefaria @flodnv ignore the pings. Going to get a C+ to review and test this first.

@blimpich
blimpich requested a review from truph01 December 3, 2026 01:36
@truph01

truph01 commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified that the composer does not automatically focus or open the keyboard on mobile unless explicitly intended. This includes checking that returning the app from the background does not unexpectedly open the keyboard.
  • I verified tests pass on all platforms & I tested again on:
    • Android: HybridApp
    • Android: mWeb Chrome
    • iOS: HybridApp
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained """"why"""" the code was doing something instead of only explaining """"what"""" the code was doing.
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified that this PR follows the guidelines as stated in the Review Guidelines
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • For any bug fix or new feature in this PR, I verified that sufficient unit tests are included to prevent regressions in this flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: HybridApp 01-step5-travel-type-flight-Navan-only 02-step7-travel-type-hotel-AmexGBT-only 05-step13-not-travel-type-flight-no-Navan 06-step15-travel-platform-navan-chip-Navan 07-step17-travel-platform-amexGBT-chip-Amex-GBT-Egencia 08-step19-20-travel-platform-other-Hertz-Amtrak
Android: mWeb Chrome 01-step5-travel-type-flight-Navan-only 02-step7-travel-type-hotel-AmexGBT-only 03-step9-travel-type-car-Hertz-chip-Car-rental 04-step11-travel-type-train-Amtrak-chip-Rail 05-step13-not-travel-type-flight-no-Navan 06-step15-travel-platform-navan-chip-Navan 07-step17-travel-platform-amexGBT-chip-Amex-GBT-Egencia 08-step19-20-travel-platform-other-Hertz-Amtrak
iOS: HybridApp 01-step5-travel-type-flight-Navan-only 02-step7-travel-type-hotel-AmexGBT-only 03-step9-travel-type-car-Hertz-chip-Car-rental 04-step11-travel-type-train-Amtrak-chip-Rail 05-step13-not-travel-type-flight-no-Navan 06-step15-travel-platform-navan-chip-Navan 07-step17-travel-platform-amexGBT-chip-Amex-GBT-Egencia 08-step19-20-travel-platform-other-Hertz-Amtrak
iOS: mWeb Safari 01-step5-travel-type-flight-Navan-only 02-step7-travel-type-hotel-AmexGBT-only 03-step9-travel-type-car-Hertz-chip-Car-rental 04-step11-travel-type-train-Amtrak-chip-Rail 05-step13-not-travel-type-flight-no-Navan 06-step15-travel-platform-navan-chip-Navan 07-step17-travel-platform-amexGBT-chip-Amex-GBT-Egencia 08-step19-20-travel-platform-other-Hertz-Amtrak
MacOS: Chrome / Safari 01-step5-travel-type-flight-Navan-only 02-step7-travel-type-hotel-AmexGBT-only 03-step9-travel-type-car-Hertz-chip-Car-rental 04-step11-travel-type-train-Amtrak-chip-Rail 05-step13-not-travel-type-flight-no-Navan 06-step15-travel-platform-navan-chip-Navan 07-step17-travel-platform-amexGBT-chip-Amex-GBT-Egencia 08-step19-20-travel-platform-other-Hertz-Amtrak

Comment thread src/CONST/index.ts Resolved
Comment thread src/libs/SearchAutocompleteUtils.ts Resolved
Comment thread src/libs/SearchQueryUtils.ts Resolved
@blimpich
blimpich removed this pull request from stack #107313 December 3, 2026 18:02
@blimpich
blimpich added this pull request to stack #108829 December 3, 2026 18:02
…Filters

# Conflicts:
#	src/libs/SearchAutocompleteUtils.ts
#	src/libs/SearchParser/autocompleteParser.js
#	src/libs/SearchParser/searchParser.js
@OSBotify

OSBotify commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

🦜 Polyglot Parrot! 🦜

Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues:

View the translation diff
diff --git a/src/languages/de.ts b/src/languages/de.ts
index 782ee4dc..6ad99106 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -11723,7 +11723,7 @@ Fügen Sie weitere Ausgabelimits hinzu, um den Cashflow Ihres Unternehmens zu sc
                 [CONST.SEARCH.TRAVEL_TYPE.FLIGHT]: 'Flug',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL]: 'Hotel',
                 [CONST.SEARCH.TRAVEL_TYPE.CAR]: 'Mietwagen',
-                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Schiene',
+                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Bahn',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: 'Hotelkontingent',
             },
             travelPlatform: {
@@ -11733,7 +11733,7 @@ Fügen Sie weitere Ausgabelimits hinzu, um den Cashflow Ihres Unternehmens zu sc
                 [CONST.SEARCH.TRAVEL_PLATFORM.CONCUR]: 'SAP Concur',
                 [CONST.SEARCH.TRAVEL_PLATFORM.NAVAN]: 'Navan',
                 [CONST.SEARCH.TRAVEL_PLATFORM.FCM]: 'FCM',
-                [CONST.SEARCH.TRAVEL_PLATFORM.FLIGHT_CENTRE]: 'Flugzentrum',
+                [CONST.SEARCH.TRAVEL_PLATFORM.FLIGHT_CENTRE]: 'Flight Centre',
                 [CONST.SEARCH.TRAVEL_PLATFORM.SERKO]: 'Serko',
                 [CONST.SEARCH.TRAVEL_PLATFORM.CTM]: 'CTM',
                 [CONST.SEARCH.TRAVEL_PLATFORM.BCD_TRAVEL]: 'BCD Travel',
diff --git a/src/languages/el.ts b/src/languages/el.ts
index 46330c7d..9206f9e0 100644
--- a/src/languages/el.ts
+++ b/src/languages/el.ts
@@ -11936,8 +11936,8 @@ ${reportName}`,
                 [CONST.SEARCH.TRAVEL_TYPE.FLIGHT]: 'Πτήση',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL]: 'Ξενοδοχείο',
                 [CONST.SEARCH.TRAVEL_TYPE.CAR]: 'Ενοικίαση αυτοκινήτου',
-                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Οδηγός',
-                [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: 'Δεσμευμένο μπλοκ δωματίων ξενοδοχείου',
+                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Σιδηρόδρομος',
+                [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: 'Δέσμευση δωματίων ξενοδοχείου',
             },
             travelPlatform: {
                 label: 'Πλατφόρμα ταξιδιών',
diff --git a/src/languages/es.ts b/src/languages/es.ts
index 87609914..8c48fc42 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -11655,8 +11655,8 @@ ${reportName}`,
                 [CONST.SEARCH.TRAVEL_TYPE.FLIGHT]: 'Vuelo',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL]: 'Hotel',
                 [CONST.SEARCH.TRAVEL_TYPE.CAR]: 'Alquiler de coche',
-                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Rail',
-                [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: 'Bloque de habitaciones',
+                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Línea',
+                [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: 'Bloque de habitaciones de hotel',
             },
             travelPlatform: {
                 label: 'Plataforma de viajes',
@@ -11669,7 +11669,7 @@ ${reportName}`,
                 [CONST.SEARCH.TRAVEL_PLATFORM.SERKO]: 'Serko',
                 [CONST.SEARCH.TRAVEL_PLATFORM.CTM]: 'CTM',
                 [CONST.SEARCH.TRAVEL_PLATFORM.BCD_TRAVEL]: 'BCD Travel',
-                [CONST.SEARCH.TRAVEL_PLATFORM.PERK]: 'Ventaja',
+                [CONST.SEARCH.TRAVEL_PLATFORM.PERK]: 'Beneficio',
                 [CONST.SEARCH.TRAVEL_PLATFORM.OTHER]: 'Otro',
             },
         },
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index 9d1b9d0c..67c452b1 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -11753,7 +11753,7 @@ Ajoutez davantage de règles de dépenses pour protéger la trésorerie de l’e
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL]: 'Hôtel',
                 [CONST.SEARCH.TRAVEL_TYPE.CAR]: 'Location de voiture',
                 [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Rail',
-                [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: 'Bloc de chambres d’hôtel',
+                [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: "Bloc de chambres d'hôtel",
             },
             travelPlatform: {
                 label: 'Plateforme de voyage',
@@ -11762,7 +11762,7 @@ Ajoutez davantage de règles de dépenses pour protéger la trésorerie de l’e
                 [CONST.SEARCH.TRAVEL_PLATFORM.CONCUR]: 'SAP Concur',
                 [CONST.SEARCH.TRAVEL_PLATFORM.NAVAN]: 'Navan',
                 [CONST.SEARCH.TRAVEL_PLATFORM.FCM]: 'FCM',
-                [CONST.SEARCH.TRAVEL_PLATFORM.FLIGHT_CENTRE]: 'Centre de voyages',
+                [CONST.SEARCH.TRAVEL_PLATFORM.FLIGHT_CENTRE]: 'Flight Centre',
                 [CONST.SEARCH.TRAVEL_PLATFORM.SERKO]: 'Serko',
                 [CONST.SEARCH.TRAVEL_PLATFORM.CTM]: 'CTM',
                 [CONST.SEARCH.TRAVEL_PLATFORM.BCD_TRAVEL]: 'BCD Travel',
diff --git a/src/languages/it.ts b/src/languages/it.ts
index 41b65a31..726f3d95 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -11667,7 +11667,7 @@ Aggiungi altre regole di spesa per proteggere il flusso di cassa aziendale.`,
                 [CONST.SEARCH.TRAVEL_TYPE.FLIGHT]: 'Volo',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL]: 'Hotel',
                 [CONST.SEARCH.TRAVEL_TYPE.CAR]: 'Noleggio auto',
-                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Binario',
+                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Treno',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: 'Blocco hotel',
             },
             travelPlatform: {
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index 5e3caf38..9c482675 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -11482,16 +11482,16 @@ ${reportName}`,
             noFiltersSelected: 'フィルターが選択されていません',
             anySubmission: 'すべての申請',
             travelType: {
-                label: '出張の種類',
+                label: '出張タイプ',
                 [CONST.SEARCH.TRAVEL_TYPE.FLIGHT]: 'フライト',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL]: 'ホテル',
                 [CONST.SEARCH.TRAVEL_TYPE.CAR]: 'レンタカー',
-                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'レール',
+                [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: '鉄道',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: 'ホテルブロック',
             },
             travelPlatform: {
-                label: '出張プラットフォーム',
-                [CONST.SEARCH.TRAVEL_PLATFORM.EXPENSIFY_TRAVEL]: 'Expensify Travel',
+                label: 'トラベルプラットフォーム',
+                [CONST.SEARCH.TRAVEL_PLATFORM.EXPENSIFY_TRAVEL]: 'Expensify トラベル',
                 [CONST.SEARCH.TRAVEL_PLATFORM.AMEX_GBT]: 'Amex GBT/Egencia',
                 [CONST.SEARCH.TRAVEL_PLATFORM.CONCUR]: 'SAP Concur',
                 [CONST.SEARCH.TRAVEL_PLATFORM.NAVAN]: 'Navan',
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index fb59640d..9476c30f 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -11652,7 +11652,7 @@ er bestedingsregels toe om de kasstroom van het bedrijf te beschermen.`,
                 [CONST.SEARCH.TRAVEL_PLATFORM.SERKO]: 'Serko',
                 [CONST.SEARCH.TRAVEL_PLATFORM.CTM]: 'CTM',
                 [CONST.SEARCH.TRAVEL_PLATFORM.BCD_TRAVEL]: 'BCD Travel',
-                [CONST.SEARCH.TRAVEL_PLATFORM.PERK]: 'Extra voordeel',
+                [CONST.SEARCH.TRAVEL_PLATFORM.PERK]: 'Voordeel',
                 [CONST.SEARCH.TRAVEL_PLATFORM.OTHER]: 'Overig',
             },
         },
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index 93cee4f1..c8c5737e 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -11725,10 +11725,10 @@ Dodaj więcej zasad wydatków, żeby chronić płynność finansową firmy.`,
             noFiltersSelected: 'Nie wybrano filtrów',
             anySubmission: 'Dowolne zgłoszenie',
             travelType: {
-                label: 'Typ podróży',
+                label: 'Rodzaj podróży',
                 [CONST.SEARCH.TRAVEL_TYPE.FLIGHT]: 'Lot',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL]: 'Hotel',
-                [CONST.SEARCH.TRAVEL_TYPE.CAR]: 'Wypożyczenie samochodu',
+                [CONST.SEARCH.TRAVEL_TYPE.CAR]: 'Wynajem samochodu',
                 [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: 'Kolej',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: 'Blok hotelowy',
             },
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index 0268bfb9..07f3e21b 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -11187,9 +11187,9 @@ ${reportName}`,
                 label: '出行类型',
                 [CONST.SEARCH.TRAVEL_TYPE.FLIGHT]: '航班',
                 [CONST.SEARCH.TRAVEL_TYPE.HOTEL]: '酒店',
-                [CONST.SEARCH.TRAVEL_TYPE.CAR]: '租车',
+                [CONST.SEARCH.TRAVEL_TYPE.CAR]: '汽车租赁',
                 [CONST.SEARCH.TRAVEL_TYPE.TRAIN]: '铁路',
-                [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: '酒店房源预留',
+                [CONST.SEARCH.TRAVEL_TYPE.HOTEL_BLOCK]: '酒店房间预留配额',
             },
             travelPlatform: {
                 label: '差旅平台',

Note

You can apply these changes to your branch by copying the patch to your clipboard, then running pbpaste | git apply 😉

View workflow run

@expensify-chore-bot

Copy link
Copy Markdown

@Beamanator 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]

@melvin-bot melvin-bot Bot changed the title Support travel type and travel platform filters in search queries [Payment due @truph01] Support travel type and travel platform filters in search queries Dec 3, 2026
@melvin-bot

melvin-bot Bot commented Dec 3, 2026

Copy link
Copy Markdown

🎯 @truph01, thanks for reviewing and testing this PR! 🎉

A payment issue will be created for your review once this PR is deployed to production.
E/E issue linked to the PR - no internal issue.

If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created.

@blimpich
blimpich requested review from stitesExpensify and removed request for Beamanator December 3, 2026 19:40
@truph01

truph01 commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

@blimpich Could you merge main to see whether the perf issue is fixed?

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

🚧 blimpich has triggered a test Expensify/App build. You can view the workflow run here.

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants