Some checks failed
Release Binaries / release (push) Has been cancelled
Features: - Binary-Free Mode: No OpenCode binary required - NomadArch Native mode with free Zen models - Native session management - Provider routing (Zen, Qwen, Z.AI) - Fixed MCP connection with explicit connectAll() - Updated installers and launchers for all platforms - UI binary selector with Native option Free Models Available: - GPT-5 Nano (400K context) - Grok Code Fast 1 (256K context) - GLM-4.7 (205K context) - Doubao Seed Code (256K context) - Big Pickle (200K context)
1.5 KiB
1.5 KiB
Task 052 - Folder Selection & Info Panels Refactor
Goal
Migrate the folder selection view, info view, and logs view to token-driven utilities, removing bespoke gray styling blocks.
Prerequisites
- Task 051 complete (modal/kbd helpers ready).
Acceptance Criteria
src/components/folder-selection-view.tsx,src/components/info-view.tsx, andsrc/components/logs-view.tsxuse token-backed utilities or shared helpers fromcomponents.css.- Panel surfaces, headers, section dividers, and scroll containers reference tokens rather than raw Tailwind color values.
.session-viewglobal rule insrc/index.cssis replaced with a utility/helper equivalent.- Loading/empty states and action buttons keep their existing behavior and contrast in both themes.
Steps
- Catalog remaining raw color classes in the three components.
- Add reusable panel helpers (e.g.,
.panel,.panel-header,.panel-body) tocomponents.cssif helpful. - Update component markup to use helpers and token-aware Tailwind classes.
- Remove residual
bg-gray-*/text-gray-*from these components and clean upindex.css.
Testing Checklist
- Run
npm run build. - Manual spot check: recent folders list, info view logs, logs view streaming; confirm hover states and CTAs.
Dependencies
- Depends on Task 051.
- Blocks final markdown/global CSS cleanup.
Estimated Time
1.25 hours
Notes
- Branch suggestion:
feature/task-052-folder-info-panels-refactor. - Capture screenshots (light/dark) of folder selection and logs panels for review.