Commit Graph

424 Commits

Author SHA1 Message Date
alan 28edc32dc3 Merge branch 'main' into web-runs-home
# Conflicts:
#	web/src/app.js
#	web/styles.css
#	web/test/ui-smoke.mjs
2026-10-19 03:00:13 +01:00
alan c1dd8e6afa Merge branch 'main' into web-pipelines 2026-10-19 02:54:46 +01:00
alan e9f55dd5d2 Ignore web review captures so a capture does not dirty a delivery checkout 2026-10-19 02:53:59 +01:00
alan 13404b2a2b web: pipeline list, filter/sort and detail (P1/P2/P3)
Close three rows of the browser client's parity checklist, matching the Android
app's wording and behaviour:

- P1 pipeline list: name; "id {id} · v{version} · {N stages}"; "updated d MMM
  HH:mm"; a last-run line joined from list_runs (status chip plus
  "{ago} · {duration} · run {id}", or "no runs recorded").
- P2 filter + sort: Filter menu (name contains, Runs Any/Has runs/No runs, the
  seven server run statuses, Clear filters) and Sort menu (Server order default,
  Name A-Z/Z-A, Most recent run, Fewest/Most stages, Reset). Server order is
  preserved.
- P3 pipeline detail: Summary/Graph/Source tabs; Summary shows the content hash
  (monospace), latest version, created/updated and a collapsed-by-default
  Versions section. The Graph tab carries the browser guidance note only; the
  rendered graph stays P6.

New src/pipelines.js holds the pure, DOM-free helpers (timestamps, durations,
last-run join, comparators, filter, empty states); app.js is wiring only.
web/test/pipelines.test.mjs covers the helpers; web/test/ui-smoke.mjs captures
the list, controls and detail against the live server. All server strings are
set with textContent.
2026-10-19 02:52:35 +01:00
alan 849a184561 web: run history list, filter and sort (R1/R2)
Day-grouped run list with sticky day headers (Today / Yesterday / d MMM
yyyy / Unknown date), a usage roll-up block, the app's row hierarchy and
a bounded filter/sort menu — mirroring RunHistoryScreen.kt, ListFilter.kt
and ListSort.kt. New pure helpers live in src/runs.js with focused unit
tests; app.js keeps the wiring and sets server strings with textContent.

R1 done, R2 partial: no per-row "needs you" mark exists in the Android
app; its wording is deferred to R15 (separate attention surface).
2026-10-19 02:50:51 +01:00
alan 4721b8af10 web: prepare the client workstream for feature parity
Adds the area map (web/AGENTS.md), the parity acceptance checklist
(web/PARITY.md, one row per Android feature), and a zero-dependency browser
verification harness: test/browser.mjs drives the installed Chrome over the
DevTools protocol, and test/ui-smoke.mjs serves the page, connects it through
its own /connect proxy, and captures the rendered pipeline list, a pipeline
detail and a run detail as PNGs.

