6 Commits
Author SHA1 Message Date
jackos1998andClaude Opus 5.5 398f5927f5 web: Keep pages current with Server-Sent Events
CI / Check (push) Successful in 5m59s
Pages polled `/api/version` every three seconds, then fetched the
pending list and replaced it, or reloaded a request's page. Now each
page follows one stream from `/events`, whose `morph` events carry a
region of the page: the pending list, or the request, as a whole
element with its `id`, rendered by the page's own templates. The page
script morphs it into the page with idiomorph, vendored, so open
details, the focus and typing stay.

The stream starts with the current region, so a page catches up when
the browser reconnects, and it ends when the approver signs out.
`/api/version` and `/pending` are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 14:46:11 +00:00
jackos1998andClaude Opus 5.5 83a9e9d0d6 web: Show the broker's version in the header
CI / Check (pull_request) Successful in 5m45s
CI / Check (push) Successful in 5m43s
Signed-in pages show which version of the broker is running, next to
the approver's name, to check a deploy of the broker took effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:27:48 +00:00
jackos1998andClaude Opus 5.5 0b2cdf4155 web: Show history details as approvals show them
CI / Check (push) Successful in 4m44s
The audit log kept a request's detail as text, so the web app's history
showed it as one preformatted block. Keep the structure instead, and
render it with the same fields, tables and coloured diffs as a pending
request. Older records' text still reads, as a text section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:34:58 +00:00
jackos1998andClaude Opus 5.5 63b256c21b detail: Structure what approvers see
Request details become fields, then tables, lists and text, with a
tone on fields and rows. The web app shows them as a grid and tables
like the audit log; everything else, the audit log and passkey
fingerprints use the text rendering, with headline fields first in
notifications. Deploys get a packages table per profile, secrets a
recipients table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 01:28:47 +00:00
jackos1998andClaude Opus 5.5 f94ad9ab9e web: Brand the app as Slopprovals
CI / Check (push) Successful in 4m28s
The icon gains Noto Emoji's thinking face in front of the tick, kept
as vector art; its Apache-2.0 credit is in the SVG.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:16:51 +00:00
jackos1998andClaude Opus 5.5 076f4959d9 web: Add approvals web app
A web app lists pending requests with full detail, leases and the
audit log grouped by request, and sends Web Push notifications that can
answer requests. Approvers sign in through an OpenID Connect provider;
policy can require a fresh passkey (`confirm = "passkey"`) to approve,
which only the web app can then give.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:39:36 +00:00