Commit Graph

139 Commits

Author SHA1 Message Date
alan d189f61eee Animate retained mobile chat reopening without remounting panes 2026-11-08 00:23:00 +00:00
alan 78bb5dcd9b Construct chat row contents only when slivers mount them 2026-11-08 00:11:39 +00:00
alan b08d458c4b Keep asynchronous clipboard files with their original composer 2026-11-08 00:10:50 +00:00
alan 292ed92dc3 Add mobile chat opening identity transition 2026-11-08 00:10:35 +00:00
alan 63758cd176 Support unfocused chat composer paste 2026-11-08 00:10:35 +00:00
alan 6a3daccd6d Keep mobile chat selectors in header row 2026-11-07 22:48:09 +00:00
alan bbcfcd32a2 Keep Cupertino chat summaries and contextual prompts readable 2026-11-07 21:08:05 +00:00
alan 1da3da92a3 Preserve caption focus and scale readable chat controls 2026-11-07 21:02:41 +00:00
alan cb0942b5ee Keep enlarged chat header controls reachable in short viewports 2026-11-07 20:50:30 +00:00
alan 4bbbe01633 Keep chat controls readable and expose labeled app navigation 2026-11-07 20:46:02 +00:00
alan ef0571c562 Reduce quick switch layout churn and flatten planar depth transforms 2026-11-07 19:44:54 +00:00
alan b586b067bb Use a neutral chip icon for compact chat model control 2026-11-07 13:11:22 +00:00
alan 63bf5b8e75 Measure retained peek chrome without constraining its hidden contents 2026-11-07 02:59:42 +00:00
alan 23eee6f3f4 Merge branch 'chat/header-islands'
# Conflicts:
#	app/tool/capture/README.md
2026-11-07 02:50:13 +00:00
alan e9d66af785 Separate chat selectors from Files and More actions 2026-11-07 02:49:44 +00:00
alan 9263cb6e4f Merge branch 'fix/mobile-motion' 2026-11-07 02:47:45 +00:00
alan 7b5a0e0310 Smooth mobile chat swaps and measure the actual peek viewport 2026-11-07 02:47:34 +00:00
alan 9e6d55942f Refresh retained explorer when chat directory metadata arrives 2026-11-07 02:41:52 +00:00
alan 1a0f999fb1 Show prompts delivered into the running reply distinctly 2026-11-07 01:42:48 +00:00
alan 983136a2b4 Merge branch 'worktree-agent-a8f377357a0dfcebf' 2026-11-07 01:18:24 +00:00
alan 357affe207 Phone chat peek: transcript-only peek, tap-or-scroll, animated switch
The inactive (peek) pane no longer shows the chat's bar: ChatPanePresentation
tells the conversation its role and ChatPaneBarReveal keeps a resting peek's
bar offstage (zero height, not painted), so the peek reads its transcript from
the top. A drag on the peek scrolls that transcript; a tap anywhere on it,
even over a button or link, activates the chat (ChatPeekTapRecognizer accepts
on release ahead of the arena sweep and yields to drags past the slop). The
'chat-peek-<id>' semantics stay a labelled button.

