Commit Graph

58 Commits

Author SHA1 Message Date
alan 339cce0424 Page through a folder's files in the file viewer
Opening a file from the Files panel now passes the folder's previewable
files in their shown order, so the arrows, swipes and Previous/Next step
through them and Escape closes the viewer. Download follows the file on
screen.
2026-11-10 00:14:18 +00:00
alan 421e2e8887 Use native image reset controls on each host 2026-11-07 22:08:52 +00:00
alan 5917827bc5 Improve file image gestures 2026-11-07 22:01:10 +00:00
alan 84a03bea8d Complete chat file previews downloads and explorer actions 2026-11-07 01:44:42 +00:00
alan 57f5219628 Artifacts: runner-internal turn files move to a Debugging files group
Each recorded artifact now carries a server group (deliverable or debug).
public/ files are deliverables; input/memory/history/output.md, session
exports and private/ scratch are debugging files. The app's Artifacts tab
lists deliverables and the Debug toggle reveals a separate Debugging files
group (older servers fall back to the filename rule); the TUI lists
deliverables first and marks debug rows; artifact search excludes debug
files unless include_debug / --debug-files is set.
2026-11-04 17:43:47 +00:00
alan 4e0481fd8d Artifact viewer: full screen view; HTML scrolls, pans and zooms; links open safely
Full screen button in the viewer's bottom bar opens a root full-screen route
with the same bar and top bar; exit by the bar, Close, Escape or back. It
renders the already fetched bytes, never the system browser. The external
Open action is now labelled Open in browser.

Native web views claim their gestures (vertical drags inline, every pointer
in full screen) so the page swipe no longer starves them. On the web, full
screen adds zoom buttons that scale the live sandboxed frame. Links: in-page
anchors scroll, http(s)/mailto open outside, everything else is inert.

Capture kit: --touch, swipe=, pinch=, tabs=; html=1 fixture artifact.
2026-11-03 18:50:41 +00:00
alan 7ab15f9ba9 Merge: search artifact hit opens that artifact (phone path fixed) 2026-11-02 18:40:15 +00:00
alan 8d2ca95057 Open Search artifact hits in the viewer over the run's Artifacts tab
On a phone-width window the open run is its own page pushed on the app
navigator, so RunDetailTabs was not a descendant of the shell's
RunSearchSelectionScope (which wraps only the Runs tab body). The field or
artifact selection was never seen and the run opened at its plain Summary.
The previous widget tests injected the scope directly above RunDetailView at
900 px, where the detail is an inline pane, so they could not catch it.

- RunsScreen relays the shell's search scope into the detail it builds, so
  the pushed page sees the selection too (also fixes field hits on phones).
- An artifact hit now opens the run's Artifacts tab and the gallery opens
  that artifact exactly as a tap there does: selected, scrolled into view
  (ArtifactVisitReveal) and in the viewer. Back returns to the tab with the
  artifact highlighted. An unknown URL leaves the tab open with the existing
  "That artifact is no longer available." notice.
- New test/application/search_artifact_open_test.dart drives the real Search
  tab -> typed query -> result tap -> run read -> viewer on a 390x844 phone,
  Material and Cupertino; it fails without the scope relay.
