Skip to content

Calm UI: finish the mockup (header, details card, hero, Scratch, worktree strip, sidebar) - #1412

Merged
currentbits merged 5 commits into
mainfrom
coder/calm-ui-deferred
Oct 3, 2026
Merged

currentbits merged 5 commits into
mainfrom
coder/calm-ui-deferred

Conversation

@currentbits

@currentbits currentbits commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Finishes the approved calm-UI mockup on top of #1410. An audit against the mockup found about 20 details unbuilt, listed on #1411; all of them are here. Closes #1411.

Header

  • Clicking the title opens the thread menu; the separate "…" button is gone. The menu gains Transcript view (Summary / Normal / Verbose, ⌃O).
  • The git next step is a quiet split button; its chevron opens Thread details.
  • The header ends in exactly three controls: details · terminal · right panel▾. The right panel's chevron opens the pane list (Git / Terminal / Browser / Simulator / Reset layout).
  • The project shows in the breadcrumb with its icon.

Thread details card

Rows as in the mockup:

  • Worktree path + copy, Open in
  • Sandbox, Context
  • Branch → base, Status (N changed · ahead/behind)
  • Commit / Push / Create PR (opens the same PR dialog as the git button)
  • Merge onto base, Change base
  • Notes (moved here; its dot rides on the ⓘ toggle)
  • Delete worktree

Worktrees

  • Setting up worktree… → Worktree ready · ‹branch› from ‹base› at the top of the conversation (derived from thread state, not stored).
  • Draft strip Previous worktree: a fresh worktree stacked on the latest other worktree thread's branch.
  • Base picker Start from origin: fetches the base (10s timeout, no prompts) and starts from origin/<base>; falls back to the local branch when origin has no copy.

New thread

  • Centered hero What should we build in ‹project›? with the composer and strip under it. The dotted project name moves the draft to another project.
  • or start without a project moves the draft into a built-in Scratch workspace:
    • It's one project, under Solenta's data dir, deliberately not git.
    • It has no worktree strip or controls, and a worktree is never armed there.
    • The Scratch hero reads "What should we build?" with "Pick a project".

Composer + stream

  • Model and effort read as one pill (claude-opus-5 · High), still two click targets.
  • The Options button is gone: /workflow <prompt> and /bestof <prompt> open the pickers.
  • The transcript view control left the toolbar; Attach sits beside Send.
  • Message actions are icons (Copy · Pin · Reply · Cite · Wait, what?). Copy is new.
  • Suggested work renders as dashed "+ title" chips.

Sidebar + Insights

  • ⌘K hint in search; a worktree glyph before the branch on cards.
  • A Hide sidebar button (⌘B) folds the sidebar to a rail. The rail is 84px on macOS so it holds the traffic lights.
  • Insights (the footer menu) is the one home for Usage / Automations / Fleet / Insights / Digest. The duplicate Pulse tab leaves the right panel.
  • Usage reads Insights / Usage; Limits rows carry provider marks.

Testing

  • npm run test:renderer: 2666 pass, 0 fail.
  • npm run test:electron (CI-like env): 4081 pass, 0 fail.
  • New electron tests with real git: Previous worktree stacking; Start from origin against a bare remote (commit only on origin present; local fallback); Scratch (one non-git project, idempotent, survives reload, moving a draft drops its worktree intent).
  • Renderer tests cover the title menu, card rows and actions, notes in the card, hero + chooser + Scratch variant, strip options, /workflow and /bestof, header split, sidebar collapse, and Insights navigation.
  • tsc --noEmit, sync-ipc-preload --check, vite build: clean.
  • Checked each screen in the dev renderer. Light theme not checked.

🤖 Generated with Claude Code

Willem and others added 2 commits October 3, 2026 12:30
…nd /bestof

- Transcript opens with "Setting up worktree…" while the first send
  materializes it, then "Worktree ready · <branch> from <base>". Derived
  from thread state; no stored message.
- Model and effort read as one pill ("claude-opus-5 · High") with two
  click targets, so each keeps its own picker.