Switching animates (260 ms, Cubic(.2,.8,.2,1)): the tapped chat rises over the
active one with its bottom edge pinned, then the covered chat slides up into
the slot from the bottom edge; each bar fades and slides in or out over the
rise. Content boxes keep their fixed size, so ticks move and clip retained
pictures without laying a transcript out again. Reduced motion jumps. The
old focus stripe is gone.
2026-11-07 01:17:38 +00:00
alan 2c1fa52e86 Merge branch 'main' into ws-files-panel 2026-11-07 01:06:30 +00:00
alan 5a1d503f58 Add chat files panel explorer shell with sorting and views 2026-11-07 01:06:23 +00:00
alan 0ea249be36 Merge branch 'worktree-agent-a979f00543edb836c' 2026-11-07 00:49:55 +00:00
alan 5e1498c4b2 Chat composer: accent focus ring and wider desktop bottom margin
While the field has focus the composer pill shows a thin translucent ring
and soft glow in the chat's accent (its own colour, else the theme
primary), fading in and out; nothing is drawn unfocused. On desktop hosts
the composer keeps 24 px from the window's bottom edge instead of 12
(phones unchanged), split by the same host test as Enter-sends.
2026-11-07 00:48:12 +00:00
alan 21542fb4f0 Keep background task status badges legible on Cupertino 2026-11-07 00:00:21 +00:00
alan cd175e099b Present background tasks as adaptive status cards 2026-11-06 23:58:05 +00:00
alan a0992eb2e7 Keep one dismiss action in the Cupertino pane picker 2026-11-06 22:16:08 +00:00
alan 778b368f03 Use the visible chat list to choose an added pane 2026-11-06 22:14:17 +00:00
alan be6c6a471a Preserve stock Navigator Back for native phone chat panes 2026-11-06 21:49:11 +00:00
alan 2cd8003e3a Allow adding chats on phones and keep their native detail route 2026-11-06 21:46:45 +00:00
alan 9a0d5de26a Restore local chat layouts and add compact or hidden chat sidebar 2026-11-06 19:16:18 +00:00
alan 4bae206afd Connect independent resizable chat panes with routed focus and narrow layouts 2026-11-06 18:16:33 +00:00
alan 6dfb5d7a4b Show recorded timing and progress in background task lists 2026-11-06 15:08:11 +00:00
alan 9e7140449f Fix web transcript cross-message selection 2026-11-05 16:34:58 +00:00
alan d274516f74 Merge: chat composer pops in with the bar 2026-11-04 21:58:28 +00:00
alan b71345fe4e Chat composer pops in with the bar when a chat opens 2026-11-04 21:58:11 +00:00
alan 38cd92813b Chat: choosing a chat focuses its composer on desktop
A row click or tap, Next chat and a created chat put the keyboard in the
composer, as Ctrl+1-9 does, on desktop hosts (native or desktop browser, any
window width) and after a mouse or trackpad click anywhere. A finger tap on a
phone or tablet (Android, iOS, mobile browsers) leaves focus alone so the
on-screen keyboard does not cover the transcript. Closed chats are not
focused, and a request yields when another control took focus meanwhile.
2026-11-04 20:42:20 +00:00
alan c38f43cae3 Merge: Next chat button cycles through the list 2026-11-04 18:22:45 +00:00
alan 9a7adf88ab Chat bar: Next chat button cycles to the next chat in list order 2026-11-04 18:22:27 +00:00
alan fc94210595 Chat: answered questions collapse into their turn like tool calls 2026-11-03 19:38:52 +00:00
alan 6e8c9b1a9e Chat: a sent message rises in from the composer
The just-sent (or queued) message slides up 20px, fades and grows from
0.96 over 280ms on an emphasized decelerate curve. Only a send marks it:
history, scroll restore, other devices, replies and the server copy
replacing the local one appear in place. Row keys follow the operation
id so the server copy keeps the row. Reduced motion shows it at once.
The capture fixture now accepts chat_prompt.
2026-11-03 15:59:34 +00:00
alan ad4233f7b8 Chat: /new continues the same chat on a fresh session
The composer's /new used to create a separate chat. It now sends
chat_new_session. The server starts a fresh native session on the chat's
own harness (OpenCode, Codex or Claude Code) and re-keys the
operator_sessions row in one transaction. The chat keeps its title,
directory, backend, colour, star, model and mode. The old row is kept
unlisted with replaced_by, and its native session stays resumable.

The reply and the chat_session_changed push carry previous_id, so every
client swaps the row in place and an open conversation follows it to the
fresh, empty transcript with a notice.
2026-11-03 14:06:44 +00:00
alan edc1543874 Merge: background-task notices grouped in the chat 2026-11-03 12:45:18 +00:00
alan 44fa197d0d Merge: Ctrl+1-9 focuses the opened chat's composer 2026-11-03 12:45:14 +00:00
alan 1a9db0206c Chat: group consecutive background-task notices into one collapsed chip
Two or more consecutive Claude Code task notices fold into one
task_notices row: a chip 'N background tasks' (tinted when one failed)
that opens a sheet with one compact row per task (outcome icon, summary,
outcome word), like the tools and permissions chips. A lone notice stays
one line. The server also treats Claude Code's [SYSTEM NOTIFICATION]
banner as harness text, so a bannered notification without an origin is
still a notice, never the operator's turn. The chat fixture gains
?tasks=N.
2026-11-03 12:44:57 +00:00
alan d6f636a325 Chat: Ctrl+1-9 puts the keyboard in the opened chat's composer
A chat opened from the keyboard asks its composer for focus; the composer
takes it after the frame it is built in (new detail pane or phone page), or
at once when that chat is already open. Taps and other opens cancel the
request, so they keep focus where it was. The capture kit's press step
accepts modifier chords such as Control+2.
2026-11-03 12:42:28 +00:00
alan 777c444529 Chat: the transcript ends at the composer's top; the colour wash starts at the bar's top edge 2026-11-03 12:27:53 +00:00
alan d34185b56c Merge: chat colours, Ctrl+1-9, starred chats alphabetical
# Conflicts:
#	app/lib/features/chat/conversation/chat_thread_view.dart
#	app/tool/perf/perf_fixture.dart
#	internal/protocol/chat.go
#	internal/server/chat_close.go
#	internal/server/chat_sessions.go
2026-11-03 11:22:50 +00:00
alan 56e78ef940 Chat colours: the tint and bar span the divider; a stronger top wash; capture fixture
?colors=1 (with ?chats=N) names, stars and colours the fixture chats and
keeps colours picked with chat_color, for capture review.
2026-11-03 11:12:31 +00:00