Skip to content

feat(web): start side threads from the composer - #112

Merged
nixuuu merged 1 commit into
devfrom
feat/side-thread-composer
Nov 4, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/side-thread-composer

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 4, 2026

Copy link
Copy Markdown
Member

Starting a side thread no longer opens a large modal form. It opens a "New side thread" view that works like starting a new thread: the composer in the centre with context above it.

  • Header: "Side thread of " and "Same directory on " (long names truncated tidily, full text in tooltips).
  • No project / computer / worktree / base-branch pickers — a side thread lives in the main thread's workspace. Model + effort and permission pickers come from the composer; the provider follows the main thread.
  • "Use main thread history" is a compact toggle under the composer (on by default, as before). The separate title field is gone; titles are generated as for other threads.
  • Sending creates the side thread through the same API (approvals, lineage unchanged) and opens it; Back/Esc returns to the main thread. Entry points in the thread panel and the command palette updated; the old dialog removed.

Checks: install, gen:check, typecheck, lint, format:check, web build; check:tmp 1069 pass / 153 skip / 1 fail in an unchanged test (agent-skills.test.ts revision count) — CI is the gate here. Browser checked both entry points, creation with history on/off, keyboard flow, long names, light/dark, desktop/narrow/phone.

@nixuuu
nixuuu merged commit 1baf645 into dev Nov 4, 2026
9 checks passed
@nixuuu
nixuuu deleted the feat/side-thread-composer branch November 4, 2026 22:29
nixuuu added a commit that referenced this pull request Nov 4, 2026
The row under the composer (project · computer · workspace · branch ·
permission) broke into messy two-line layouts with longer names, and the
base-ref picker had seams and repeated groups.

- **Layout:** the "where" pickers pack left at natural widths with a
small gap (truncating sensibly: branch names keep both ends, e.g.
`feat/est…-typesafe`; machine names shortened with the full name in
tooltip/menu); the permission picker stays anchored right; pairs only
fall into a grid where they wrap. Switching Current checkout ↔ New
worktree animates the branch picker in/out (reduced-motion aware). Same
layout for new and existing threads and the new side-thread view (#112).
- **Notes → icons:** sentences under the composer (computer offline,
scratch directory, delivery info, side-thread blockers) became
contextual icons with full tooltips (tap on touch, announced to screen
readers); blocking reasons are on the disabled send button's tooltip.
- **Base-ref picker:** local and remote branches each grouped once;
sticky section headers sit flush under the search field with no
see-through gap; the "default" badge isn't clipped. Same sticky-header
fix across shared grouped lists.
- **AGENTS.md:** UI rule to check short, typical and long texts at
desktop, narrow and phone widths, and to check overlays/sticky
headers/scroll areas for gaps.

Checks: install, typecheck, lint, format:check, check:tmp (1,069 pass,
154 skip, 0 fail before rebase), web build. Browser checked short,
typical and long cases at 1440/900/390/320 px, light/dark (112
screenshots), scrolled pickers.
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