This closes the spike's 'rendered page not verified' gap (29 pipelines rendered,
three captures) and gives review stages real UI evidence without a phone or an
npm install. Hosting is unchanged: serve.mjs stays alongside the Pipelines
server and proxies /connect.
2026-10-19 02:13:39 +01:00
alan 4e4d09b6a4 Show only running background tasks in a compact chat bar
The chat background-task bar now lists only tasks that are still running, so an
exited task no longer lingers and the bar disappears when the last one ends. The
one-line 'running now and recently observed exits' subtitle is replaced by a
compact 'Background tasks · N running' header, and the list is capped at three
touch-sized rows and scrolls beyond that instead of pushing the composer down the
screen. Unit-tested (running-only set and the row cap) and the stale note
updated.
2026-10-19 01:24:20 +01:00
alan a98688f977 Hide the destination pill while a pipeline detail is open
Opening a pipeline is a detail surface that owns the foot of the Pipelines
destination, so the floating pill now stands down there exactly as it already
does for a run detail (any non-list pane depth), and returning to the pipeline
list restores it. Verified on the foldable emulator: pill drawn on the pipeline
list, hidden on the Android pipeline detail, restored on Back.
2026-10-19 01:24:20 +01:00
alan b37ade8f0e Fix Android root build commands 2026-10-19 00:43:22 +01:00
alan 4ab65692d6 Schedule Android UI review through the android-devices pool
The Android UI reviewer declares the android-devices pool instead of one
hard-coded Pixel, so a second UI run can use the idle foldable emulator instead
of waiting behind the single phone. Updates the Android map's device rules to
match the pool (replacing the old single-phone / no-emulator rule) and records
the pool, its members and the delivery-only personal Fold in a note. Safety
rules are unchanged; configuration and the pipeline version are separate steps.
2026-10-19 00:40:10 +01:00
alan 7259513d92 Label incomplete run file captures honestly
An empty partial capture no longer collapses to "no changes observed": the run
summary keeps partial/unavailable/missing capture evidence explicit, reports
skipped files, and preserves real earlier patches when a later commit-only stage
has a complete empty capture. Adds focused RunChanges tests and the stale-doc
note. UI-verified on the foldable emulator against a controlled fixture: an empty
partial capture shows 'Changes · partial capture' with the skipped-file note, and
a clean complete capture still shows 'Changes · no changes observed'.
2026-10-19 00:39:48 +01:00
alan d4dd7cb3df Merge branch 'main' into manager-honest-diffs 2026-10-19 00:36:15 +01:00
alan e59b61b659 Move notification access to the app action bar
Relocates the attention entry point from the floating above-pill chip into the
existing main/detail app bars (bell + count badge), removing the old floating
indicator and its reserved scroll spacing. Preserves Clear all, individual
dismiss, open-run and badge-count behavior. UI-verified on the foldable
emulator: action-bar bell with badge on Runs and run detail, sheet opens from
it, no floating chip.
2026-10-19 00:31:46 +01:00
alan c464aa5188 Merge branch 'main' into small-actionbar-notifications
# Conflicts:
#	android/app/src/main/java/net/awan/pipelines/ui/theme/Dimens.kt
2026-10-19 00:31:10 +01:00
alan 63cae54fb4 Merge branch 'main' into chat-cross-client-echo-order 2026-10-19 00:08:33 +01:00
alan 7da3d54013 chat: reconcile history by canonical message identity 2026-10-19 00:08:30 +01:00
alan 7c6424971d Merge branch 'main' into small-fullwidth-body 2026-10-19 00:07:03 +01:00
alan 4bfd52d432 Integrate main while preserving Clear all and action-bar notification access 2026-10-19 00:02:27 +01:00
alan 50a9fa656f Merge branch 'main' into honest-incomplete-run-diffs 2026-10-19 00:01:44 +01:00
alan a724303474 Preserve reviewed incomplete-diff labels before controlled UI acceptance 2026-10-19 00:01:44 +01:00
alan 51881cb4b3 Seed explicit empty partial and complete captures for UI review 2026-10-19 00:00:12 +01:00
alan 087e0cb5b5 Merge branch 'main' into ready-attention-review-fixture 2026-10-18 23:58:58 +01:00
alan 946055d6df Provide ready attention UI fixture and explicit Android tool path 2026-10-18 23:58:58 +01:00
alan 461b138413 fix retry-of-retry memory prefix reconstruction 2026-10-18 23:57:28 +01:00
alan e3d6aa0cce Merge branch 'main' into chat-hide-notice-timeout 2026-10-18 23:53:46 +01:00
alan a57decbf4e Merge branch 'main' into background-tasks-viewer 2026-10-18 23:45:42 +01:00
alan 80f8e2edc4 Wait for released workspace cleanup in retry isolation test 2026-10-18 23:43:58 +01:00
alan 80a1d1e0ea Bound pool declaration reads and document operator commands 2026-10-18 23:43:58 +01:00
alan 28dac46a80 Merge branch 'main' into resource-pool-operator-config 2026-10-18 23:40:12 +01:00
alan 9e31e054ac Merge branch 'main' into resource-pool-operator-config 2026-10-18 23:37:50 +01:00
alan 89a2bf1e01 Add operator resource pool configuration commands 2026-10-18 23:37:46 +01:00
alan ee9d4c846c Merge branch 'main' into notifications-clear-all 2026-10-18 23:37:17 +01:00
alan e851d261b5 Merge branch 'main' into pool-target-model-handoff 2026-10-18 23:33:30 +01:00
alan 31d78cc065 stage: expose resource targets to model harnesses 2026-10-18 23:33:30 +01:00
alan 58fa528afc test: retain committed stage diffs 2026-10-18 23:30:56 +01:00
alan 631ad0954e Merge branch 'main' into small-actionbar-notifications 2026-10-18 23:29:59 +01:00
alan e2a9a7b2d7 Merge branch 'main' into chat-hide-notice-timeout 2026-10-18 23:29:59 +01:00
alan 1ebf0f46dc Preserve hide notice re-entry fixes before renewed UI acceptance 2026-10-18 23:29:59 +01:00
alan 3187b0c06e Merge branch 'main' into chat-cross-client-echo-order 2026-10-18 23:28:54 +01:00
alan d630235657 Preserve partial cross-client identity fixes before canonical-ID continuation 2026-10-18 23:28:54 +01:00
alan 6cb584ea45 Merge branch 'main' into background-tasks-viewer 2026-10-18 23:25:16 +01:00
alan 72281716c6 Preserve bounded background viewer fixes before resumed review 2026-10-18 23:25:16 +01:00
alan 178b57f8c5 Merge branch 'main' into small-fullwidth-body 2026-10-18 23:23:41 +01:00
alan efb95610ce Merge branch 'main' into notifications-clear-all 2026-10-18 23:22:28 +01:00
alan dad89493de Preserve reviewed Clear all change for leased UI verification 2026-10-18 23:22:28 +01:00
alan 94b22732dd Merge branch 'main' into resource-pool-runner-handoff 2026-10-18 23:20:55 +01:00
alan a022b58c5c Wire pool resource targets through runner and repair quarantined-member handoff 2026-10-18 23:20:55 +01:00
alan d22e7a4cdf Merge branch 'fix-worktree-diff-capture' 2026-10-18 23:17:38 +01:00
alan 8b07dbc8ba Merge branch 'main' into fix-worktree-diff-capture 2026-10-18 23:17:13 +01:00
alan ae6bcff270 Keep binary artifacts from exhausting source diff capture budget 2026-10-18 23:17:13 +01:00