Skip to content

refactor: organize components/app into topic folders#89

Merged
starc007 merged 1 commit into
mainfrom
refactor/organize-app-components
Jul 4, 2026
Merged

refactor: organize components/app into topic folders#89
starc007 merged 1 commit into
mainfrom
refactor/organize-app-components

Conversation

@starc007

@starc007 starc007 commented Jul 4, 2026

Copy link
Copy Markdown
Owner

What

`components/app` had grown to 30+ flat files. Grouped into topic folders, pure move (no behavior change):

  • `chrome/` — site shell/nav: site-header, site-footer, site-frame, site-sidebar, site-dock, site-search, mobile-nav, theme-provider, theme-toggle, header-tabs, page-transition, keyboard-shortcuts
  • `docs/` — component doc-page pieces: code-block, copy-button, expandable-code, install-block, install-command, install-tabs, manual-install, component-card, new-badge
  • `landing/` — homepage-only: hero, hero-preview-dock, landing-component-card, work-cta
  • `analytics/` — google-analytics, json-ld
  • `preferences/` — preferences-panel, preferences-provider
  • `playground/` — untouched, already a folder

`icons.tsx` and `press-link.tsx` stay at root — both used across every group, no single topic owns them.

Also includes a small footer fix bundled in from the same working session: the footer's Components/Blocks columns now cap at 8 items (newest first) with a "View all (N)" link, instead of listing the entire growing registry.

Test plan

  • `bun run check` clean (typecheck, lint, registry — 41 components)
  • All 29 import sites across `app/`, `lib/`, `components/` updated to new paths

Group site chrome, doc-page pieces, landing-only components, analytics
and preferences into chrome/, docs/, landing/, analytics/ and
preferences/ subfolders. icons.tsx and press-link.tsx stay at root
since both are used across every group.
@starc007 starc007 merged commit e09415d into main Jul 4, 2026
2 checks passed
@starc007 starc007 deleted the refactor/organize-app-components branch July 4, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant