Kacper
|
9dc5d64a26
|
refactor: modularize setup view into reusable components and hooks
Refactored setup-view.tsx (1,740 → 148 lines, -91.5%) by extracting:
- 8 reusable UI components (status badges, terminal output, etc.)
- 4 custom hooks (CLI status, installation, OAuth, token save)
- 4 step components (welcome, complete, Claude setup, Codex setup)
- 1 dialog component (OAuth token modal)
All business logic separated from UI, zero code duplication, fully type-safe.
|
2025-12-11 20:41:44 +01:00 |
|