refactor(shell): decompose app-shell into focused components#12
Conversation
Split monolithic app-shell.tsx into sidebar, tab-bar, status-bar, and tool-host sub-components with co-located hooks. Add collapsible, command, and dialog shadcn primitives. Simplify tool.$toolId route handler. Also installs shadcn skill and pull-request Claude command. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR introduces comprehensive shadcn/ui skill documentation alongside a major refactoring of the application shell. The shell refactor extracts modular UI components and state management, introduces shared Radix UI wrappers, and delegates hotkey/navigation logic to centralized custom hooks. Supporting updates include a new Claude pull-request command and gitignore configuration. Changesshadcn Skill Documentation & Configuration
Shell UI Refactoring & Component Library
Supporting Infrastructure & Configuration
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
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)
Comment |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
devbox | e46e2cc | Commit Preview URL Branch Preview URL |
Jun 02 2026, 10:20 AM |
Summary
app-shell.tsx(~300 lines) into focused sub-components:sidebar.tsx,tab-bar.tsx,tab-item.tsx,status-bar.tsx,category-section.tsx,sidebar-tool-link.tsxuse-active-tool-id,use-category-section,use-command-palette,use-shell-shortcuts,use-tab-bartool-host/sub-components (tool-loading,tool-placeholder,unknown-tool) and simplifiedtool.$toolIdroute handlercollapsible,command,dialogpull-requestClaude commandVerification
vp check --fix— passed clean🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Documentation