Commit Graph
70 Commits
Author SHA1 Message Date
sam eb21313793 feat(ui): suggest input on Combobox replaces datalists, RadioGroup for task pickers
Also records the combobox and radio-group components added in cc2f3a46.
2026-10-26 19:45:18 +11:00
sam cc2f3a46b9 feat(ui): settings pages edit through TanStack Form with shadcn-vue Field
Each control-plane kind has one store-owned TanStack form, so edits survive
navigation and the save bar submits every dirty section. Shared editors emit
new values, map entries are written whole, unset resources stay null, and the
container runtime page warns when max uptime is under the task limit.
2026-10-26 19:17:03 +11:00
sam 0f75475b91 feat(ui): schedules table, runs page and Schedule trigger
Schedules list as a table with enable, run now, edit, duplicate, delete and
view runs; built-ins only enable, retime and run. The runs page links each
run's tasks through its capture's dispatches. The Start node gains a Schedule
trigger that picks or creates a schedule and binds the schedule source to the
workflow. Times show in a per-browser display zone set under Appearance; the
cron time zone and run retention are edited on the Schedules page.
2026-10-26 00:57:52 +11:00
sam 16ebc89c55 feat(ui): unified audit page with server filters and live tail 2026-10-25 22:09:25 +11:00
sam 10e79c4894 feat(ui): task log opens newest first 2026-10-25 17:41:21 +11:00
sam c265b07ec7 refactor(workflow): stop assuming a human decides
An approval, ask or park can be resolved by an operator, a rule, a
classifier or automatically, so the vocabulary stops naming a person:

- step type human.approve -> workflow.approve
- park class needs_human -> needs_decision (ParkNeedsDecision)
- event kinds human_* -> operator_*
- alert kind task.needs_human -> task.needs_decision
- status grouping "needs you" -> "needs attention"

0061 rewrites the stored values, including the approval step type in the
workflow-definitions resource and each task's pinned definition, with the
digest recomputed so resumed tasks still match.
2026-10-25 17:31:16 +11:00
sam cd4260ad7e fix(ui): log table shows component on the Logs page and a bordered sticky header 2026-10-25 02:21:57 +11:00
sam 2226e1ad07 fix(ui): the log table header sticks to the log frame 2026-10-25 02:20:29 +11:00
sam a7bc7944eb fix(ui): sticky log table header and bounded stage and service columns 2026-10-25 02:19:05 +11:00
sam a72c3e3f49 feat(ui): the Logs page uses the task log's table 2026-10-25 02:17:35 +11:00
sam 4903b0c4df fix(ui): metadata labels size to their content and wrap in table details 2026-10-25 01:22:59 +11:00
sam c79d1b94f8 feat(ui): task logs as a table with expandable fields 2026-10-25 01:21:21 +11:00
sam c9392a1b41 fix(ui): stop wide setting controls from stretching the row past its card 2026-10-24 17:29:12 +11:00
sam a791e350e7 refactor(ui): build the task list on DataTable with sortable columns and row links 2026-10-24 13:29:57 +11:00
sam 7636d8595e fix(ui): add a warn alert variant and fit org and model forms on phones 2026-10-24 13:26:35 +11:00
sam 0a8465e687 refactor(ui): build settings, org, task, workflow and dashboard pages from the shared components 2026-10-24 12:34:29 +11:00
sam 5fdd968fca fix(ui): merge type-scale sizes with colours and put the column picker in the header 2026-10-24 12:21:48 +11:00
sam 6b762a2609 feat(ui): add the shared design-system components and type scale 2026-10-24 12:20:01 +11:00
sam fafa0426be feat(webui): scope cookies to the instance and show non-default instance names 2026-10-19 10:17:05 +11:00
sam 166969cdfb feat(chat): ask several questions in one interaction with ask_questions
A turn can pose a questionnaire (single and multiple choice, free text,
skippable) and read the answers back, rendered in the chat with the
shadcn-vue questionnaire. The gateway contract gains a questionnaire ask and a
can_question capability; answers travel as a JSON object keyed by question name
and are checked against the questions that were asked.
2026-10-19 03:30:47 +11:00
sam ef7233214d feat(ui): chat tool calls, approvals and suggestions on shadcn-vue's trace, item and button patterns 2026-10-19 03:19:07 +11:00
sam 4e95b91122 feat(ui): Build with Archie runs on the chat system, floats over the canvas and keeps its conversation
Each workflow has its own persisted conversation, rendered like the chat panel.
The canvas and YAML go read-only while Archie works instead of inert. The code
block highlighter loads Go and TOML and drops jsx, tsx and vue.
2026-10-19 02:43:54 +11:00
sam 004fc401f1 feat(ui): code blocks and chat messages from shadcn-vue's code-block, message and bubble 2026-10-19 02:22:42 +11:00
sam 7d696e014f fix(ui): improve keyboard access and add headed checks 2026-10-19 01:45:20 +11:00
sam bf73a950b1 fix(ui): fit phone workflows and allow dynamic handoffs 2026-10-19 01:04:32 +11:00
sam ed7593cca6 fix(ui): section icons in the phone menu 2026-10-18 23:53:44 +11:00
sam b28622368b fix(ui): fade the hidden edges of horizontally scrolling tab rows 2026-10-18 23:45:28 +11:00
sam 2e1b5f3aa5 fix(ui): dim the top bar under the section sheet 2026-10-18 23:45:26 +11:00
sam 7a77213e7d fix(ui): product logo heads the phone section sheet 2026-10-18 23:45:25 +11:00
sam febaf88637 fix(ui): burger section sheet at phone width, 36px control scale
The coarse-pointer rule gave every button, link and field a 44px minimum on
touch, which made the phone dashboard look like a toy and pushed the section
strip into overlapping its neighbours. Controls now keep their own size, and
the shared ladder is one step taller (default 36px, sm 32px) so a finger still
hits something. Inputs stay 16px only where iOS would zoom.

Below md the sections move into a sheet with the current page marked; the bar
keeps brand, search, alerts and the operator. Page titles drop to 18px so the
title and its action sit on one centred line.
2026-10-18 22:29:25 +11:00
sam 61d93b6469 fix(ui): one text colour scale, Empty for page empty states, token requests through api 2026-10-18 15:03:44 +11:00
sam b4395046ae fix(ui): scale touch targets to the pointer, not the window width
A coarse-pointer-only floor keeps switches, tab triggers and scrolled nav
strips from being deformed on a phone, and the topbar reveals the current
section after a route change.
2026-10-18 12:32:10 +11:00
sam 82661f8c72 feat(ui): revert single changes in settings and workflow review 2026-10-18 02:18:23 +11:00
sam a2136a92dd fix(ui): let accordion content overflow sideways so row tints keep their margin 2026-10-17 23:02:31 +11:00
sam 456140369a fix(ui): pad tinted setting rows so the tint is not clipped 2026-10-17 22:58:58 +11:00
sam 47d23823b4 fix(ui): state credential and connection status without internal service names 2026-10-17 10:10:03 +11:00
sam 57456b3e9e fix(ui): repair settings editing and workflow diagnostics 2026-10-16 23:55:58 +11:00
sam d3e2a67222 feat(identity): add browser setup and user accounts 2026-10-16 02:41:24 +11:00
sam 88ef6ca5b2 feat(ui): start tasks from the dashboard and slim it to activity and setup 2026-10-14 23:28:37 +11:00
sam c1029f9fc6 fix(webui): an absent setting equals its zero value in drafts; setting rows get roomier padding 2026-10-13 20:20:03 +11:00
sam cefd95b40a fix(webui): the danger setting row tints without shifting its content 2026-10-13 19:55:05 +11:00
sam 45a97c2385 feat(webui): repositories list is an accordion; adding opens the new one and waits for save 2026-10-13 19:04:14 +11:00
sam b4bfccce40 fix(webui): form fields sit on the card colour so they no longer read as disabled 2026-10-13 17:24:48 +11:00
sam bbbb527721 feat(webui): finish redesign dashboard task and secret settings 2026-10-13 16:41:35 +11:00
sam 2237b38b3a fix(ui/topbar): replace Jump to with a command palette, drop filler chrome (#1650)
* fix(ui/topbar): replace Jump to with a command palette, drop filler chrome

Jump to opens a shadcn-vue Command dialog that finds pages, tasks and
workflows by name. The connection indicator shows only when the stream is
lost, the dead documentation link is gone, and the profile menu label has
no stray whitespace.

* fix(ui): trim stray whitespace from template text and drop em dashes from copy

Element text that started or ended with a line break rendered with leading
and trailing spaces. Also removes the unused 'soon' nav state and the nav
group components no route reaches.

* fix(ui): drop the space a hidden spinner left before button text

* fix(ui/status): one dense Status page, full-width settings, problems-only apply status

Status drops its tabs and the duplicate health card; services list only
what is wrong. Settings pages use the full width, the resizable sidebar
handle is gone, and apply status shows only processes that have not
applied a change. PageHeader puts the title and actions on one line.

* refactor(ui): use shadcn ToggleGroup and Badge, drop SegmentedControl and StatusPill

Status badges show only when a state needs attention: no Running, Enabled,
Active, Listening or live pills next to healthy rows. Removes the unused
pagination, radio-group and scroll-area components.

* fix(ui/history): use the shadcn Table with fixed columns so nothing is clipped

* fix(ui/workflows): apply ?workflow= only once the workflow is listed

Selecting it before the definitions loaded opened an empty canvas.

* refactor(ui/workflows): use shadcn Input, NativeSelect, Checkbox and Button in editors

Replaces hand-rolled inputs, selects, the repository mode switch and icon
buttons in the workflow editor, bind dialog, harness page, sources panel
and review gate. Adds the upstream shadcn-vue NativeSelect.

* style(ui): rounded-rectangle controls instead of pills

Halves the radius scale so inputs, selects and buttons stop reading as
pills, and badges and chips lose their full rounding.

* fix(ui/alerts): centre the bell's failed state and stop it contradicting Needs you

* fix(ui/tasks): one header line, aligned columns, no placeholder issue numbers

Tasks puts its filters beside the title and drops the stat tiles the
dashboard already shows. Sort headers align with their cells, chat tasks
no longer show their synthetic issue number, and Logs and the task
not-found page use the shared header.

* fix(ui/dashboard): shared header and cards, empty cards stay silent

Needs you uses the shadcn Card and drops its duplicate Open button; quality
gates and token outlook render only when there is something to show; the
throughput strip moves into the dashboard, its only user.

* refactor(ui/stores): one Pinia store per feature

Splits the site-wide control-plane store and the module-level refs into
settings, workflows, tasks, events, org and session stores. Identity
requests move into lib/api. Drops store fields nothing read: per-resource
stream state, the states map and loadApplyStatus.

* fix(ui/org): one header for the org area, sections drop their repeated titles

The org name is the page title with the admin's org switcher and New org
beside it; Members and Workspaces tables sit in cards like other pages.

* fix(ui/events): shadcn Tabs for the capture, map and bind steps

Replaces the numbered step strip with line tabs that carry each step's
count; the Listening pill is gone and Capture off shows only when it is.

* fix(ui/workflows): confirm a workflow delete in an AlertDialog, not window.confirm

* style(ui/settings): denser setting rows
2026-10-12 04:40:21 +11:00
sam 747a7cbfd7 Feat/operator alerts (#1635)
* feat(state): durable operator alerts owned by the State Store

Alerts dedup on org+kind+subject, resolve themselves when a condition
clears, and are raised, resolved, dismissed and listed through the state
contract. Task transitions raise needs-human and failed alerts in the same
transaction; the store checks service health and prunes closed alerts.
Each raise and resolve queues a webhook delivery whose attempts are kept.

* feat(notify): deliver operator alerts to the webhook; raise config and release alerts

notify.webhook now receives raised and resolved alerts above a severity
threshold with HMAC-signed payloads, bounded retry and every attempt recorded
on the alert. archied raises model alias, provider and credential-binding
alerts from the effective configuration, an update alert from the release
channel, and a credential-rejected alert from the egress resolver. The
dashboard API lists and dismisses the caller's org's alerts.

* feat(ui): alert bell in the top bar and webhook alert settings

The bell lists the org's open alerts by severity with dismiss and a link per
alert, and refreshes from the event stream. The task settings page gains the
webhook severity threshold and signing secret. ui/dist rebuilt.
2026-10-12 03:30:46 +11:00
sam 2d9de9a4e2 fix(ui): input group addon no longer steals clicks from its select 2026-10-10 11:26:42 +11:00
sam d4a86cbb4e fix(ui): stop the command palette scrolling sideways 2026-10-08 21:58:22 +11:00
sam 6b59cfa3fa fix(ui): anchor the command palette and stop scroll stealing its highlight 2026-10-08 21:57:20 +11:00
sam 71b00907c5 fix(ui): drop the topbar nav's edge fade that clipped the first item 2026-10-04 23:13:07 +11:00