Commit Graph

210 Commits

Author SHA1 Message Date
alan de0c06cec1 Chat: slash focuses the composer; Ctrl+Tab over one pane toggles recent chats
A bare / typed outside any text field puts the keyboard in the active
chat's composer through the existing focus request, after the frame, so
the slash is not typed into it. Ctrl+Tab with a single pane now swaps in
the chat shown before the current one and back; two or more panes keep
cycling panes. The visit remembers its shown chats most-recent-first,
dropping closed, /new-moved and other-server ids.
2026-11-07 00:46:02 +00:00
alan cd175e099b Present background tasks as adaptive status cards 2026-11-06 23:58:05 +00:00
alan b13cf328c9 Reuse the visible native chat list when adding a pane 2026-11-06 22:19:34 +00:00
alan 8473b24d1b Keep chat bodies opaque and animate only a small focus accent 2026-11-06 22:14:50 +00:00
alan 778b368f03 Use the visible chat list to choose an added pane 2026-11-06 22:14:17 +00:00
alan cad9bbd0f7 Promote active mobile chats immediately and composite a short reveal 2026-11-06 22:08:42 +00:00
alan be6c6a471a Preserve stock Navigator Back for native phone chat panes 2026-11-06 21:49:11 +00:00
alan 2cadebab4b Lay out chat content against the animated pane viewport 2026-11-06 21:48:25 +00:00
alan 2cd8003e3a Allow adding chats on phones and keep their native detail route 2026-11-06 21:46:45 +00:00
alan 6bba6cf8d8 Animate focused mobile chat panes while preserving saved geometry 2026-11-06 21:46:45 +00:00
alan 803a067edf Populate metadata for every restored chat pane 2026-11-06 19:19:24 +00:00
alan 9a0d5de26a Restore local chat layouts and add compact or hidden chat sidebar 2026-11-06 19:16:18 +00:00
alan 8a7b704940 Verify sidebar focus modes retain chat panes and drafts 2026-11-06 19:15:38 +00:00
alan c4776657c8 Persist validated device-local chat workspace layouts 2026-11-06 19:11:13 +00:00
alan 7aec6738bd Cycle open chat panes with Control Tab and focus their input 2026-11-06 19:05:45 +00:00
alan 417a696785 Keep background pane updates from stealing destination navigation 2026-11-06 18:24:58 +00:00
alan 4bae206afd Connect independent resizable chat panes with routed focus and narrow layouts 2026-11-06 18:16:33 +00:00
alan 30372ce8b5 Preserve editing shortcuts outside multi-pane layouts 2026-11-06 18:04:19 +00:00
alan 93cad08bef Preserve composer selection shortcuts in a single chat pane 2026-11-06 18:04:02 +00:00
alan 9582261d21 Integrate resizable chat workspace 2026-11-06 18:01:30 +00:00
alan dfcdf1c154 Add resizable split chat workspace primitives 2026-11-06 18:01:14 +00:00
alan ce59b12702 Add session menu actions for opening split chats 2026-11-06 17:56:22 +00:00
alan 7ce754f631 Remove unused timestamp test import 2026-11-06 15:09:44 +00:00
alan 6dfb5d7a4b Show recorded timing and progress in background task lists 2026-11-06 15:08:11 +00:00
alan 5cb2da9028 Use day-first written dates and 24-hour chat timestamps 2026-11-05 22:14:48 +00:00
alan 9180e84109 Show discreet local timestamps on chat messages 2026-11-05 22:00:13 +00:00
alan 9e7140449f Fix web transcript cross-message selection 2026-11-05 16:34:58 +00:00
alan c7e57973a0 Support Command conversation shortcuts in Mac browsers 2026-11-05 13:59:38 +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 5b17794179 Chat: code blocks and inline code use the monospace font 2026-11-04 02:15:50 +00:00
alan 8c7093d1e6 Merge: chat list shows running turns and background tasks for every chat 2026-11-03 19:54:35 +00:00
alan 45c933c176 Chat list: spinner and background-task badge from server activity on every row
The list applies chat_activity pushes and each row's activity by seq, so
every listed chat shows a running turn, not only the chat open here. An
idle chat with running background tasks wears a quiet badge with tooltip and
semantics "Background tasks running (N)". Older servers keep the old
behaviour. List rows that never changed carry the server's current seq so
they order after snapshots kept from an earlier server process.
2026-11-03 19:53:52 +00:00
alan 0d459f69af Merge: answered chat questions collapse into their turn like tool calls 2026-11-03 19:39:19 +00:00
alan fc94210595 Chat: answered questions collapse into their turn like tool calls 2026-11-03 19:38:52 +00:00
alan a7d550b94b Merge: a mouse click on a chat link opens it despite small pointer drift 2026-11-03 18:36:10 +00:00
alan 7f313cf5ef Chat links: a mouse click opens the link even when the pointer drifts
The selection area claimed a primary mouse press on a link as a selection
drag once the pointer moved 2 px, so in the browser ordinary clicks with a
little hand or trackpad movement opened nothing. A link's recognizer now
accepts a primary mouse press on pointer down, as an anchor does; the click
still cancels past the tap slop, drags from plain text still select across
links, and touch long press keeps Copy link.
2026-11-03 18:35:43 +00:00
alan c320dac131 Chat list: tool calls and notices never mark a chat New
Only visible assistant reply text, a pending form or an unresolved
permission request is unread. Tool results, user prompts, harness
notices/agent reports and blank deltas only drive the working state.
2026-11-03 18:34:29 +00:00
alan 0ac9c5a8a9 Merge: clickable links in chat 2026-11-03 16:17:54 +00:00
alan 9bfd16c6e5 Chat: highlighted, clickable links in messages
Markdown links, autolinks and bare http(s)/www. URLs open externally through
url_launcher (http, https and mailto only) in assistant markdown and operator
messages; code is never linkified. Links use the host primary colour with an
underline that thickens on hover, and offer Copy link on long press and
right-click without breaking text selection.
2026-11-03 16:17:26 +00:00
alan 0f12c8a01b Merge: Material host and controls on every platform 2026-11-03 16:08:08 +00:00
alan 493e950195 App uses the Material host and controls on every platform
iOS and macOS no longer switch to the Cupertino host or Cupertino controls by
target platform; they render the same Material UI as web and Android.
Cupertino paths remain for an explicit cupertino: true host. Flutter's
automatic platform behaviours (scroll physics, text selection, back-swipe
transitions) are unchanged.
2026-11-03 16:07:48 +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