Files
NomadArch/tasks/done/052-folder-info-panels-refactor.md
Gemini AI 1d427f4cf5
Some checks failed
Release Binaries / release (push) Has been cancelled
v0.5.0: NomadArch - Binary-Free Mode Release
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)
2025-12-26 11:27:03 +04:00

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, and src/components/logs-view.tsx use token-backed utilities or shared helpers from components.css.
  • Panel surfaces, headers, section dividers, and scroll containers reference tokens rather than raw Tailwind color values.
  • .session-view global rule in src/index.css is replaced with a utility/helper equivalent.
  • Loading/empty states and action buttons keep their existing behavior and contrast in both themes.

Steps

  1. Catalog remaining raw color classes in the three components.
  2. Add reusable panel helpers (e.g., .panel, .panel-header, .panel-body) to components.css if helpful.
  3. Update component markup to use helpers and token-aware Tailwind classes.
  4. Remove residual bg-gray-* / text-gray-* from these components and clean up index.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.