You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] [RCA #67117] Reports - "Feed" filter pill shows only 1 card feed when 2 card feeds are selected #67645
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Version Number: 9.1.88-0 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from TestRail:#67117 Email or phone of affected tester (no customers):shdiuhdshbudihdsi@gmail.com Issue reported by: Applause Internal Team Device used: Windows 11 / Chrome App Component: Search
Action Performed:
Precondition:
Add two card feeds:
Chase bank account - Assign card ending 0000 to yourself.
Wells Fargo bank account - Assign card ending 3333 to yourself.
Both card feeds should have imported transactions.
Go to staging.expensify.com
Go to Reports.
Go to Unapproved cards.
Open Advanced filters.
Go to Card.
Unselect "All Plaid Checking 0000" and select "All Plaid Credit Card 3333".
Click Save > View results.
→ "Feed" filter pill changes to Well Fargo cards.
Open Advanced filters.
Go to Card.
Select both "All Plaid Checking 0000" and select "All Plaid Credit Card 3333".
Click Save > View results.
Expected Result:
We go back to the state of no suggested search selected, meaning the feed filter pill is not visible anymore.
Actual Result:
"Feed" filter pill only shows Chase cards as selected when the search query contains both card feeds. The filter pill does not support multi selection.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
changed the title [-][RCA #67117] Reports - "Feed" filter pill shows only 1 card feed when 2 card feeds are selected[/-][+][$250] [RCA #67117] Reports - "Feed" filter pill shows only 1 card feed when 2 card feeds are selected[/+]on Aug 4, 2025
Please re-state the problem that we are trying to solve in this issue.
"Feed" filter pill only shows Chase cards as selected when the search query contains both card feeds. The filter pill does not support multi selection.
What is the root cause of that problem?
We always show feed filter if number of feeds is greater than 1:
This will hide Feed selector if all card feeds are selected.
Note
I don't think this is the expected behaviour. Since the card selector in Search filters page are multi-selectable, we should make the feed multi-select instead of hiding it, similar to Status selector pill.
We'll have to make some updates to MultiSelectPopup
Feed selector becomes multi-select, instead of dissappearing
Feed selector shows all feeds selected
POC:
Screen.Recording.2025-08-04.at.22.49.30.mov
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
I don't think this is the expected behaviour. Since the card selector in Search filters page are multi-selectable, we should make the feed multi-select instead of hiding it, similar to Status selector pill.
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Activity
melvin-bot commentedon Aug 1, 2025
Triggered auto assignment to @muttmuure (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.github-actions commentedon Aug 1, 2025
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Aug 1, 2025
Triggered auto assignment to @rlinoz (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Aug 1, 2025
💬 A slack conversation has been started in #expensify-open-source
rlinoz commentedon Aug 1, 2025
Posted here https://expensify.slack.com/archives/C03U7DCU4/p1754053150242389 asking for confirmation on the behavior.
BlameGPT commentedon Aug 1, 2025
6 remaining items
[-][RCA #67117] Reports - "Feed" filter pill shows only 1 card feed when 2 card feeds are selected[/-][+][$250] [RCA #67117] Reports - "Feed" filter pill shows only 1 card feed when 2 card feeds are selected[/+]melvin-bot commentedon Aug 4, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021952385351138992865
melvin-bot commentedon Aug 4, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov (
External)daledah commentedon Aug 4, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
"Feed" filter pill only shows Chase cards as selected when the search query contains both card feeds. The filter pill does not support multi selection.
What is the root cause of that problem?
We always show feed filter if number of feeds is greater than 1:
App/src/components/Search/SearchPageHeader/SearchFiltersBar.tsx
Line 334 in bb3e090
And don't hide feed pill if all feeds are selected.
What changes do you think we should make in order to solve the problem?
Add additional checks for
shouldDisplayFeedFilterThis will hide Feed selector if all card feeds are selected.
Note
I don't think this is the expected behaviour. Since the card selector in Search filters page are multi-selectable, we should make the feed multi-select instead of hiding it, similar to
Statusselector pill.We'll have to make some updates to
MultiSelectPopuptexthereApp/src/components/Search/FilterDropdowns/MultiSelectPopup.tsx
Lines 13 to 16 in bb3e090
App/src/components/Search/FilterDropdowns/MultiSelectPopup.tsx
Line 44 in bb3e090
getFeedOptionsto return correct type (fromSingleSelectItemtoMultiSelectItem)App/src/libs/SearchUIUtils.ts
Line 1854 in c17b26e
feedOptionshere to matchMultiSelectPopuppropsApp/src/components/Search/SearchPageHeader/SearchFiltersBar.tsx
Lines 105 to 112 in c17b26e
feedComponentto useMultiSelectPopupand updateonChangeprops:App/src/components/Search/SearchPageHeader/SearchFiltersBar.tsx
Lines 229 to 235 in c17b26e
App/src/components/Search/SearchPageHeader/SearchFiltersBar.tsx
Line 359 in 198d552
With this change, we make:
POC:
Screen.Recording.2025-08-04.at.22.49.30.mov
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
rlinoz commentedon Aug 6, 2025
bump @alitoshmatov
melvin-bot commentedon Aug 7, 2025
@alitoshmatov Whoops! This issue is 2 days overdue. Let's get this updated quick!
rlinoz commentedon Aug 8, 2025
Going by the doc https://docs.google.com/document/d/1vXMf1oK3J8A7EcjTGSPtpT2rgHWqcAg-FbuXlObjHZ4/edit?tab=t.0#bookmark=id.ta9hmylqm33k it looks like we only add the feed filter when this query is selected and it looks like it is intended to be a single feed at a time.
If you could confirm @JS00001
JS00001 commentedon Aug 8, 2025
We decided to go with multiselect, this is fixed here: #67799
rlinoz commentedon Aug 8, 2025
Closing this one then, thanks