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-07-16] [$250] Domains - Find Groups search appears on Groups list even when there are only two groups #95555
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2
Version Number: 9.4.29-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:https://test-management.browserstack.com/projects/2219752/folder/31025987/test-cases/111803690 Email or phone of affected tester (no customers):admin@expplause.com Issue reported by: Applause Internal Team Bug source: Regression TC Execution Device used: iPhone 12 mini, iOS 16.7 App Component: Workspace Settings
Action Performed:
Launch new expensify
Tap on Workspaces
Tap on Domains and select the domain
Tap on Groups
Expected Result:
There's no search field when there are less than 15 groups on the Domain
Actual Result:
On this version the search bar is shown even when there are only the two default groups available
👋 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.
📣 @saramamose16! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
🚨 Edited by proposal-police: This proposal was edited at 2026-07-08 03:23:16 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
The Domain > Groups page shows the "Find group" search field even when the domain has only the two default groups. The search field should be hidden below the standard list-size threshold, as it is (was) on every other table page.
What is the root cause of that problem?
This is a regression from PR #93963 ("Update filters bar for tables"), merged Jul 6 and first shipped in 9.4.29-0 — which is why it reproduces on staging but not production.
Before that PR, DomainGroupsTable gated the search input behind the app-wide threshold: {groups.length >= CONST.STANDARD_LIST_ITEM_LIMIT && <Table.SearchBar .../>}. With the 2 default groups, 2 >= 12 is false, so no search field rendered.
PR #93963 replaced the old Table.SearchBar/Table.FilterButtons pair with a new composed Table.FilterBar, and in the swap it dropped the threshold gate. The call site is now unconditional:
So for 2 groups the empty guard passes and the search bar renders. The threshold constant, STANDARD_LIST_ITEM_LIMIT (12), is no longer consulted anywhere in the new FilterBar path:
Structural cause: the refactor moved search rendering from per-table call sites (which each carried the visibility rule) into a shared TableFilterBar that never received that rule. This is why the bug is NOT specific to Groups. The same PR removed the identical gate from the sibling tables — verified in the PR diff: DomainAdminsTable (L85), DomainMembersTable (L160), DomainListTable (L93), WorkspaceCategoriesTable (L165), WorkspaceTagsTable (L220), WorkspaceTaxesTable (L98), WorkspaceDistanceRatesTable (L150), WorkspacePerDiemTable (L134), PersonalExpenseRulesTable (L108), WorkspaceListTable (L143), WorkspaceExpensifyCardsTable (L198), and ReportParticipantsTable (L124, whose old page-level shouldShowSearchBar prop from DynamicReportParticipantsPage was deleted). All of those pages now show a search field for tiny lists in 9.4.29-0 too.
This explains every symptom: shown with exactly 2 default groups (gate gone), staging-only (PR is in 9.4.29-0, not prod), and reproducible on both iOS App and MacOS Chrome/Safari (the component is a single shared index.tsx with no platform split).
What changes do you think we should make in order to solve the problem?
Restore the threshold once, centrally, inside TableFilterBar — the component that now owns search rendering — instead of re-scattering it across call sites:
shouldAlwaysShowSearchBar is a new optional prop (default false) set only on WorkspaceMembersTable (L334) and WorkspaceRoomsTable (L92), which always showed search before the refactor — so their behavior is preserved exactly. The threshold uses originalDataLength (pre-filter count), so the bar cannot oscillate while the user types a search that narrows results. The compound guard collapses the bar entirely (no stray pb3/ph5 padding) when there is no search, no filter config, and no children — while tables with filterConfig (DomainMembersTable, WorkspaceMembersTable, WorkspaceCompanyCardsTable) keep their filter trigger and active-filter chips visible regardless of row count, which matches the pre-PR behavior where filter buttons were independent of the search gate. Regression safety in one sentence: tables with ≥12 rows render exactly as today, the existing empty-list guard is unchanged, and the two always-show tables are pinned via the prop.
Why the obvious spot fix does not work: re-adding groups.length >= CONST.STANDARD_LIST_ITEM_LIMIT && ... around the Table.FilterBar in DomainGroupsTable alone (what the pre-PR code did) fixes only this page while the same 9.4.29 deploy blocker mechanism stays live on the ~12 sibling pages listed above. And as a pattern it cannot be copied to the three tables that use filterConfig: wrapping the whole <Table.FilterBar> in the length check would also hide the filter-dropdown trigger and active-filter chips (both live inside the same bar now), silently removing the filters UI on small member/card lists — functionality the old code kept visible unconditionally.
Note: the TC says "15", but the app standardized this threshold as STANDARD_LIST_ITEM_LIMIT = 12; the fix restores the exact constant this page used before the regression. I'd add a unit test asserting the search input is hidden below the threshold and shown at/above it.
What alternative solutions did you explore? (Optional)
Spot fix in DomainGroupsTable only — incomplete: leaves the identical regression live on every other table page shipped by the same PR (see list above).
Restore per-call-site gates in all ~15 tables — re-creates the duplication #93963 consolidated, and still needs a search-only mechanism inside the bar for the three filterConfig tables; it degenerates into the central fix plus noise.
Revert #93963 — heavy; it would also remove the new filters UI. The one-file forward fix restores the documented behavior while keeping the refactor.
changed the title [-][$250] Domains - Find Groups search appears on Groups list even when there are only two groups[/-][+][Due for payment 2026-07-16] [$250] Domains - Find Groups search appears on Groups list even when there are only two groups[/+]on Jul 16, 2026
@mallenexpensify Because the expected behavior in the OP was incorrect, I first reviewed the proposals, then asked Melvin to open a PR since its solution was correct, and then reviewed the PR.
Based on the payment guidelines, I think this should be eligible for $125.
Ran the 5-factor scorecard against the timeline. Every point needs a citable comment, and here the citable C+ work is thin: truph01's only substantive action was selecting Melvin's proposal and asking for the PR to be opened/readied — there's no proposal-review feedback, no repro/testing, no independent root-cause, and no visible PR review. Score: 2/10, and the one point-bearing factor is itself contestable (see below). That's far short of what the framework treats as a payable review cycle.
Scorecard
#
Factor
Evidence
Pts
1
Proposals reviewed w/ substantive feedback
No technical feedback to any proposal author. The only proposal comment was quoting Melvin's own proposal + "Implement this one" (4976510299) — a selection, not a review of distinct authors
0
2
Reproduction & testing
No C+-authored repro steps, video, or screenshots anywhere on the issue
0
3
Independent root-cause
None. The mechanism (regression from #93963 dropping the count gate) came from the contributor proposals + Melvin; the C+ picked Melvin's
0
4
C+ drove the close
⚠️ Contested. Literal signal present: a proposal was selected → PR #96157 opened → later abandoned. But the close was Working-As-Designed, decided by design (shawnborton "we wanted to always show the search input… I say we close it all up", JS00001 "Agreed") — which overrode the C+'s selection rather than resulting from it
2(flagged)
5
Sustained engagement
Substantive activity on a single day (2026-07-15): the selection + "mark this pr as ready" (PR comment). The 07-18 and 07-22 comments are payment negotiation, not review work
0
Total: 2/10 (0/10 if Factor 4 is read by intent rather than the literal "selected-then-abandoned" trigger).
On the $125 claim
truph01's $125 rationale was "reviewed proposals → asked Melvin to open a PR → reviewed the PR." Against the timeline:
Reviewed proposals — only a one-line selection, no substantive per-author feedback.
Asked Melvin to open the PR — yes, verifiable.
Reviewed the PR — no review or code-review comments exist on #96157; the only C+ comment there was "mark this pr as ready." truph01 points to a Slack DM, which isn't verifiable from the record (you already flagged this gap).
Two facts also cut against a straight 50%:
The issue closed WAD by a design decision, not by the C+'s work — in fact the C+ had greenlit fixing something that turned out not to be a bug.
No contributor was hired/assigned (no proposal accepted; Melvin opened the PR), so the doc clause you quoted — "50% to contributor and C+ if the contributor was hired/assigned" — doesn't have its precondition met here.
Recommendation
By the framework this doesn't support $125. The evidenced C+ contribution is proposal selection + PR routing — real but light, and pointed at the wrong outcome (a WAD issue). For a v1 process rule, this is a good example of the low end: if you want to pay anything, a small good-faith amount for the triage/selection time is a defensible human call, but the timeline does not justify the 50% tier. For contrast, the worked example that scored a full payout had an independent repro, a root-cause with video, and a post-fix retest — none of which are present here.
One thing only a human can settle: if the Slack-DM PR review truph01 referenced contains genuine substantive review, that would lift Factors 1/5 — but it needs to be surfaced on the record to count.
@mallenexpensify Since it didn't take much effort for me to choose the solution, and we've decided not to fix the issue after all, I don't think a payment is needed here. We can go ahead and close this one.
Closing as not due payment. I updated the C+ doc to state
If we decide to close the job before it is successfully completed
50% payment to contributor and C+ if the contributor was hired/assigned. This doesn’t include selecting Melvin’s proposal
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2
Activity
applause-bot commentedon Jul 8, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/57478d09d8b023225ecfeeb43dc3edcac0499b92f4c8807888accf024f06e8f3
melvin-bot commentedon Jul 8, 2026
Triggered auto assignment to @carlosmiceli (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Jul 8, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jul 8, 2026
👋 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 Jul 8, 2026
📣 @saramamose16! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Format:
ahmdshrif commentedon Jul 8, 2026
🚨 Edited by proposal-police: This proposal was edited at 2026-07-08 03:23:16 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
The Domain > Groups page shows the "Find group" search field even when the domain has only the two default groups. The search field should be hidden below the standard list-size threshold, as it is (was) on every other table page.
What is the root cause of that problem?
This is a regression from PR
#93963("Update filters bar for tables"), merged Jul 6 and first shipped in 9.4.29-0 — which is why it reproduces on staging but not production.DomainGroupsTablegated the search input behind the app-wide threshold:{groups.length >= CONST.STANDARD_LIST_ITEM_LIMIT && <Table.SearchBar .../>}. With the 2 default groups,2 >= 12is false, so no search field rendered.#93963replaced the oldTable.SearchBar/Table.FilterButtonspair with a new composedTable.FilterBar, and in the swap it dropped the threshold gate. The call site is now unconditional:App/src/components/Tables/DomainGroupsTable/index.tsx
Line 85 in fcf80bb
TableFilterBarhas only an empty-list guard — it hides the bar whenoriginalDataLengthis 0, and otherwise always renders the search input:App/src/components/Table/TableFilterBar/index.tsx
Lines 60 to 62 in fcf80bb
App/src/components/Table/TableFilterBar/index.tsx
Line 68 in fcf80bb
where
originalDataLengthis the unfiltered row count from the Table context:App/src/components/Table/Table.tsx
Line 235 in fcf80bb
STANDARD_LIST_ITEM_LIMIT(12), is no longer consulted anywhere in the new FilterBar path:App/src/CONST/index.ts
Line 5065 in fcf80bb
Structural cause: the refactor moved search rendering from per-table call sites (which each carried the visibility rule) into a shared
TableFilterBarthat never received that rule. This is why the bug is NOT specific to Groups. The same PR removed the identical gate from the sibling tables — verified in the PR diff:DomainAdminsTable(L85),DomainMembersTable(L160),DomainListTable(L93),WorkspaceCategoriesTable(L165),WorkspaceTagsTable(L220),WorkspaceTaxesTable(L98),WorkspaceDistanceRatesTable(L150),WorkspacePerDiemTable(L134),PersonalExpenseRulesTable(L108),WorkspaceListTable(L143),WorkspaceExpensifyCardsTable(L198), andReportParticipantsTable(L124, whose old page-levelshouldShowSearchBarprop fromDynamicReportParticipantsPagewas deleted). All of those pages now show a search field for tiny lists in 9.4.29-0 too.This explains every symptom: shown with exactly 2 default groups (gate gone), staging-only (PR is in 9.4.29-0, not prod), and reproducible on both iOS App and MacOS Chrome/Safari (the component is a single shared
index.tsxwith no platform split).What changes do you think we should make in order to solve the problem?
Restore the threshold once, centrally, inside
TableFilterBar— the component that now owns search rendering — instead of re-scattering it across call sites:shouldAlwaysShowSearchBaris a new optional prop (default false) set only onWorkspaceMembersTable(L334) andWorkspaceRoomsTable(L92), which always showed search before the refactor — so their behavior is preserved exactly. The threshold usesoriginalDataLength(pre-filter count), so the bar cannot oscillate while the user types a search that narrows results. The compound guard collapses the bar entirely (no straypb3/ph5padding) when there is no search, no filter config, and no children — while tables withfilterConfig(DomainMembersTable,WorkspaceMembersTable,WorkspaceCompanyCardsTable) keep their filter trigger and active-filter chips visible regardless of row count, which matches the pre-PR behavior where filter buttons were independent of the search gate. Regression safety in one sentence: tables with ≥12 rows render exactly as today, the existing empty-list guard is unchanged, and the two always-show tables are pinned via the prop.Why the obvious spot fix does not work: re-adding
groups.length >= CONST.STANDARD_LIST_ITEM_LIMIT && ...around theTable.FilterBarinDomainGroupsTablealone (what the pre-PR code did) fixes only this page while the same 9.4.29 deploy blocker mechanism stays live on the ~12 sibling pages listed above. And as a pattern it cannot be copied to the three tables that usefilterConfig: wrapping the whole<Table.FilterBar>in the length check would also hide the filter-dropdown trigger and active-filter chips (both live inside the same bar now), silently removing the filters UI on small member/card lists — functionality the old code kept visible unconditionally.Note: the TC says "15", but the app standardized this threshold as
STANDARD_LIST_ITEM_LIMIT = 12; the fix restores the exact constant this page used before the regression. I'd add a unit test asserting the search input is hidden below the threshold and shown at/above it.What alternative solutions did you explore? (Optional)
DomainGroupsTableonly — incomplete: leaves the identical regression live on every other table page shipped by the same PR (see list above).#93963consolidated, and still needs a search-only mechanism inside the bar for the threefilterConfigtables; it degenerates into the central fix plus noise.#93963— heavy; it would also remove the new filters UI. The one-file forward fix restores the documented behavior while keeping the refactor.42 remaining items
melvin-bot commentedon Jul 16, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)[-][$250] Domains - Find Groups search appears on Groups list even when there are only two groups[/-][+][Due for payment 2026-07-16] [$250] Domains - Find Groups search appears on Groups list even when there are only two groups[/+]melvin-bot commentedon Jul 16, 2026
Payment Summary
Upwork Job
BugZero Checklist (@mallenexpensify)
mallenexpensify commentedon Jul 17, 2026
@truph01 are you due payment? If so, how much do you propose? If this is the PR, it doesn't seem like much was done on it before closing
truph01 commentedon Jul 18, 2026
@mallenexpensify Because the expected behavior in the OP was incorrect, I first reviewed the proposals, then asked Melvin to open a PR since its solution was correct, and then reviewed the PR.
Based on the payment guidelines, I think this should be eligible for $125.
mallenexpensify commentedon Jul 20, 2026
@truph This one?
If so, I don't see any comments that show you reviewed, am I missing something?
truph01 commentedon Jul 22, 2026
@mallenexpensify I replied here
mallenexpensify commentedon Jul 22, 2026
@MelvinBot from the below and details in this E/E issue, review this issue to determine if @truph01 might be due payment
| Factor | Detected from the timeline
-- | -- | --
1 | Proposals reviewed w/ substantive feedback | C+ comments replying to distinct proposal authors containing technical content (not "reviewing…"). 1–2 authors → 1pt, 3+ → 2pt
2 | Reproduction & testing | C+ comments with repro steps / videos / screenshots; a post-fix retest counts toward the 2pt max
3 | Independent root-cause | A C+-authored investigation identifying the mechanism (bonus signal: attached video/logs) → 2pt
4 | C+ drove the close | 🎀 👀 🎀 C+ reviewed, a WAD/backend/dupe conclusion, or a selected-then-abandoned proposal → 2pt
5 | Sustained engagement | Substantive C+ activity spanning multiple days across the issue's life → 1–2pt
@truph01 the details in the C+ doc state
Things are different with Melv so I want to use this issue as an example so I can make a v1 update to the process.
MelvinBot commentedon Jul 22, 2026
Ran the 5-factor scorecard against the timeline. Every point needs a citable comment, and here the citable C+ work is thin:
truph01's only substantive action was selecting Melvin's proposal and asking for the PR to be opened/readied — there's no proposal-review feedback, no repro/testing, no independent root-cause, and no visible PR review. Score: 2/10, and the one point-bearing factor is itself contestable (see below). That's far short of what the framework treats as a payable review cycle.Scorecard
#93963dropping the count gate) came from the contributor proposals + Melvin; the C+ picked Melvin'sshawnborton"we wanted to always show the search input… I say we close it all up",JS00001"Agreed") — which overrode the C+'s selection rather than resulting from itTotal: 2/10 (0/10 if Factor 4 is read by intent rather than the literal "selected-then-abandoned" trigger).
On the $125 claim
truph01's $125 rationale was "reviewed proposals → asked Melvin to open a PR → reviewed the PR." Against the timeline:truph01points to a Slack DM, which isn't verifiable from the record (you already flagged this gap).Two facts also cut against a straight 50%:
Recommendation
By the framework this doesn't support $125. The evidenced C+ contribution is proposal selection + PR routing — real but light, and pointed at the wrong outcome (a WAD issue). For a v1 process rule, this is a good example of the low end: if you want to pay anything, a small good-faith amount for the triage/selection time is a defensible human call, but the timeline does not justify the 50% tier. For contrast, the worked example that scored a full payout had an independent repro, a root-cause with video, and a post-fix retest — none of which are present here.
One thing only a human can settle: if the Slack-DM PR review
truph01referenced contains genuine substantive review, that would lift Factors 1/5 — but it needs to be surfaced on the record to count.mallenexpensify commentedon Jul 22, 2026
@truph01 unless you can show how you invested a non-insignificant amount of time, I don't think one would be due payment.
truph01 commentedon Jul 22, 2026
@mallenexpensify Since it didn't take much effort for me to choose the solution, and we've decided not to fix the issue after all, I don't think a payment is needed here. We can go ahead and close this one.
mallenexpensify commentedon Jul 22, 2026
Closing as not due payment. I updated the C+ doc to state
Thx @truph01