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
[Due for payment 2026-09-18] [Performance] Investigate optimizations for the Search filters popover #97455
The filters popover on the Spend page has regressed in performance. Switching
between filters lags noticeably — moving the cursor quickly between filters no
longer keeps up, and it's slow to catch up to where the cursor is. On a small,
recently-onboarded account this shows as lag; on a large account the popover can
freeze and the page crashes.
This feels like a performance regression from previous behavior.
Investigation scope
Investigate possible optimizations in the Search filter popovers, including:
Why switching between filters lags — unnecessary re-renders, heavy recomputation,
or expensive list rendering when the popover updates.
Some filters call read API commands to pull extra data. Flipping through filters
quickly may fire these repeatedly and contribute to the slowness — check for
redundant/uncancelled requests and whether results can be cached or debounced.
Whether the popover work scales poorly with account size (report/expense volume).
Notes
Observed on NewDot web. Reproduced on both a small account (lag) and a large
account (freeze/crash).
@mountiny@sumo-slonik this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to the comment on the PR:
Link to the comment on the Issue:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Precondition:
Test:
Open the advanced filters popover on the Reports page (the Filters button next to the search field) on web with a wide layout.
Quickly sweep the cursor up and down the filter list without stopping, and verify each row's content appears as the cursor reaches it, the people filters (From, To, Attendee, Assignee) show a spinner rather than a contact list, and the popover does not freeze.
Rest the cursor on From and verify its contact list appears right after the cursor stops.
Type a few characters into the search input of the From pane, hover over To, then move back to From, and verify the From pane shows up instantly (no spinner) with the search input empty and the whole contact list back.
Select one or two users in the From pane and verify the selection is applied to the search query, and that the rows stay where they are rather than jumping to the top under the cursor.
Hover over To, move back to From, and verify the pane is rebuilt with the users selected in step 5 now at the top of the list.
Close the popover, reopen it and hover over From again, and verify the list is correct and reflects the selection made in step 5.
Walk the filter list with the keyboard (Tab / arrow keys) and verify the content pane follows the focused row with no spinner, since focus never passes over rows on the way.
Scroll down the Category list (or any other filter with a long list), hover over another filter, then move back to it, and verify the list comes back at the top, with rows drawn rather than a blank area.
Repeat steps 4 and 9 on Workspace (and on Card or Bank account if the account has them), which are built on a different list component, and verify they behave the same.
Activity
melvin-bot commentedon Aug 6, 2026
@sumo-slonik Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Aug 10, 2026
@sumo-slonik 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
melvin-bot commentedon Aug 12, 2026
@sumo-slonik Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!
melvin-bot commentedon Aug 13, 2026
@mountiny @sumo-slonik this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
17 remaining items
melvin-bot commentedon Sep 17, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)melvin-bot commentedon Sep 17, 2026
Payment Summary
Resolving PRs:
Perf/spend filters hover #97697
Contributor: @sumo-slonik does not require payment (Contractor)
Reviewer: @truph01 owed $250 via NewDot
BugZero Checklist (@mallenexpensify)
truph01 commentedon Sep 21, 2026
Contributor+ Checklist:
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to the comment on the PR:
Link to the comment on the Issue:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
mallenexpensify commentedon Sep 22, 2026
Payment Summary
Contributor+: @truph01 due $250 via NewDot
Contributor+: @mkhutornyi due $250 via NewDot
mkhutornyi commentedon Sep 22, 2026
@mallenexpensify I also reviewed linked PR as requested
mallenexpensify commentedon Sep 22, 2026
@mkhutornyi paid, summary updated above. Thx.
Main reason I missed was cuz i didn't see a reviewers checklist. Thx for the ping
trjExpensify commentedon Oct 1, 2026
approved $250 for @mkhutornyi
garrettmknight commentedon Nov 14, 2026
$250 approved for @truph01