Skip to content

v1.0.0

Choose a tag to compare

@danted4 danted4 released this 30 Jan 19:49
· 47 commits to main since this release

What's Changed

Release Notes

Electron UI & Project Selection

Desktop App Experience

  • Custom app icons — Code-Auto now displays custom icons in the macOS dock instead of the default Electron icon. Icons switch automatically between dark and light variants based on system theme.
  • App branding — Application name set to "Code-Auto" for consistent identification in the dock and window title.
  • Theme-aware dock icons — Dock icon updates dynamically when switching between light and dark mode.

Project Folder Selection

  • Open Project on startup — On first launch (or when no project is selected), the app prompts you to choose a project directory. The selected path is persisted across sessions.
  • Native folder picker — Uses the system’s native directory picker (via Electron IPC) for selecting project folders.
  • Recent projects — Quick access to recently opened projects for faster switching between workspaces.
  • Project-scoped operations — All tasks, worktrees, and agent logs are scoped to the selected project. The X-Project-Path header is sent with API requests to ensure correct project context.
  • Open Project Gate — If you dismiss the project selection modal, it won’t reappear until the next session. You can still open a project anytime via the sidebar button.

Bug Fixes

Kanban Board & Task Loading

  • Fixed greyed-out columns on startup — Added default CSS variables for all workflow phases so columns render correctly before data loads.
  • Fixed task loading race conditions — Startup script now waits for the Next.js server and API to be ready before launching Electron. Task loading includes retry logic and visibilitychange listeners for more reliable loading.
  • Fixed API calls missing project context — All task-related fetch calls now use apiFetch, which sends the X-Project-Path header so the backend uses the correct project directory.

Blocked Task Editing

  • Edit blocked tasks — Tasks that fail during planning (e.g., "Connection stalled") can now be edited and restarted. A new Edit Task modal lets you change the title, description, CLI tool, CLI configuration, and human review settings, then restart planning.
  • Edit modal placement — Edit Task modal is rendered at the Kanban board level to avoid interference from drag-and-drop listeners on task cards.
  • Form data persistence — Edit modal form fields no longer revert when the task store refreshes from polling; initialization runs only when the modal opens.

Modal & Button UX

  • Fixed unresponsive Cancel/Close buttons — Cancel and Close (X) buttons in the Edit Task modal now work correctly. Added type="button", stopPropagation, and onPointerDown handlers to prevent event interception by dnd-kit.
  • Theme-aware buttons — Copy Logs, Cancel, and Close buttons in modals (planning logs, task detail, edit task, new task) now use theme-based CSS variables and adapt correctly to light/dark mode.

CLI Tools & Readiness UI

  • Fixed CLI readiness layout shift — The CLI tool dropdown and readiness section (Amp/Cursor preflight) no longer cause layout jumps when loading. A wrapper reserves space for both from the first paint, and skeleton loaders are shown during adapter and readiness checks.
  • Fixed Cursor model visibility — "composer-1" and "auto" models now appear in the Cursor model selection dropdown. Removed filtering that excluded these models and added them to fallback options.

Backend & API

  • Fixed scope errors in start-development route — taskPersistence and projectDir are now passed explicitly to helper functions (executeSubtasksSequentially, waitForSubtaskCompletion, startAIReviewAutomatically, etc.) instead of relying on closure scope.

Developer Experience

  • ESLint & Prettier — Linting and formatting configured with ESLint 9 (flat config) and Prettier. Pre-commit hooks run lint-staged on staged files.
  • TypeScript in pre-commit — tsc --noEmit runs before commits to catch type errors early.
  • Scripts refactor — start and build scripts updated for a desktop-first workflow. icon:build runs before start to generate theme-aware dock icons.

Full Changelog: https://github.com/danted4/Code-Auto/commits/v1.0.0