Repository navigation
Keep same-named export templates distinct in Search - #107374
Beamanator merged 23 commits into
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.
|
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e3c9b0164f
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
It looks like this PR adds a search filter or column. Please double check the following:
|
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5665faa770
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…inguish-export-templates # Conflicts: # src/libs/SearchParser/autocompleteParser.js # src/libs/SearchParser/searchParser.js
…inguish-export-templates # Conflicts: # src/libs/SearchParser/autocompleteParser.js # src/libs/SearchParser/baseRules.peggy # src/libs/SearchParser/searchParser.js
|
@ikevin127 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: ba601231f7
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4e4e0b6d85
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: de23ba3de3
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safaripr107374-ctest.mp4 |
There was a problem hiding this comment.
Requesting changes, non-blocker that should still be addressed: untranslated screen reader labels. The other comments are NABs.
@ishpaul777 Is the backend exportedToTemplate change live already ? I'm assuming yes since this FE PR was opend for review.
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx bun ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
The backend PR was merged when I opened this, but only went live in ~12 hours ago. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 34e7b726ca
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…inguish-export-templates # Conflicts: # tests/unit/Search/ExpenseGroupedSearchViewSplitTest.tsx
ikevin127
left a comment
There was a problem hiding this comment.
Requesting changes, one blocker: Tests step 2 still says the screen reader distinguishes exported-to:NetSuite from exported-to-template:NetSuite, but the picker now announces "NetSuite, integration" and "NetSuite, export template". QA runs these steps as written, so please update it (Tests and QA Steps both point to it).
The inline comment is a NAB 🟢
…inguish-export-templates # Conflicts: # src/libs/SearchParser/autocompleteParser.js # src/libs/SearchParser/searchParser.js
ikevin127
left a comment
There was a problem hiding this comment.
Approved, no comments. @ishpaul777 thanks, the label lookup move and the Tests step 2 update cover what I had left open 🙌
|
🚧 Beamanator has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
Explanation of Change
An accounting integration and an export template can share a name, which previously made it impossible to filter them separately in Search. This change keeps both choices separate with their existing names and icons.
For example, if both are named NetSuite, choose the integration logo to find reports exported or marked as entered in NetSuite. Choose the template icon to find reports exported using that template. Selecting both shows reports matching either choice.
Fixed Issues
$ #107372
PROPOSAL: N/A
Tests
Automated:
SearchAutocompleteUtilsTest,ExportedToSelectorTest,MultiSelectTest,MultiSelectListItemTest, and Search regression suites: 1,282 tests passed across 18 suites.TypeScript, lint, formatting, spelling, React Compiler, and parser consistency checks passed.
Use a test workspace connected to NetSuite with an export template also named
NetSuite.exported-to != Net. Choose the NetSuite template suggestion. Confirm it becomesexported-to-template!=NetSuiteand excludes the template-exported report. Save and reopen the search; the exclusion should remain.Offline tests
QA Steps
Same as Tests and Offline tests above.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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
Screen.Recording.2026-11-30.at.3.02.26.PM.mov