- The Options button is gone: /workflow <prompt> and /bestof <prompt>
  open the Workflow / Best of N picker with the verb stripped and the
  prompt kept. /bestof focuses the Best of N list. A live run refuses
  with "Wait for this run to finish".

Refs #1411

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A draft can start a fresh worktree stacked on the project's most
recently active other worktree thread's branch: its committed work
carries over, uncommitted edits stay behind, and merge / PR land back on
that branch (the existing stacked-base path from #187). The trigger reads
"Previous worktree" while armed that way; picking plain New worktree
drops the stacked base again. Hidden when the project has no other
worktree thread.

App picks the source thread (same project, not archived, has a
worktree and branch, latest updatedAt) and passes it down; no backend
change beyond the existing setPendingWorktree + setBaseBranch calls.
An electron test proves the stack end to end with real git.

Refs #1411

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Willem and others added 3 commits October 3, 2026 13:38
Header
- The thread title is the menu trigger (chevron); the separate "…" is
  gone. The menu gains a Transcript view group (Summary / Normal /
  Verbose, ⌃O).
- Notes moves into Thread details; its dot rides on the details toggle.
- The git next step is a quiet outline split button; the chevron opens
  Thread details.
- The project crumb shows its icon as plain text, not a mono pill.

Thread details
- Rows like the mockup: Worktree path + copy, Open in, Sandbox /
  Context; Branch → base, Status (N changed · ahead/behind), Commit /
  Push / Create PR, Merge onto base, Change base; Notes; Delete
  worktree. WorktreeControl grows a rows layout with the same data
  attributes; the standalone control keeps its pill.
- Create PR from the card reuses the git button's PR dialog (now also
  reachable when there is no suggested step).

Composer + messages
- The transcript view control leaves the toolbar (title menu + ⌃O);
  attach sits beside Send.
- Message actions are icons (Copy · Pin · Reply · Cite · Wait, what?);
  Copy is new; a pinned message keeps its actions visible.

Refs #1411

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…chips

- New-thread hero: the draft centres "What should we build in
  <project>?" with the composer and workspace strip under it; the dotted
  project name moves the draft to another project.
- Start from origin: a switch in the base picker; the lazy worktree
  fetches the base (10s, no prompts) and starts from origin's copy,
  falling back to the local branch when origin has none. New
  ThreadInfo.worktreeFromOrigin, set through setPendingWorktree.
- Sidebar: ⌘K hint in search, worktree glyph before the branch on cards,
  and a collapse button in the title row: the sidebar folds to a rail
  (⌘B toggles; the rail holds the macOS traffic lights).
- Insights is the one home for Usage / Automations / Fleet / Insights /
  Digest: the duplicate Pulse tab leaves the right panel (those views
  open it on Environment).
- Suggested work renders as dashed "+ title" chips with file / dismiss
  icons.
- Usage breadcrumb reads Insights / Usage; Limits rows carry the
  provider mark.
- Git split chevron also follows the Checks link state.

Refs #1411

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Views folds into the right-panel toggle: the button toggles the panel,
  a chevron beside it opens the pane list (Git, Terminal, Browser,
  Simulator, Reset layout). The header ends in exactly three controls:
  details · terminal · right panel. Without App wiring the standalone
  Views icon remains.
- Start without a project: a built-in Scratch workspace (one project,
  flagged scratch, under Solenta's data dir, deliberately not git). The
  hero's "or start without a project" moves the draft there; the Scratch
  hero reads "What should we build?" with "Pick a project" to move back.
  Scratch hides the worktree strip and worktree controls, never arms a
  worktree on create, and a draft moved into it drops its worktree
  intent. New projects.ensureScratch channel; ProjectInfo.scratch
  persists through store load.

Closes #1411

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@currentbits currentbits changed the title Calm UI follow-ups: worktree line, one model·effort pill, /workflow + /bestof, Previous worktree Calm UI: finish the mockup (header, details card, hero, Scratch, worktree strip, sidebar) Oct 3, 2026
@currentbits
currentbits merged commit 577b4e2 into main Oct 3, 2026
6 checks passed
@currentbits
currentbits deleted the coder/calm-ui-deferred branch October 3, 2026 16:07
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.

Calm UI: finish the deferred mockup items

1 participant