Skip to content

feat(ui): group search by member id, and the seven missing group filters #801

Closed

Description

@athvin

Spec units 1.27 + 1.28 (Group list and search · Group filters) · parent #513

Filed as one issue because they are one screen and share the filter model.

What exists

frontend/src/components/duplicates/duplicates-content.tsx has a working group list with:

  • sort by member count and by score (SORTS, :40, :60-68)
  • a source filter (sourceFilter, :56)
  • ScoreBandBrowser for browsing scored pairs by probability band

The gap

1.27 — list and search

  • no search by member record ID that returns the whole group (the spec's only done-criterion for this unit)
  • sort by average confidence specifically, and a visible matched-on fields column

1.28 — filters. Of the spec's eight, one (source) exists. Missing: confidence range, group size (pairs vs 10+), tags include/exclude, matched-by model, matched-on field, AI-recommendation tag, verification status.

The spec also requires filters to carry into the mass dialogs and reset after a mass merge — which makes the filter state a shared model rather than local useState, and is the part that should drive the design.

Design constraint

The UI is strictly grayscale (ESLint-enforced; --destructive is the only exception). The spec's "model color badge per group" cannot be ported as colour — use the weight/scale/spacing channels the frontend-design-system skill documents.

Done when

  • searching any member record ID opens its group
  • the seven missing filters exist and compose
  • filter state is shared, carries into mass actions, and resets after a mass merge
  • no colour added — group provenance signalled without hue
  • coverage in the tier frontend-testing routes this to, and the new screen registered in the axe gate

Split out of the parent epic on 2026-11-07 by reading the spec's pillar table against this repo, file by file. Every "what exists" line below was grepped, not inferred — the parent epic's own history includes a coverage figure that was wrong because a stale design doc was trusted. Spec unit numbers refer to the DataGroomr Feature Parity Spec pillar tables. Estimates are mine and independent of the epic's total.

Activity

  1. added
    mvp
    docs-backlog
    on Nov 7, 2026
  2. self-assigned this
    on Nov 8, 2026
  3. athvin commented on Nov 8, 2026

    @athvin
    OwnerAuthor

    Claimed — working in #854 (draft). Closing that PR releases the claim.

  4. athvin commented on Nov 8, 2026

    @athvin
    OwnerAuthor

    Scope decisions from the implementing session (PR #854), against the done-when list:

    "AI-recommendation tag" filter — not built, and currently unbuildable. Recommendations are BFF-owned (review_recommendations) and keyed by review id — an opinion about an unmerged pair in the gray band. A duplicate group is post-merge and cannot carry one; there is no data path from a group to a recommendation. The shared filter model (src/lib/domain/group-filters.ts) takes the dimension the day group-level recommendations exist.

    "Filters carry into the mass dialogs / reset after a mass merge" — satisfied structurally, and that is all that exists to satisfy. The duplicates screen has no group-level mass actions (bulk resolve lives on the review inbox; group-level mass merge would be #514-adjacent engine work). What landed is the part the spec bullet is really asking for: the filter state is one exported model with a resetGroupFilters() the mass path calls when it exists, instead of per-control useState that a dialog could not see.

    "Verification status" — derived, definition recorded here: a group is verified when it carries at least one active steward always assertion among its members. #803 owns the real Verify verb; when it lands, this filter's derivation is the place to widen.

    The other six filters (confidence range, size, matched-by model, matched-on field, verification, tags include/exclude) plus member-ID search, confidence sort and the matched-on column all landed, server-side.

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

Metadata

Metadata

Assignees

Labels

docs-backlogmvp

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions