Commit Graph

62 Commits

Author SHA1 Message Date
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
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 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 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 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 87f69d594c Merge branch 'main' into flutter/run-visit-deeplink 2026-10-22 10:48:43 +01:00