Skip to content

Redesign the desktop UI without changing what it does - #2

Merged
TaniaRajpoot merged 3 commits into
devweekends:mainfrom
M-Talha-Atif:talha/desktop-redesign
Nov 28, 2026
Merged

TaniaRajpoot merged 3 commits into
devweekends:mainfrom
M-Talha-Atif:talha/desktop-redesign

Conversation

@M-Talha-Atif

@M-Talha-Atif M-Talha-Atif commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

A redesign of every screen the app shows. It changes how screens look, not what the app sends to the daemon or the cloud server, or what it saves.

Not touched: local-daemon-bridge.mjs, src-tauri/, src/services/, src/utils/ (including the diff reader) and dependencies. App.tsx changes by one type import. api/cloud.ts changes types only.

Working features that stay as they were

  • Account: sign in, sign up, the GitHub and Google buttons, the local fallback when the server is down, sign out, save display name.
  • Tasks: start (agent, model, model per step), approve, reject, stop, resume, delete, commit button, live events, copy logs, failure reason, and the real diff when the daemon stores one.
  • Review: list of waiting tasks, approve, reject, open the task.
  • Reading data: Home, Projects (runs and Tasks tab), Insights, notifications, daemon status, reconnect.
  • New: Try again on a failed task (see below).
  • Shell: theme switch, Ctrl+K, Ctrl+N, Ctrl+B, back and forward.

The screen-by-screen list, including what is demo, is in design/current-functionality.md.

How it was checked

Check Result
Same script on main and on this branch, with a stand-in daemon and cloud server: 41 scenarios 49 recorded messages (daemon commands, HTTP requests, saved settings, copied text) identical; 57 screen checks unchanged; no console errors
Real local-daemon-bridge.mjs and backend watcher (demo runner), throwaway database and repo Start and approve, start and reject, delete, stop, resume: 10 of 10 steps
Try again, on a real daemon (demo runner) and the stand-in daemon 15 of 15 checks, no console errors
pnpm build Passes. On main it fails with 30 type errors
Screens at 1440x900 and 1024x700 No sideways overflow or console errors; faults found by eye were fixed

The script's way of moving around was updated for the new layout; what it checks was not. Its reconnect check now waits for the reconnect instead of a fixed 2.6 s. Not checked: the packaged Tauri window, a real Claude Code run, a real cloud server, and use by another person. The script is not part of this pull request.

Changed on purpose (please check these)

  • All 14 pages stay in the sidebar, in the old three groups; sample-only pages are tagged Demo. Overview is now Home, Tasks is All tasks, Usage & Analytics is Insights. The top bar spans the window, with live task lists in the sidebar.
  • All tasks is its own page and a task opens full width. The task list's resize, collapse and "Maximize" are gone. "Execution" is "Summary", "Artifacts" is "Reports".
  • Projects shows cards first, then one page per project. Settings > General now holds theme and notifications.
  • Removed duplicates (second New Task, sidebar search, second Approve/Reject/Stop) and a sidebar user menu nothing could open.
  • Removed made-up values from real data: real project cards, "Tests passing, staged" on Review, and the fixed model box on Home. The five-step bar says "Estimated" unless the daemon sent step events, and "Test" turns green only for a real test step.
  • Simpler layouts for the sample-only Workflows and Models pages; some of their sample panels and dead sub-menus are gone. Some labels are reworded.
  • New: Try again on a failed task opens New task with the same text and folder. Nothing is sent until Start, which creates a new task; the failed one stays in history. If the daemon cannot run the old agent, Claude Code is selected and the form says so. Per-step model choices are not carried over.
  • Also removed, none of which did anything: the accent colour picker, the Save buttons on General and Notifications, the Workflows zoom buttons and rules note, the Models cost comparison, routing health panel and side menu, and the project count strip on Home.
  • New warnings that change no behaviour: sample code, agents the daemon cannot run, and sign-in not checking the password while the server is down.
  • Not built from the design: the review verdict, grouped changes, plan approval and line comments (they need backend work).

Problems found, not fixed here (they change behaviour)

  1. The daemon watcher the app starts never stores a diff (only daemon/src/fake.ts does). In the running app the Changes tab shows sample code next to a real Approve button. This PR labels it; the fix belongs in codehands-backend.
  2. parseDiffToFiles splits a standard git diff into two entries per changed file; the first has no code.
  3. New task still defaults to "CodeHands Native Orchestrator", which the daemon cannot run.
  4. With the cloud server down, sign-in accepts any password.
  5. Insights shows every Claude model as "Claude 3.5 Sonnet".
  6. The device token is saved in a plain file, not the system keychain.

- Calmer layout: 5 main menu items plus the sample-only screens under "More screens (Demo)", one place for each action,
  and the task screen goes from four columns to a task list and one panel.
- What the app sends and saves is unchanged: daemon commands, cloud requests, stored settings and the diff reader.
- Everything made up is labelled Demo. Sample code is flagged wherever it could be approved.
- Fixes the 30 TypeScript errors on main with type-only changes, so the build passes again.
- design/current-functionality.md lists what works today, what is demo, and problems found but not fixed.
- Full-width top bar, shortcut bar, All tasks as its own page, a full-width task page with a view for each status,
  a project grid with a page per project, a single-box New task, grouped command palette and a notifications drawer.
- All 14 pages are in the sidebar in the old three groups; sample-only pages are tagged Demo.
- What the app sends and saves is unchanged. The five-step bar says when it is estimated.
- Notes updated with how to try the app and what was checked.
Opens New task with the failed task's text and folder. Nothing is sent until Start, which creates a new task and keeps
the failed one in history. If the daemon cannot run the old agent, Claude Code is selected and the form says so.
@TaniaRajpoot
TaniaRajpoot merged commit f08f6ae into devweekends:main Nov 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants