Commit Graph

69 Commits

Author SHA1 Message Date
alan 049a551432 Add device-wide animation speed setting 2026-11-07 02:43:00 +00:00
alan 9a0d5de26a Restore local chat layouts and add compact or hidden chat sidebar 2026-11-06 19:16:18 +00:00
alan 2853b18b9e Settings: per-device interface font choice
System default plus Inter, IBM Plex Sans, Source Sans 3 and Atkinson
Hyperlegible Next (OFL 1.1, bundled as on-demand assets and loaded with
FontLoader, so the web fetches only the previewed/chosen files). Stored in
shared_preferences, applied live to Material and Cupertino text themes;
RobotoMono styles unchanged. Licences registered with LicenseRegistry.
2026-11-04 02:01:49 +00:00
alan 7ecc12b747 LAN discovery: server advertises _pipelines._tcp over mDNS; app finds servers on the connect screen
Server: internal/discovery publishes a DNS-SD record (hashicorp/mdns) with
the port LAN clients dial (the web proxy via -mdns-port, which the
supervisor passes, or a non-loopback -addr) and TXT v, name, path, tls, auth.
On by default; -mdns=false or PIPELINES_MDNS=off disables it. Failures are
logged and never block startup; the advert is withdrawn on shutdown.

App: the Connect to Pipelines screen gets 'Find servers on this network'
behind a ServerDiscovery interface (Bonsoir: Android NSD with multicast lock,
iOS Bonjour with NSLocalNetworkUsageDescription and NSBonjourServices).
Tapping a server fills the address and connects; manual entry stays. Web has
no scan.
2026-11-03 14:54:54 +00:00
alan bff7115e4e Search: find operator chats by title, directory and message text
A search with kind chat matches the operator-session registry's titles and
directories and the newest messages of recent transcripts through the chat
broker (bounded count, concurrency and one-second budget), answered off the
connection's read loop. The all-kind search is unchanged for older clients.

The app sends the chat search after its run search and shows a Chats group
with title, harness, directory and snippet; a chat hit opens that chat in the
Chat tab. The probe fixture answers chat searches over ?chats=N.
2026-11-03 13:01:53 +00:00
alan d34185b56c Merge: chat colours, Ctrl+1-9, starred chats alphabetical
# Conflicts:
#	app/lib/features/chat/conversation/chat_thread_view.dart
#	app/tool/perf/perf_fixture.dart
#	internal/protocol/chat.go
#	internal/server/chat_close.go
#	internal/server/chat_sessions.go
2026-11-03 11:22:50 +00:00
alan 41492df436 WIP: search artifact hit opens the viewer (run #231) 2026-11-02 00:35:23 +00:00
alan f8903e2f6d WIP: pipeline page Runs/Run icon actions (run #230) 2026-11-01 20:37:29 +00:00
alan 5346759665 Use native service as Android notification source 2026-11-01 10:01:16 +00:00
alan 826e420423 Deliver server notifications from the Android app itself
A native foreground service keeps an authenticated websocket to the
connected server (handed over by the app on every connect), subscribes with
a replay cursor, shows each notification with kind-based channels and
grouping, opens pipelines:// links on tap, and clears taps, dismissals and
cross-device clears. It starts at boot and app launch, backs off and follows
network changes. Settings gains the delivery switch, status, notification
and battery-exemption actions, and the server's optional ntfy_enabled
toggle.
2026-11-01 02:21:22 +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 cc07302868 Merge branch 'worktree-agent-ae3f1fe9138e563be' into integrate/r3-rest 2026-10-31 12:51:39 +00:00
alan d1aa36163a Sync Needs-you dismissals and chat read state across devices 2026-10-31 12:47:25 +00:00
alan d49ab0667b Templates: shared list rows, named detail bar, compact create, 720 cap 2026-10-31 05:20:00 +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 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 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 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 41a3be8715 Keep web Material styling and preserve visible installer access URLs 2026-10-26 18:37:13 +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 cf784245e8 fix(chat): remove remaining router Back interception 2026-10-24 14:17:57 +01:00
alan 877c2f1acd fix(shell): keep the tab destination ready behind pushed pages 2026-10-24 11:14:10 +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 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 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 9811b532d3 feat(app): the web page offers the server's Android APK in Settings 2026-10-23 22:23:17 +01:00
alan a50daebeb6 feat(app): Schedules opens from the Pipelines bar instead of Settings 2026-10-23 21:49:53 +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 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 9d61ce1406 feat(app): run detail's pipeline name opens that pipeline; Retry moves into the more menu 2026-10-23 16:27:20 +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 2573b49a0d fix(app): scope pending pipeline runs by endpoint 2026-10-22 23:59:52 +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
alan 8ff3b3f22e wip(app): runs-pipeline-url (retained from the cancelled overrun lane) 2026-10-22 21:59:06 +01:00
alan afc7b88366 fix(app): collapse the summary sections and correct the visit index for search hits 2026-10-22 18:54:27 +01:00
alan ce28cb58b1 merge(app): land flutter/chat-question-notice 2026-10-22 18:45:00 +01:00
alan eb80092860 feat(app): mirror the attention count on the Runs tab 2026-10-22 18:40:55 +01:00
alan 4280881436 feat(app): notify on chat questions 2026-10-22 18:37:18 +01:00
alan d44fee5f2d merge(app): land search-pane 2026-10-22 16:15:50 +01:00