Skip to content

Calm the UI: quieter inbox, worktree choice, details card, Usage page - #1410

Merged
currentbits merged 1 commit into
mainfrom
coder/calm-ui-redesign
Oct 3, 2026
Merged

currentbits merged 1 commit into
mainfrom
coder/calm-ui-redesign

Conversation

@currentbits

@currentbits currentbits commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Takes the app from ~35 always-visible controls in a default thread view to ~15. Roadmap and per-phase notes: #1409.

What changes

Thread list (inbox): Done / waiting / failed threads stay in the list. Quietly running threads fold into a collapsed Working shelf next to Snoozed and Settled, at the foot of the sidebar. A crew family files by its lead.

Usage: Hero total with per-provider rows (turns, share, tokens, cache) beside a smooth daily chart with axes. Totals row (Processed / Cached / Uncached / Output / Wasted). Breakdown with provider marks. Account limits move to a Limits tab as flat rows. Counts read 2.68M, not Σ 2680k.

Worktrees + header

  • New threads.setPendingWorktree. A draft picks Local checkout / New worktree plus From ‹base› in a strip under the composer. It's locked after the first user message or once a worktree exists, and the worktree is still created lazily on first send.
  • Thread details popover (ⓘ) holds the worktree pill + Merge, sandbox badge, context ring, sync pill and project commands, so creating a worktree no longer reflows the header. A warning context ring stays in the header, and /context opens the card.
  • A pending worktree now reads "Worktree on first send" instead of offering Set up worktree, which used to create one immediately.

Sidebar: One search row (search · filter toggle · project scope · new thread). Saved views and the Status/Provider/Tag/Group filters fold into a bar that shows on demand or whenever anything narrows the list. Threads/Planboard/Review/More are footer icons. The worktrees · N chip and the duplicate + are gone (New project is in the scope menu).

Composer + messages: Ghost pills. Options and the Normal transcript view become icons. Pin / Reply / Cite / Wait, what? and the secondary suggestion actions show on hover or focus (always visible on touch).

Header toggles: Terminal (open/close the pane), Views as an icon, and Right panel (same as ⌘.). Views no longer offers unbuilt panes.

Notes for review

  • No DOM changes to the transcript; the stream changes are CSS-only.
  • Behaviour shifts worth a look: the sync pill fetches when Thread details opens, not on every thread open. Notes and Exit spec mode stay in the header.
  • Tests that encoded the old layout were updated to assert the new one. deCardUi now pins composer pills as ghost, a deliberate reversal for this pass.
  • Not done, recorded on Calm UI redesign #1409: a "Worktree ready" timeline line, a "Previous worktree" option, merging the model and effort pickers, and moving Options into slash commands.

Testing

  • Rebased onto current main as one commit (only the redesign diff; this thread's branch also carried an unrelated Codex fork that main has since superseded).
  • npm run test:renderer: 2648 pass, 0 fail.
  • npm run test:electron (CI-like env: PATH limited to node/npm/npx, no inherited CODER_*): 4074 pass, 0 fail.
  • tsc --noEmit, sync-ipc-preload --check, vite build: clean.
  • Checked visually in the dev renderer: inbox shelves, Usage + Limits, draft workspace strip and base picker, details card with and without a worktree, sidebar filter bar / scope menu / footer, composer hover states, header toggles. Light theme not checked visually.

🤖 Generated with Claude Code

The app was busy: ~35 always-visible controls in a default thread, a
header that reflowed whenever a worktree appeared, and a stats page whose
total sat below the fold. This pass takes its cues from T3 Code.

Thread list
- The list is an inbox: done / waiting / failed threads stay up top;
  quietly running threads fold into a collapsed Working shelf beside
  Snoozed and Settled, anchored to the foot of the sidebar. A crew
  family files by its lead.

Usage
- Hero total with per-provider rows beside a smooth daily chart with
  axes; Totals row (incl. Wasted); Breakdown with provider marks.
- Account limits move to a Limits tab as flat rows.
- Report counts read 2.68M instead of Σ 2680k; brand provider colours.

Worktrees + header
- New threads.setPendingWorktree: a draft picks Local checkout or New
  worktree (plus base branch) in a strip under the composer. Locked
  after the first user message or once a worktree exists.
- Thread details popover holds the worktree pill + Merge, sandbox,
  context ring, sync pill and project commands. A warning context ring
  stays in the header; /context opens the card.
- A pending worktree reads "Worktree on first send" instead of offering
  Set up worktree (which created one immediately).

Sidebar
- One search row: search, filter toggle, project scope, New thread.
- Saved views + Status/Provider/Tag/Group fold into a bar that shows on
  demand or whenever anything narrows the list.
- Threads/Planboard/Review/More become footer icons; the worktrees chip
  and duplicate + go (New project lives in the scope menu).

Composer + messages
- Ghost pills; Options and the Normal transcript view become icons.
- Message actions and secondary suggestion actions show on hover/focus.

Header toggles
- Terminal, Views (icon) and Right panel toggles; Views no longer offers
  unbuilt panes.

Refs #1409

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@currentbits currentbits mentioned this pull request Oct 3, 2026
@currentbits
currentbits merged commit 531fd0f into main Oct 3, 2026
5 of 6 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: edc3e8e834

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/sidebarGroups.ts
Comment on lines +437 to +440
for (const t of inbox) {
const leadId =
(isCrewWorker(t) ? crewOwnerInList(t, byId, inboxIds) : null) ?? t.id;
(isQuietlyWorking(inboxById.get(leadId) ?? t) ? working : attention).push(t);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep blocked worker families out of the collapsed shelf

When an unpinned orchestration lead is still working but one of its workers is awaiting user input, this classifies every row in the family from the lead alone and moves the blocked worker to the Working shelf. That shelf is collapsed by default, so the worker's permission/question prompt and the lead's existing “needs you” indication are hidden; the run cannot progress until the user manually expands a generic Working count. Keep a family in the inbox whenever any member is awaiting input (or otherwise needs attention).

Useful? React with 👍 / 👎.

@currentbits
currentbits deleted the coder/calm-ui-redesign branch October 3, 2026 16:07
@currentbits currentbits changed the title Calm the UI: T3-style inbox, worktree choice, details card, Usage page Calm the UI: quieter inbox, worktree choice, details card, Usage page Oct 4, 2026
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.

1 participant