Issue 328
documentation: UI kit rule in the UI designer guide, and a lint comment, still stale after #321
Back to our planDone
documentationfrontendpriority: low
Type
documentation
Problem
Two stale statements left after #321 (#214):
docs/roles/ui-designer.md, "UI Kit Rules", says every interactive component (Dialog, Dropdown, Tabs, Accordion…) is built insrc/platform/ui/on Radix primitives. That contradictsdocs/architecture/README.md("Where does it go?": a component one module uses stays in itsui/, moving tosrc/platform/on the second use) anddocs/ui/component-set.md(the FAQ accordion staysFaqList, a native<details>, indirectory/ui). Copilot raised it on #321; the fix was pushed after #321 had merged, so it never reachedmain.eslint.boundaries.config.mjs:15says a file insrc/app/that queries Payload outsideSTILL_QUERYING_PAYLOAD"gets a warning". Since #137 the dependency rules are errors. Raised as Minor by the independent review of #321.
Both are fact fixes within the owner's approval on #214. Summary of his decision (2026-10-24, Claude Code session, text):
Approval for #250, #214 and #198: refresh the labeling rules and the development guidelines that have gone out of date, and check the changes through the usual review and CI process.
Proposed fix
ui-designer.md: a component one module uses stays in itsui/until a second use; shared components are built once insrc/platform/ui/withcvavariants, native elements first and Radix where native isn't enough.eslint.boundaries.config.mjs: the comment says such a file fails lint.
Acceptance criteria
- Not done: The UI kit rules match the architecture's "where does it go" and the component set.
- Not done: The lint config comment matches the rule's severity.
Area
frontend
Priority
priority: low
Generated by Claude Code, opens in a new tab