Commit Graph
119 Commits
Author SHA1 Message Date
sam b7b6078939 fix(ui): chat suggestions leave out prompts already asked in the conversation 2026-11-14 12:27:17 +11:00
sam 39bfde195c fix(ui): opening the chat window keeps the minimised bar's width 2026-11-14 12:20:47 +11:00
sam 67ae6afec1 fix(ui): the floating chat window follows the page when the browser pans to the focused input 2026-11-14 12:18:44 +11:00
sam b314968328 fix(ui): the floating chat window stays above a tablet's on-screen keyboard 2026-11-14 12:16:08 +11:00
sam 432e6280d6 feat(ui): the minimised chat composer is wider and taller, with larger text 2026-11-14 12:14:02 +11:00
sam 855e8ceb3b fix(ui): the minimised chat composer docks at the bottom of the screen 2026-11-14 11:18:22 +11:00
sam 104854da2a fix(ui): accessibility check targets the New task dialog; keep focus outlines on dock handles (#1963) 2026-11-14 04:09:20 +11:00
sam 81c59d7fac fix(chat): touch drags the minimised bar from anywhere, as a mouse does 2026-11-13 23:26:58 +11:00
sam a2b82b4c25 fix(chat): the dock drags, resizes and swipes through vueuse; touch can move the minimised bar 2026-11-13 23:24:30 +11:00
sam f9ac9229d5 fix(ui/chat): failures read from the error catalogue 2026-11-13 13:41:23 +11:00
sam e389e1a21e fix(ui): Escape on the chat rename dialog closes the dialog only 2026-11-13 13:30:19 +11:00
sam 6b7f6f2731 fix(ui): the open workflow is in the URL, so chat knows which one you mean 2026-11-13 13:26:05 +11:00
sam f5be0d60dd fix(ui): chat prompts hide until a model is connected and scroll as one row 2026-11-13 13:19:29 +11:00
sam 851cb78b04 fix(chat): a failed turn reads as a plain sentence, shown as an error 2026-11-13 13:16:11 +11:00
sam f183a397cb fix(ui): slash palette at label size with descriptions under each command 2026-11-13 13:12:17 +11:00
sam 8dba4e6dec feat(ui): topbar chat button; a docked chat hides when minimised 2026-11-13 13:05:42 +11:00
sam 8c3464163d fix(ui): centre the minimised chat bar on one line 2026-11-13 12:55:11 +11:00
sam 260732f400 feat(ui): rework the chat dock header and empty state; fix resize tracking 2026-11-13 12:52:16 +11:00
sam 29e263ab23 feat(chat): float the chat dock anywhere on screen (#1904)
The chat dock is now a free-floating window on desktop-width screens:
the header drags it to any position, all eight edges and corners resize
it by pointer and keyboard (role=separator with aria-orientation and
valuenow), and Left / Float / Right controls in the header switch
modes explicitly. Dragging near a side edge shows the pinned split
preview and commits on release; minimising leaves the bar in place and
draggable; Ctrl+/ toggles the window. The layout persists under
archie.chat.dock.v2, migrating and removing the old archie.chat.dock
key. Phone width keeps the full-width bottom bar.
2026-11-13 00:47:07 +11:00
sam 5baef8805d Merge branch 'main' into fix/1862-more-menu
ci/woodpecker/pr/quality Pipeline was canceled
Quality / check (pull_request) Failing after 5m19s
2026-11-12 13:42:04 +00:00
sam 82ca9613c7 fix(chat): anchor the More popover outside the tooltip chain (#1862)
Quality / check (pull_request) Canceled after 0s
ci/woodpecker/pr/quality Pipeline was canceled
Nested inside TooltipTrigger as-child, PopoverTrigger's PopperAnchor ref
resolved to a component object instead of the button, so the popover never
became positioned and its content stayed parked off-screen at
translate(0, -200%): the menu opened in state only, invisible to the user.
Wrapping the tooltip in an explicit PopoverAnchor makes the anchor the real
button element, so the menu renders beside it. The tooltip (accessible name
More), the menu items, and the rename/branch dialog are unchanged.

Adds ui/test/chat-more-menu.test.ts, a browser behaviour check (vite dev
server + headless Chrome over CDP, API mocked in-page) that fails on the old
nesting with the menu at (0, -526) and passes with it in the viewport; it
skips when no Chrome binary is installed.
2026-11-13 00:40:53 +11:00
sam 2bec268b29 Merge branch 'main' into feat/1905-1906-chat-suggestions
ci/woodpecker/pr/quality Pipeline was successful
Quality / check (pull_request) Successful in 11m7s
2026-11-12 13:26:03 +00:00
sam 7b295df8ff feat(chat): page-aware suggested prompts beside the composer, sent on click (#1905, #1906)
ci/woodpecker/pr/quality Pipeline is pending
Quality / check (pull_request) Canceled after 0s
The suggestion strip moves out of the empty transcript into the composer,
above the field, so prompts stay reachable without scrolling to the top and
show in the collapsed bar where there is room (hidden below the md breakpoint
in the collapsed bar, wrapping when expanded on a phone). Clicking a prompt
calls sendMessage({ textOverride }), which sends at once while no turn runs
instead of filling the composer. Prompt sets are keyed off the current route
name, the same identity the page tag uses: task detail (naming the open task),
tasks, events, workflows, schedules, settings, and a default set. The empty
transcript keeps its logo and no longer owns the fixed prompt list; the dead
prompt re-emit in ChatTranscript is removed.
2026-11-13 00:25:18 +11:00
sam 607bfddd0e Merge branch 'main' into feat/1907-chat-thinking
Quality / check (pull_request) Successful in 12m49s
2026-11-12 13:24:24 +00:00
sam 433ea390a6 feat(chat): render the live turn's thinking in the dashboard (#1907)
Quality / check (pull_request) Canceled after 0s
ci/woodpecker/pr/quality Pipeline was successful
Reasoning frames accumulate into streamingTurn.reasoning and the live row
shows them in a collapsible Thinking trace built from the components/ui
trace pattern, with a spinning icon and shimmering title while no reasoning
has arrived yet. A turn that produces no reasoning renders no trace, and
reasoning never leaks into the reply text.
2026-11-13 00:21:27 +11:00
sam 07e4e8f727 Merge branch 'main' into feat/1883-1885-chat-dock
ci/woodpecker/pr/quality Pipeline was successful
Quality / check (pull_request) Successful in 11m36s
2026-11-12 12:13:43 +00:00
sam 9dd55646bb feat(chat): count unseen replies and follow the phone keyboard (#1883, #1885)
ci/woodpecker/pr/quality Pipeline was canceled
Quality / check (pull_request) Canceled after 0s
2026-11-12 23:03:14 +11:00
sam 1c5915f521 feat(ui): show the page context tag above the chat composer (#1854)
ci/woodpecker/pr/quality Pipeline was successful
Quality / check (pull_request) Successful in 4m23s
2026-11-12 22:57:21 +11:00
sam 1730938e03 Merge branch 'main' into feat/1861-task-context-picker
ci/woodpecker/pr/quality Pipeline was successful
Quality / check (pull_request) Successful in 9m53s
2026-11-12 11:50:37 +00:00
sam 4694406434 Merge branch 'main' into feat/1884-copy-markdown
ci/woodpecker/pr/quality Pipeline was successful
Quality / check (pull_request) Successful in 3m55s
2026-11-12 11:50:19 +00:00
sam b8c394767c Merge pull request 'feat(chat): link #N in replies to tasks that exist (#1882)' (#1895) from feat/1882-task-chips into main
ci/woodpecker/push/deploy Pipeline is pending
deploy / plan (push) Canceled after 0s
deploy / gate (push) Canceled after 0s
deploy / archied-image (push) Canceled after 0s
deploy / agent-image (push) Canceled after 0s
deploy / dist-zip (push) Canceled after 0s
Reviewed-on: #1895
2026-11-12 11:50:09 +00:00
sam 77db59141c feat(ui): pin the chat dock to a side edge (#1853)
ci/woodpecker/pr/quality Pipeline was canceled
Quality / check (pull_request) Successful in 16m15s
2026-11-12 22:48:41 +11:00
sam eabd7c8884 feat(chat): copy a conversation as Markdown from the More menu (#1884)
Quality / check (pull_request) Canceled after 1m25s
ci/woodpecker/pr/quality Pipeline was canceled
2026-11-12 22:47:26 +11:00
sam 7ffbf0435c feat(chat): link #N in replies to tasks that exist (#1882)
ci/woodpecker/pr/quality Pipeline was canceled
Quality / check (pull_request) Successful in 16m18s
2026-11-12 22:46:22 +11:00
sam b234a85090 feat(ui): attach tasks to a chat message with # (#1861) 2026-11-12 22:43:41 +11:00
sam 5a98c313e0 fix(chat): open More menu, keep Send after mic error, per-session drafts (#1862, #1878, #1879)
ci/woodpecker/pr/quality Pipeline was canceled
Quality / check (pull_request) Canceled after 7s
2026-11-12 21:34:56 +11:00
sam e5e968780f fix(chat): the conversation picker reads as the panel's title, and titles name the subject, not the mood
ci/woodpecker/push/deploy Pipeline was successful
deploy / gate (push) Successful in 7m24s
deploy / agent-image (push) Skipped
deploy / archied-image (push) Canceled after 38s
deploy / plan (push) Successful in 9s
deploy / dist-zip (push) Canceled after 0s
2026-11-10 23:53:24 +11:00
sam 31578e8857 fix(ui): label the conversation picker, centre Send on the composer line, say Archie is waiting when no task runs
deploy / archied-image (push) Canceled after 0s
deploy / agent-image (push) Canceled after 0s
deploy / dist-zip (push) Canceled after 0s
deploy / gate (push) Canceled after 57s
deploy / plan (push) Successful in 46s
ci/woodpecker/push/deploy Pipeline was canceled
2026-11-10 23:51:47 +11:00
sam f3f90f3224 fix(chat): a stopped turn shows in its conversation, and the composer field draws no box of its own
deploy / plan (push) Successful in 8s
ci/woodpecker/push/deploy Pipeline was successful
deploy / archied-image (push) Successful in 58s
deploy / dist-zip (push) Skipped
deploy / gate (push) Successful in 7m41s
deploy / agent-image (push) Skipped
2026-11-10 23:33:30 +11:00
sam 721e6332ed fix(chat): show a failed turn's error in a reopened conversation 2026-11-10 21:56:06 +11:00
sam fce5fab2a1 feat(ui): workflow row actions, throttled live reloads, toolbar and layout fixes (#1833) 2026-11-09 09:41:39 +11:00
sam 074ebbd931 fix(chat): keep long turns alive, record and log why a turn failed (#1813)
deploy / plan (push) Failing after 1s
deploy / gate (push) Skipped
deploy / archied-image (push) Skipped
deploy / agent-image (push) Skipped
deploy / dist-zip (push) Skipped
2026-11-08 23:03:04 +11:00
sam 6a4e1964f6 refactor(chat): one send path, drop POST /api/chat/message
deploy / plan (push) Successful in 8s
deploy / gate (push) Failing after 13m53s
deploy / archied-image (push) Skipped
deploy / agent-image (push) Skipped
deploy / dist-zip (push) Skipped
2026-11-08 18:34:26 +11:00
sam e9937ded6b fix(ui): a failed answer keeps the question card and its filled-in answer (#1728)
Quality / check (push) Successful in 9m2s
deploy / gate (push) Successful in 4m49s
deploy / archied-image (push) Successful in 3m25s
deploy / agent-image (push) Successful in 11s
deploy / dist-zip (push) Skipped
answerAsk now clears the pending question only after api.chatAnswer
accepts it, and resolves whether it did. On failure the new askError ref
carries the message, shown on the card as a ReadError whose Retry resends
the last answer; ChatAskCard keeps the typed reply until acceptance and
routes every choice button through the same path, and the questionnaire
submits through the card so its answers are retryable too. askError resets
on turn start, on a new ask, and on conversation switch.
2026-11-07 01:23:10 +11:00
sam bd1acdd0cc fix(ui): switching conversation detaches the running turn (#1729)
Quality / check (push) Canceled after 23s
deploy / gate (push) Successful in 4m47s
deploy / archied-image (push) Successful in 3m24s
deploy / agent-image (push) Successful in 11s
deploy / dist-zip (push) Skipped
selectSession now bumps a session epoch and aborts the in-flight stream
before switching, and the transcript read is applied only if the session is
still current. sendMessage captures the epoch at turn start: a detached turn
stops reading, cancels the reader, and writes no messages, streamingTurn or
session id; only the turn still owning the abort controller clears isSending,
so it cannot unlock the composer for a turn running in the new conversation.
2026-11-07 01:20:49 +11:00
sam 48e605a545 fix(ui): dead tokens replaced or deleted — text-ok, --radius-lg, real surface (#1740)
Quality / check (push) Successful in 6m33s
deploy / gate (push) Successful in 4m49s
deploy / archied-image (push) Successful in 3m22s
deploy / agent-image (push) Successful in 11s
deploy / dist-zip (push) Skipped
text-success was not a token (now text-ok) in ChatToolCall and BindEvent;
var(--radius) is undefined (now var(--radius-lg)) in input-group and Sonner;
Sonner's hsl(var(--popover) / 0.9) wrapped a hex (now a plain hex); the
undefined cn-font-heading class is deleted from the nine title components.
2026-11-07 01:06:42 +11:00
sam fa14e7da80 fix(ui): chat failures are shown where they happen and leave the real state (#1748)
Quality / check (push) Canceled after 1m18s
deploy / gate (push) Successful in 4m47s
deploy / archied-image (push) Successful in 3m27s
deploy / agent-image (push) Successful in 11s
deploy / dist-zip (push) Skipped
Mic permission failure shows an inline alert; setModel only switches on
server confirmation and reverts + reports in the transcript on failure;
a failed session refresh after a turn no longer becomes a retryable turn
error; a voice clip during a turn queues instead of dropping; blocked
localStorage falls back to a per-load channel id; a failed install offers
Retry/Not now again; rename/branch use a labelled Dialog instead of
window.prompt; a failed cancel is reported; a stopped turn no longer
blocks transcript reloads.
2026-11-07 00:17:44 +11:00
sam d58125c0bc fix(ui): combobox pattern for the slash palette, named palette input, bound labels (#1753)
Quality / check (push) Canceled after 4m45s
deploy / gate (push) Successful in 4m48s
deploy / archied-image (push) Successful in 3m28s
deploy / agent-image (push) Successful in 12s
deploy / dist-zip (push) Skipped
The composer textarea is now role=combobox with aria-expanded,
aria-controls and aria-activedescendant wired to the slash palette's
listbox ids. CommandInput has an accessible name. FieldLabels without a
control beside them are bound: for/id on selects, inputs, switches and
duration inputs across channels, curators and schedules pages, and
role=group + aria-labelledby/aria-label on the TagsInput, secret-ref and
rule row groups.
2026-11-06 23:47:41 +11:00
sam 94f79177a2 fix(ui): adopt the type scale across components/ui and pages (#1758)
deploy / gate (push) Successful in 4m53s
Quality / check (push) Successful in 6m42s
deploy / archied-image (push) Successful in 3m20s
deploy / agent-image (push) Successful in 11s
deploy / dist-zip (push) Skipped
components/ui and the pages now use only the style.css scale:
text-[0.8rem]→text-label, text-[0.625rem]→text-micro, text-base/text-sm→
text-label (rows and controls), text-xs→text-caption (captions and
secondary text), text-lg/text-xl/text-2xl→text-title (panel and page
titles). Rendered markdown (ChatMarkdown/ChatInline/markdown.ts) keeps
Tailwind steps as the issue allows. 196 files, class-token swaps only.
2026-11-06 23:07:46 +11:00
sam 9169e9db09 fix(ui): hand-rolled cards, headings, captions and empties use components/ui (#1759)
deploy / gate (push) Successful in 4m50s
Quality / check (push) Canceled after 4m48s
deploy / archied-image (push) Successful in 3m24s
deploy / agent-image (push) Successful in 11s
deploy / dist-zip (push) Skipped
Captions move from text-xs to the text-caption type-scale token across
the workflow/bind/schedule editors and curator card. The task page title
uses PageHeader's h1 classes. Hand-rolled boxes become Card (token
reveal, recovery code, pending extension update) or CodeView (install
progress); the startup-settings key/value table becomes MetadataList;
the harness empty row becomes TableEmpty; 'No tokens/dispatches/inputs/
removed' states become Empty; the step-editor problem line becomes a
destructive Alert. The risky-row danger tint in ToolsPage and
SystemReposPage now uses SettingRow tone="danger" instead of a
hand-written before: overlay (DANGER_ROW deleted).
2026-11-06 23:03:10 +11:00