2026-11-02 18:39:43 +00:00
alan 4d9ee1ea78 Give glass control bars equal end and edge gaps
Inside a glass bar the first and last controls now keep the same gap from
the pill's sides as from its top and bottom, from shared GlassBarMetrics
(48/44 targets, 8 edge gap). Applies to the artifact viewer bar (hugs its
actions without a pager), the chevron pagers (position text inset like an
icon), and the chat composer's Cupertino Send/Stop (centred circle).
Run 7 in the full-app probe now records change captures for diff captures.
2026-11-02 18:35:37 +00:00
alan e65e2800e6 Enlarge viewer controls and respect safe areas 2026-11-02 17:50:27 +00:00
alan af1e61c063 Artifact viewer: centre the Details (i) button in its bar pill
The viewer's top-bar Details action reused the compact bottom-bar button, so
its icon sat off-centre in the bar's round pill on Material. Bar actions now
use the standard bar button size.
2026-11-02 16:41:18 +00:00
alan 7e00cedd00 Merge main 2026-11-02 00:36:49 +00:00
alan 41492df436 WIP: search artifact hit opens the viewer (run #231) 2026-11-02 00:35:23 +00:00
alan 7b1455631b Rebuild only changed list rows and lay out big artifact sections lazily
Runs and chat session rows are memoized on their own data (MemoSubtree), so
a run event or a chat's running change rebuilds one row instead of every
built row. The artifact gallery's open sections are lazy slivers revealed
by a sliver open/close animation, and thumbnails decode at display size.
Benches in test/perf measure both.
2026-11-02 00:08:29 +00:00
alan a322e367da Artifact viewer: keep the preview between the top bar and the controls
Every preview (image, text, markdown, HTML, video) now fills the space between
the viewer's top bar and its bottom controls instead of passing behind them;
the insets are applied once here and removed for the content inside.
2026-11-01 21:22:36 +00:00
alan 5132da62a9 Artifact viewer bar: right above the tab bar and clickable
The viewer's action/pager bar added the inherited bottom clearance twice
(its SafeArea already applies it), floating far above the tab bar. On the
web an HTML preview's iframe passed behind the bars and, as a platform view,
took every click there; it now stops at the bars. Also keep floating tabs in
semantics while they fade in, which broke the badge announcements (5 failing
tests on main since the entrance animation landed).
2026-11-01 16:55:14 +00:00
alan 2808378823 Keep turn documents out of the artifact viewer unless Debug is on
Opening a stage artifact paged through every visit's turn documents too,
although the list hides them; the viewer now pages through what the list
shows.
2026-11-01 08:32:10 +00:00
alan 821d1a8836 Keep pager controls clear of floating bars 2026-11-01 02:05:06 +00:00
alan f84948153b feat(app): add debug toggle for turn documents 2026-10-31 15:22:33 +00:00
alan 33cb9ca121 Merge branch 'main' into run/artifacts-split 2026-10-31 12:56:19 +00:00
alan acf74116d7 feat(app): separate turn documents from artifacts 2026-10-31 12:56:16 +00:00
alan ab64f55bf2 Merge branch 'worktree-agent-aab11f4f1fe3dff6b' into integrate/r3-rest 2026-10-31 12:51:39 +00:00
alan e43cc867f9 Sheets, decision options, usage, settings and artifact errors: review r2 batches H and L
Shared AppSheetHeader (title + Done) for the Runs filter/sort and Needs you
sheets; Runs filter single-choice groups as check rows and statuses in
sentence case; Cupertino decision options as a check list; run action sheet
titled with the run; usage page without the duplicate title and with honest
empty states; Settings Reconnect wording, compact notifications row and a
tinted Cupertino Save workspace; friendly artifact preview failures with
Retry.
2026-10-31 12:13:34 +00:00
alan 06a52298b1 WIP: flat detail bodies, facts grid, wide run chrome, pipeline summary 2026-10-31 12:09:44 +00:00
alan fde086cc4a feat(app): glass viewer bars, graph controls and immersive image viewer
Review findings F12, F13, F25 and F1 for viewers: the artifact viewer's
actions/pager and the Changes pager float as glass pills over content,
file facts move to the top bar, graph overlay controls are one glass pill
(duplicate fullscreen glyph removed), the image viewer is immersive, and
diff/artifact/graph views let content pass behind the bar. Implemented by
pipeline run #204 (Terra); its Review stopped after three rejections, the
last being an empty glass bar for a single unresolved artifact, which the
manager fixed here with a regression test.
2026-10-31 04:26:22 +00:00
alan c6c6dcfe18 fix(app): float content behind top bars and give each wide pane its own bar row
- Top-bar clearance helpers (withTopBarClearance, withBarClearance,
  SliverTopBarClearance, BelowTopBar, TopBarNotices); shell, DetailPane and
  the runs/pipelines/templates/artifacts/stage definition/filter/usage pages
  drop their top SafeArea and pad their own lists, pinned headers pin at the
  inset.
- Wide windows: the shell bar narrows to the list pane (ShellPaneSplit) and
  the open item's bar shares its row; item tabs float at the pane's top
  (PageTabsEdge) instead of stacking on the shell's tab bar; the floating
  tab pill no longer swells over leftover media padding.
- Pipeline detail is a DetailPane on wide too; Run/Runs move from FABs into
  the bar's actions; name and identity live in the title pill.
- Run detail title pill shows the real title with Run N, pipeline and
  version (the pill links to the pipeline); the body keeps only status,
  actions and notices; standalone detail draws the same segmented bar.
- One Runs tab badge: attention outranks running.
- Tests for content-behind-bar padding and the no-stacking wide layout;
  notes/app-chrome-fixes.md.
2026-10-31 03:36:22 +00:00
alan 963adec122 Float glass tab bars everywhere the app has bottom tabs
One floating frosted tab bar (host NavigationBar / CupertinoTabBar in the
shared GlassPill) replaces the NavigationRail, the Cupertino sidebar and the
run detail, stage page and pipeline detail tab strips. Below 600px it spans
the width minus 16px margins; wider it is sized to its tabs at the right edge.
Content keeps the full width, scrolls behind the bar and learns its height as
bottom media padding; lists pad their end clear of it and FABs sit above it.

The bar now sizes itself from its own constraints instead of the screen size,
which fixes the widget_test failure where a MediaQuery without a size gave it
negative width constraints.
2026-10-31 01:50:42 +00:00
alan 2b20233e44 Merge branch 'run/artifacts-collapsed' into integrate/bars-artifacts 2026-10-31 00:29:54 +00:00
alan 35caf532b7 fix(app): collapse run artifact groups by default 2026-10-31 00:22:11 +00:00
alan 0582bfc34f feat(app): segmented glass top bar across the app
Extract the chat's segmented bar into lib/ui/adaptive (SegmentedBar,
GlassPill, SegmentedBarOverlay) and use it for the shell bar, DetailPane
and every page-level bar. Pieces are frosted glass over a fading scrim;
only pills take taps. Actions keep their natural width so the title gives
way before a model name. The chat transcript scrolls behind its header.
2026-10-31 00:21:27 +00:00
alan 56f18acf78 fix(app): close the artifact viewer with Escape 2026-10-26 18:41:44 +00:00
alan ae72e0fcf3 Scope native session credentials to trusted logical servers 2026-10-24 02:27:39 +01:00
alan f6c90e96db feat(app): dark mode uses a near-black gray with lighter layers instead of pure black 2026-10-23 23:12:57 +01:00
alan ec3f633d2b feat(app): the artifact viewer page stays still; previews fill and zoom or scroll inside their frame; facts behind a Details button 2026-10-23 23:00:56 +01:00
alan dd324d1f92 feat(app): artifact viewer actions are bottom icons; swipe pages; native download, share and open in browser 2026-10-23 22:43:35 +01:00
alan f81957cd73 feat(app): left/right arrows step through artifacts and changed files 2026-10-23 22:34:11 +01:00
alan f9e03da133 feat(app): collapsibles keep their titles pinned; stage facts are coloured and grouped; input and output copy 2026-10-23 20:22:41 +01:00
alan 2fc0a4394b feat(app): the native app signs in at the web login and carries the session on its socket and downloads 2026-10-23 19:51:43 +01:00
alan 5acf2145ff feat(app): artifact viewer controls float over the content and hide when idle 2026-10-23 19:31:42 +01:00
alan 4f789038c4 feat(app): gallery switches between grid and thumbnail list, and each artifact or document group is collapsible with a pinned title 2026-10-23 19:29:20 +01:00
alan 0d98be0d8b feat(app): run and stage artifacts share one gallery grid with image thumbnails and file-type icons 2026-10-23 18:46:49 +01:00
alan 3fc7a28e76 feat(app): previous/next for visits, artifacts and diffs are chevrons in one row at the bottom right 2026-10-23 17:14:44 +01:00
alan 855a1e6ca5 feat(app): run detail tabs are Summary, Timeline, Artifacts and Changes; the graph is a Summary preview that opens full screen 2026-10-23 16:55:24 +01:00
alan e77628ac46 feat(app): artifact viewer renders HTML documents inertly (sandboxed iframe on web, script-free web view on mobile) 2026-10-23 15:05:44 +01:00
alan 5ac8fcc6ef feat(app): artifact viewer shows CSV and TSV files as tables 2026-10-23 15:02:17 +01:00
alan 97d09436c8 feat(app): artifact viewer previews the text family (logs, JSON, code, config) in bundled monospace 2026-10-23 14:54:00 +01:00
alan 6fd14e76ca feat(app): artifact videos play in the viewer, as the web 2026-10-23 14:41:30 +01:00
alan 7ad183cf89 fix(app): run actions share one compact native style, as the web's run-action buttons 2026-10-23 12:47:05 +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 379872b94a fix(app): keep the session export out of the per-visit stage drill-down 2026-10-22 03:30:09 +01:00