docs: ungroup components in docs and list alphabetically#1712
Conversation
Flatten the six category folders ((buttons), (controls), (display), (feedback), (layout), (navigation)) into the components root so the sidebar lists components A-Z via the "..." rest entry. Deprecated keeps its own group at the end. ComponentGrid and the LLM markdown rule no longer derive categories from folder paths. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (54)
💤 Files with no reviewable changes (6)
📝 WalkthroughWalkthrough컴포넌트 그리드에서 카테고리 기반 그룹핑을 제거하고, Changes컴포넌트 그리드 카테고리 제거 및 평탄화
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Alpha Preview (Stackflow SPA)
|
Alpha Preview (Storybook)
|
Alpha Preview (Docs)
|
Drop "index" from the components meta.json pages array. With it listed, the folder index page (title "Components") was rendered as a standalone sidebar item under the "Components" group. Omitting it lets fumadocs use index.mdx only as the folder's representative page, so the "..." rest entry lists the components A-Z without the duplicate. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Summary
Ungroup the component docs under
docs/content/docs/componentsso the sidebar lists every component alphabetically, matching the existingreact/componentsstructure.Changes
.mdxfiles out of the six category folders ((buttons),(controls),(display),(feedback),(layout),(navigation)) into thecomponents/root. URLs are unchanged — these are fumadocs route groups.meta.jsonfiles;(deprecated)stays as its own group at the end.components/meta.json→["index", "...", "(deprecated)"]so the"..."rest entry auto-lists the remaining components A-Z.component-grid.tsx: drop the category sections, render a single A-Z card grid.component-grid-rule.ts(LLM markdown rule): same flattening; test + fixture updated.Verification
bun test app/_llms/rules/component-grid-rule.test.ts→ 2 pass / 0 failtsc --noEmit→ no component-grid type errors🤖 Generated with Claude Code
Summary by CodeRabbit
릴리스 노트