Commit Graph

75 Commits

Author SHA1 Message Date
alan b56a2eb72d Fade-through tab transitions, kept state and tests (finishes run #228)
Tabs fade through when switching main destinations and page tabs. Each page
keeps one widget structure whatever its state, so its element (scroll,
controllers, text) survives switches; curves are computed directly instead of
building a CurvedAnimation per frame; only the active and outgoing pages are
on stage, including under reduced motion. Adds FadeThroughStack tests.
2026-11-01 17:27:05 +00:00
alan a1c4c1c402 feat(app): icon-only tab bars, Settings from the Pipelines bar, main bar bottom right with detail bars above it
Settings leaves the tab bar (Pipelines, Runs, Chat, Search) and opens as a
page from a gear in the Pipelines bar, keeping /settings, its keys and a Back
to Pipelines (also the system Back). Every floating tab bar shows icons only,
named for assistive technology. On wide windows the shell's tab bar stays at
the bottom right; a split detail learns its height plus a 12px gap, so its
tabs or the chat composer float above it, and pages the detail opens (the
stage page) stay in its pane through its own navigator.
2026-10-31 14:57:56 +00:00
alan 75fb0fc6e5 Merge branch 'main' into worktree-agent-aab11f4f1fe3dff6b
# Conflicts:
#	app/test/features/runs/ui/run_list_row_test.dart
2026-10-31 12:36:49 +00:00
alan fe24f228fe fix(app): one relative-time style, day-aware durations, consistent visit wording
Review r2 findings P2-4, P2-5, P3-13: a shared relative-time helper for
every list row's time, formatDuration switches to days past 24h ('9d
16h'), the stage page uses one visit numbering, drops a repeated stage
heading and fixes '1 files', and search run hits read 'Run 1'.
Implemented by pipeline run #205/#207 (Terra); its UIReview blocked on a
fixture without timestamps, verified by the manager.
2026-10-31 12:29:16 +00:00
alan d49ab0667b Templates: shared list rows, named detail bar, compact create, 720 cap 2026-10-31 05:20:00 +00:00
alan 06f6eda360 Merge branch 'worktree-agent-a82ec5e9fdf8ca159' into integrate/gaps-e
# Conflicts:
#	app/test/features/search/search_bar_layout_test.dart
2026-10-31 04:31:13 +00:00
alan e34fa1050e Close the chrome gaps: content behind bars on Templates, run detail, stage page and Schedules; Search field fills the bar
- SegmentedBar.titleWidget (and ShellBar/ShellBarSpec titleWidget,
  backgroundColor): a bar's main pill can be an input in place of the title;
  Search uses it so the field fills the bar with Kind and info, capped at the
  result column width so field and results share edges on wide windows.
- Templates page/frame drop the top SafeArea again (BelowTopBar gate,
  TopBarNotices banners); Cupertino uses the grouped background.
- Settings on Cupertino in the shell publishes the grouped background so the
  bar scrim matches the page (no white band or seam).
- TopGlassStrip: the run detail header (status, actions, decision, notices)
  and the Schedules search/filter toolbar float as glass under the bar; tabs
  and lists scroll behind both.
- Stage page: stage title and Visit/Run subtitle in the bar, facts lead the
  Summary scroll, sections scroll behind the bar under floating tabs.
- Tests for content-behind-bar on each page and the title-widget bar mode;
  notes/chrome-gaps-fixes.md.
2026-10-31 04:27:35 +00:00
alan 3c56db37fd Share one list row across runs, pipelines, chat, search and schedules
AppListRow (Material + Cupertino) with avatar, bold title and trailing
time, one muted line, one overflow menu style, inset dividers, selected
and emphasised states and a compact mode. Pipelines get a legible initial
avatar, schedule rows shrink to two lines with Edit/Pause/Delete in an
overflow menu, and the shell chat list scrolls behind the bar.
2026-10-31 04:15:01 +00:00
alan 6ab8551348 Merge branch 'worktree-agent-a94781e88db712412' into integrate/chrome-a
# Conflicts:
#	app/lib/application/templates_destination.dart
#	app/lib/features/templates/screen.dart
#	app/lib/features/templates/ui/templates_frame.dart
2026-10-31 03:39:49 +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 3704d98d4d Search field in the bar, refresh and Back as bar pieces, even Cupertino actions (F8/F28/F10/F11/F20/F1)
- Search: field, compact Kind menu and syntax help in the bar's actions pill;
  bounds shown only when truncated; rows with bold title, kind tag and one
  muted line; results run behind the bar in a start-aligned 840 column.
- AppSearchField: one search field per platform (Search, Schedules, Runs filter).
- BarIconButton: whole 44pt/48dp bar actions; Runs, bell and Pipelines icons
  use the same 44pt targets on Cupertino.
- Templates and Schedules pages put Refresh in the bar and use the shared
  round SegmentedBackButton; Templates shows one Back at a time.
- PipelineBackButton is the round segmented Back.
- notes/pages-fixes.md records the batch, tests and evidence.
2026-10-31 03:31:25 +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 63fb903518 style(app): apply dart format to chat conversation files
Formatter-only output (verified identical to dart format of the
previous tree), committed so pipeline deliveries see a clean checkout.
2026-10-31 00:55: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 4a85a12cf7 feat(chat): segmented chat header with back, title and model pills
The open conversation draws its own bar of separate rounded pieces: the
platform Back in a circle, a title pill with the folder that opens the
chat information, and a pill with the model and mode controls. Detail
pages drop only their app bar for it, keeping the body mounted.
2026-10-30 23:43:00 +00:00
alan 498c6f17a6 Add server notification settings with app checkboxes
Persist three global ntfy switches in server_settings: run_finished
(default on: auto-mode runs notify on success, read inside the
transition transaction; on/off modes unchanged), chat_needs_you
(default on: gates chat question/approval alerts) and
chat_reply_finished (default off: one alert per finished assistant
turn). Expose notification_settings / set_notification_settings over
the websocket protocol, add a Phone notifications section with
Material and Cupertino checkboxes in Settings, document the settings,
and keep the cli, tui, stage and pipeline test packages from
inheriting a real ntfy configuration.
2026-10-30 21:36:27 +00:00
alan dab6e8a2a7 Merge branch 'chat/session-row-redesign' into integrate/chat-ntfy-attachments 2026-10-30 21:05:32 +00:00
alan 4c4dcbbd14 feat(chat): contact-list chat rows with avatar, time and unread emphasis
Rows lead with a circular harness avatar, put the time beside the title,
collapse metadata into one muted model · folder line and trail the
actions menu. Unread chats are bold with an accent time and dot, running
chats badge their avatar, and Star moves into the menu.
2026-10-30 21:05:24 +00:00
alan 0aa0f9edc9 feat(app): open chats from pipelines://chat/<id> notification links
The app routes pipelines://chat/<id> to that chat, alongside the
existing pipelines://run/<id>, and Android registers the chat host so a
tapped ntfy notification opens the app on it.
2026-10-30 20:35:06 +00:00
alan 7027da4248 Keep chat activity stable in one live disclosure and distinguish unread attention 2026-10-28 16:45:05 +00:00
alan 121ace1cee Complete prompt presets, body-priority panes and clearer chat and stage layouts 2026-10-25 23:11:06 +00:00
alan 7e9ba9ac25 Unify flexible list-detail panes and highlight active pipelines and runs 2026-10-25 21:04:12 +00:00
alan 7fe106b426 Allow authorized device testing and record Pixel Back verification 2026-10-25 17:04:19 +00:00
alan c6342ac6cc fix(app): remove every app-level system Back override 2026-10-24 16:32:02 +01:00
alan 7bb95d4610 fix(chat): double-back to close with a chat open beside the list 2026-10-24 16:20:56 +01:00
alan c7852d27d1 feat(chat): keep the rail and chat list beside the open chat on wide windows 2026-10-24 14:32:39 +01:00
alan cf784245e8 fix(chat): remove remaining router Back interception 2026-10-24 14:17:57 +01:00
alan 6920483be2 test(chat): verify stock Back with the processing animation active 2026-10-24 13:15:40 +01:00
alan f22afabd94 fix(chat): use stock Navigator Back at every screen width 2026-10-24 12:36:17 +01:00
alan f9dda00634 fix(app): use Pipelines as the installed display name 2026-10-24 09:33:34 +01:00
alan b499da304d feat(app): configure and safely switch multi-address servers 2026-10-24 03:04:53 +01:00
alan 4e6771aa24 Require double back to exit Android tab roots 2026-10-24 02:23:15 +01:00
alan 7f88f14a52 fix(app): restore standard Android back navigation 2026-10-24 01:44:50 +01:00
alan f51ad9c7ed fix(app): Android Back and the back gesture go through the router: they step up a level, and ask before closing the app; an open pipeline is part of the route 2026-10-24 01:15:21 +01:00
alan 636115bb22 feat(app): phone onboarding (server, then password) kept across launches; a known server opens straight into the app; a refused session asks for the password 2026-10-23 23:52:34 +01:00
alan 0e6db03903 feat(app): an open pipeline, run or chat fills a phone screen; Back steps up one level; stage tabs end with Session 2026-10-23 22:49:21 +01:00
alan c200ecdaa1 feat(app): an open chat takes over the app bar instead of adding its own 2026-10-23 22:36:42 +01:00
alan 8d643f5501 feat(app): pipeline rows place name, version, stages, miniature, last run and update time in their corners 2026-10-23 19:07:54 +01:00
alan 14a556ebd9 feat(app): an open run takes over the app bar (Back, run, more menu); Search is the fifth tab; tabs keep their last screen 2026-10-23 17:47:05 +01:00
alan 925f04e300 feat(app): a run's stage visit opens as its own page, from the graph, the timeline or a link 2026-10-23 17:35:33 +01:00
alan 120edb8da8 test(app): search hits find the run's fields as data 2026-10-23 16:16:40 +01:00
alan 3ac94f2160 test(app): deep-linked thread shows the tool chip 2026-10-23 15:54:08 +01:00
alan a57a847631 feat(app): pipelines://run/<id> notification links open the run on Android and iOS 2026-10-23 15:08:51 +01:00
alan 4452d0a1bf fix(app): schedules page follows the connection and its list reads 2026-10-23 12:55:19 +01:00
alan 23b8ee8f7c feat(app): show template stage counts 2026-10-23 12:20:06 +01:00
alan d17765fa8a test(app): run start wiring mocks the pending launch store 2026-10-22 23:53:45 +01:00
alan 9a46a6b2b9 fix(app): guard foreground refresh during interaction 2026-10-22 23:42:31 +01:00
alan d0def10490 fix(app): refresh visible lists on foreground resume 2026-10-22 23:37:34 +01:00
alan f58d8d3572 feat(app): load saved endpoint during native startup 2026-10-22 23:09:26 +01:00
alan 94d3d9ee60 merge(app): bring main into runs-pipeline-url; main's filter menu supersedes the lane's pipeline menu 2026-10-22 22:21:45 +01:00