Skip to content

refactor: organize webcomponents into categorized folders#226

Merged
antfu merged 1 commit intomainfrom
antfu/reorg-wc-components
Mar 18, 2026
Merged

refactor: organize webcomponents into categorized folders#226
antfu merged 1 commit intomainfrom
antfu/reorg-wc-components

Conversation

@antfu
Copy link
Member

@antfu antfu commented Mar 18, 2026

Summary

Reorganized 36 component files from a flat directory structure into 7 semantically-organized subdirectories for improved maintainability and navigation:

  • dock/ (14) - dock modes, entries, and navigation
  • views/ (5) - view rendering infrastructure
  • views-builtin/ (5) - built-in view implementations
  • floating/ (2) - floating UI positioning system
  • display/ (3) - reusable UI components
  • log/ (2) - log entry rendering components
  • icons/ (5) - icon components

Updated 50+ import references across component files and external entry points.

Test plan

  • All tests pass (203 tests)
  • TypeScript builds without errors
  • ESLint passes
  • No circular dependencies introduced

🤖 Generated with Claude Code

Reorganize 36 component files from a flat directory into 7 subdirectories based on their purpose for better maintainability and navigation. Updated all 50+ import references across component files and external entrypoints.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 18, 2026

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@226

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@226

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@226

@vitejs/devtools-rpc

npm i https://pkg.pr.new/@vitejs/devtools-rpc@226

@vitejs/devtools-self-inspect

npm i https://pkg.pr.new/@vitejs/devtools-self-inspect@226

commit: 7cc0fe7

@antfu antfu merged commit b388411 into main Mar 18, 2026
9 checks passed
@antfu antfu deleted the antfu/reorg-wc-components branch March 18, 2026 09:35
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