Skip to content
SprecherEast
Issue 214

documentation: Guidelines still name the deleted shadcn button and a Container component

Back to our plan
Done
documentationfrontendpriority: low

Type

documentation

Problem

Once #211 and #212 merge, two policy docs name components that no longer exist:

  • docs/guidelines/components-and-content.md:20 and :52 point to src/components/ui/button.tsx (deleted in #211) and its old variants (default, outline, destructive, link). The table also lists CMSLink and Card as the link and card components; the shared ones are Button and Link in src/platform/ui/, with more to come from the approved set (docs/ui/component-set.md).
  • docs/roles/frontend-eng.md:92 names a Container component; the approved set folded it into Section's width.

Both files are policy paths, so this waits for the owner (AGENTS.md step 3). Found by Copilot's review on #211 and the reviewer of #209.

Proposed fix

Point both docs at src/platform/ui/ and docs/ui/component-set.md as the list of shared components, name Button and Link with their real variants, and drop the Container line (or say Section). Update them again as each component lands, or have them link to the component set instead of copying it.

Acceptance criteria

  • Not done: No policy doc names a deleted component or variant.
  • Not done: The docs point to one source for the component list instead of copying it.

Area

frontend

Priority

priority: low


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab