Commit Graph

1049 Commits

Author SHA1 Message Date
alan d44fee5f2d merge(app): land search-pane 2026-10-22 16:15:50 +01:00
alan 6ca4120578 merge(app): land transport-recovery 2026-10-22 16:15:50 +01:00
alan 2d1cd743ee fix(app): keep a search selection one-shot and always reach Summary
A retired or unknown field hit now selects the plain Summary instead of
leaving an open visit pane in place, matching the browser's searchFieldTab
and Android. The resolved target is a sealed Summary/visit value, so the
field mapping lives in one place.

An unapplied request is dropped when the shell leaves the run it names, so
Backing out of a loading detail no longer replays the selection on a later,
unrelated visit. Search/Templates/Schedules pages above the run keep it.
2026-10-22 16:03:18 +01:00
alan 3f4c8cb00c style(app): format the lifecycle and settings tests 2026-10-22 15:55:11 +01:00
alan 8b9a298dd1 feat(app): reconnect on foreground and keep the protocol warning 2026-10-22 15:48:07 +01:00
alan 133df9301d feat(app): select a search hit's recorded run section or visit 2026-10-22 15:35:19 +01:00
alan 6b021f1483 merge(app): land settings layout rhythm 2026-10-22 15:21:29 +01:00
alan 3739188a31 merge(app): land pipelines-layout 2026-10-22 15:07:12 +01:00
alan 7e368606a0 merge(app): land artifacts-layout 2026-10-22 15:07:11 +01:00
alan 4c801efe36 merge(app): land runs-toolbar 2026-10-22 15:07:11 +01:00
alan b84b53749e merge(app): land chat-layout 2026-10-22 15:07:11 +01:00
alan 594d1d07b9 merge(app): land run-summary-parity 2026-10-22 15:07:11 +01:00
alan d1ffa7c79b feat(app): compact chat session rows and thread header
Follow the web chat layout on both hosts without changing request shapes or
bubble/composer behaviour.

- Session rows (Material and Cupertino): title with trailing relative
  recency, muted `directory · model` line with the `New`/`Closed` word at
  the trailing edge. Shared row content keeps one arrangement; native tiles
  keep their own padding, separators and subtitle size. The state word keeps
  its intrinsic width and the metadata ellipsises first, so it is never
  clipped at 320px/2x.
- Thread header: one row of compact icon-only Back, ellipsised title,
  bounded model control and Chat information. Back keeps the destination as
  its accessible name and both hosts share `Key('chat-back')`.
- Share the epoch-millis parser as `chatSessionMillis`, and match the web's
  relative-time words, including `Sept`.
- Cover the row content, status word at narrow widths, header layout and
  Back accessibility in widget tests; update existing tests for the
  separate trailing status word.
2026-10-22 15:01:21 +01:00
alan edb558560f feat(app): match the web Settings rhythm
Group each Settings section under one compact title, tighten the page to the
web's 8/16 spacing and 20/16/32 page insets, and make field labels secondary so
only the section title carries emphasis. Drop the duplicate Notifications
heading now that the permission tile draws its own title.

Adds a rendered-geometry regression for the centred 720px column, the title and
section gaps, the secondary label role on both platforms, and the single
Notifications heading.
2026-10-22 14:39:57 +01:00
alan c553b7d90d feat(app): give the artifact gallery the web's compact layout
Put the page summary and the recorded capture notes on one scrolling
header, style Material section headings as muted titleSmall, and draw a
hairline between Material rows only. Share the selection-facts hierarchy
between the sheet and the viewer and order the sheet actions Close,
Copy link, Open on both hosts.

The header now rides inside the artifact list's scroll view, so many
partial visits or a large text scale scroll with the rows instead of
overflowing the page and collapsing the list.

Tests cover per-host headings, dividers, notes, sheet order, and the
constrained 2x large-text layouts.
2026-10-22 14:39:08 +01:00
alan 78e9d03759 feat(app): follow the web pipeline list composition
Compact list toolbar and rows on the web's 12px inset, a title line with
the trailing version, one muted facts line plus the last-run line, and
row separators. The detail header becomes one identity line; its recorded
id/version/stage facts move to the top of Summary, where web renders
detail-subtitle.
2026-10-22 14:25:59 +01:00
alan 535dee0805 feat(app): compact runs filter and sort toolbar
Replace the full-width runs dropdowns and status chips with web-shaped
controls: a Material filter popup with checked statuses and triggers, a
sort menu, and removable applied-filter chips; Cupertino gets a compact
Filter/Sort row plus one action sheet with live check marks. Add
RunsController.activeFilterCount and clearFilters(), and use the shared
seven-state run vocabulary. Clarify the singular active-filter tooltip.
2026-10-22 14:20:05 +01:00
alan be6b6239fc feat(app): match the web run detail tabs and summary shape 2026-10-22 14:13:38 +01:00
alan dc0a52380b merge(app): land chat-model-picker micro-slice 2026-10-22 12:30:43 +01:00
alan 74d0bb73c2 merge(app): land run-decide-deeplink micro-slice 2026-10-22 12:30:43 +01:00
alan a45574df6b merge(app): land chat-attach-send-ui micro-slice 2026-10-22 12:30:43 +01:00
alan 98c02c0c09 Merge branch 'main' into flutter/chat-model-picker 2026-10-22 12:28:15 +01:00
alan 2a66be7b27 feat(app): choose a chat model from the conversation header
Native model control and chooser in the chat thread header, matching the web
chat_models/chat_model exchange. Fixes the chat_models list parsing, keeps the
accepted server echo across Back/reopen, and resolves the session row for
/chat/:id deep links.
2026-10-22 12:28:13 +01:00
alan bc98b6cab8 fix(app): wide Cupertino sidebar, compact run tabs, web-like chat bubbles 2026-10-22 12:25:12 +01:00
alan d4f64d7fa7 merge(app): bring main into chat attach send UI 2026-10-22 12:14:29 +01:00
alan c0eac5fc8b fix(app): keep chat attachment send analysis clean
Remove the redundant dart:typed_data import so integrated analysis is
clean, restore immediate composer focus on send, and cover operation-id
reuse for refused attachment retries plus duplicate-name removal.
2026-10-22 12:14:26 +01:00
alan a2f0c6eb9e Merge branch 'main' into flutter/run-decide-deeplink 2026-10-22 12:00:56 +01:00
alan 87bb518c33 feat(app): send chat attachments with the composer prompt 2026-10-22 11:52:42 +01:00
alan 9344e6d3c0 feat(app): open a run's decision prompt from its URL
A /runs/:id?action=decide route now opens the landed decision prompt once the named detail loads, and only when that detail genuinely awaits a person. A non-waiting run consumes the request without inventing a prompt, and dismissing the prompt leaves the loaded detail. The route flag is forwarded through the existing destination seam; submission, refusal wording and the bounded re-read are shared with the detail's Decide button.
2026-10-22 11:52:22 +01:00
alan 522f5a3ae0 build(android): declare the internet permission for the next client 2026-10-22 11:49:20 +01:00
alan a1f6edc041 docs(app): record notices, stage deep link and the next lane wave 2026-10-22 11:48:15 +01:00
alan dd890a93a3 test(app): find the composer field instead of a fixed point 2026-10-22 11:48:04 +01:00
alan 81b2805cdd merge(app): land pipeline-stage-deeplink micro-slice 2026-10-22 11:44:32 +01:00
alan 803eeb2158 merge(app): land chat-notices micro-slice 2026-10-22 11:44:32 +01:00
alan de003070f5 Merge branch 'main' into flutter/pipeline-stage-deeplink 2026-10-22 11:42:14 +01:00
alan eb16a4caba feat(app): open a pipeline stage from its URL
The route `/pipelines/:id[/:version]/stage/:key` now opens the pipeline
detail's Graph tab with the named stage selected and its authored
definition pane for the pinned version. A key the pinned definition does
not declare opens the Graph tab with nothing selected and no pane; no key
keeps the ordinary Summary tab.

The request is scoped to the pipeline and version the URL names, consumed
once the named pin's first reply is shown, and never replayed by a re-read,
a later version switch or a different pipeline. A route change from a pin
to latest re-reads latest, matching the web's requested-version rule.
2026-10-22 11:42:11 +01:00
alan 76c2b7a665 docs(app): refresh parity rows for the landed slices 2026-10-22 11:31:50 +01:00
alan ce0e51357c Merge main into flutter/chat-notices: keep chat info beside dismissible notices 2026-10-22 11:14:01 +01:00
alan c1b87dea54 feat(app): dismiss recorded local chat notices in the thread
Show dismissible notices for refused history reads, refused live watches and a running compaction. A dismissal lasts only while the recorded condition is unchanged; a syncToken gap hides pre-gap notices until fresh state arrives.
2026-10-22 11:10:42 +01:00
alan 9830312362 merge(app): land artifact-session-repair micro-slice 2026-10-22 11:09:47 +01:00
alan 36fb2255d0 merge(app): land chat-info-facts micro-slice 2026-10-22 11:09:47 +01:00
alan 2fdcafb632 merge(app): land run-visit-deeplink micro-slice 2026-10-22 11:09:46 +01:00
alan 6b06dfc283 merge(app): land chat-attach-chips micro-slice 2026-10-22 11:09:46 +01:00
alan 1d0646db80 merge(app): bring main into the session export repair candidate 2026-10-22 10:52:53 +01:00
alan 776afcacea fix(app): offer the session export repair only where the web does
Suppress the export-only repair for a legacy session.html with no recorded
evidence, narrow the identity check to the web's own, and keep the stricter
partial rule for an unverified complete status. Fix the analyzer findings,
add gating/legacy/Cupertino coverage, format, and correct the parity docs.
2026-10-22 10:52:36 +01:00
alan 87f69d594c Merge branch 'main' into flutter/run-visit-deeplink 2026-10-22 10:48:43 +01:00
alan f57d8eeb76 feat(app): open a recorded run visit from its URL
`/runs/:id/stage/:key?visit=N` now selects that stage's N-th recorded
visit in the run detail Timeline, matching the web client's stage-local
visit ordering. A stage key without a visit opens the latest recorded
visit, an out-of-range index clamps to the last one, and a stage with no
recorded visit selects only its Graph node instead of inventing a visit.

Route plumbing carries the query end to end: boot seeds the router from
path and query, the parser reads path plus query, and restore keeps `?`
a query separator instead of percent-encoding it. That also repairs the
existing `?action=decide` and `/runs?pipeline=` URLs.

The Graph node click and the stage route share one sequence-ordered
resolver, so both open the same latest visit.
2026-10-22 10:48:36 +01:00
alan 7c3179999c Merge branch 'main' into flutter/chat-attach-chips 2026-10-22 10:34:15 +01:00
alan d88efe46e0 feat(app): show removable attachment chips in the chat composer 2026-10-22 10:26:48 +01:00
alan eaa163b592 Merge branch 'main' into flutter/chat-info-facts 2026-10-22 10:22:00 +01:00