@claude — gate-ds-conformance detected a UI pattern duplicated across the codebase that should be extracted into a design-system primitive (CLAUDE.baseline.md §6).
Stable marker: ds-fp:8cc6adfbbd2c (do not edit — used for idempotent de-duplication)
Where it recurs
frontend/src/pages/AdminPage.tsx:189
frontend/src/pages/AdminPage.tsx:200
frontend/src/pages/AdminPage.tsx:222
frontend/src/pages/AdminPage.tsx:233
frontend/src/pages/AdminPage.tsx:245
frontend/src/pages/AdminPage.tsx:258
frontend/src/pages/AdminPage.tsx:269
frontend/src/pages/AdminPage.tsx:286
frontend/src/pages/AdminPage.tsx:298
frontend/src/pages/AdminPage.tsx:310
frontend/src/pages/CreateOrganizationPage.tsx:101
frontend/src/pages/CreateOrganizationPage.tsx:114
Sample
Proposed component spec (refine before building)
- Name:
<PascalCaseComponent> (in the repo design-system package — frontend-engineer is the sole owner of design-system/)
- Props: derive from the variation across the call sites above.
- Variants: the distinct visual variations seen at the locations.
- States: default / hover / focus / active / disabled / loading as applicable.
- Tokens: must consume DS tokens only (color/spacing/type/radius) — zero raw values.
Acceptance criteria
Filed automatically; owner is frontend-engineer. Extraction is design work, not done by this gate.
@claude —
gate-ds-conformancedetected a UI pattern duplicated across the codebase that should be extracted into a design-system primitive (CLAUDE.baseline.md §6).Stable marker:
ds-fp:8cc6adfbbd2c(do not edit — used for idempotent de-duplication)Where it recurs
frontend/src/pages/AdminPage.tsx:189frontend/src/pages/AdminPage.tsx:200frontend/src/pages/AdminPage.tsx:222frontend/src/pages/AdminPage.tsx:233frontend/src/pages/AdminPage.tsx:245frontend/src/pages/AdminPage.tsx:258frontend/src/pages/AdminPage.tsx:269frontend/src/pages/AdminPage.tsx:286frontend/src/pages/AdminPage.tsx:298frontend/src/pages/AdminPage.tsx:310frontend/src/pages/CreateOrganizationPage.tsx:101frontend/src/pages/CreateOrganizationPage.tsx:114Sample
Proposed component spec (refine before building)
<PascalCaseComponent>(in the repo design-system package —frontend-engineeris the sole owner ofdesign-system/)Acceptance criteria
gate-ds-conformancestays green after refactor.Filed automatically; owner is
frontend-engineer. Extraction is design work, not done by this gate.