provisioning: updates-review-ui — the P4b-U2 review-and-approve screen #107

Closed
opened 2026-07-25 12:58:35 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #17 (provisioning). Follow-up UI slice filed by design-verify 2026-07-25: #62 closed seam-only; this slice ships the owed screen(s) P4b-U2 per swarm prompt rule 2b (the wireframe is the binding UI contract).

What to build

The U2 review screen: signed release notes rendered verbatim (never generated), this-fleet framing, approve → queued for the window, skip stays skipped. Build to p4b-u2-review-update.html.

Acceptance criteria

  • Given a pending release, when I open it from U1, then U2 renders the signed notes verbatim with this-fleet framing (fields per wireframe).
  • Given U2, when I approve, then the seam queues it for the maintenance window and U1 reflects it; when I skip, it stays skipped.

Blocked by

  • #62 provisioning:updates-review-approve — the seam.
  • #106 — U1→U2 navigation.

Task manifest

task: provisioning:updates-review-ui
implements_flow: p4b-updates
implements_edge: "U1→U2, U2→U3, U2→U1"
wireframe: docs/ux/wireframes/p4b-updates/p4b-u2-review-update.html
interface: "the U2 review screen over the update seam's review/approve API"
seam: "component tests against the wireframe's data-field/data-action/data-status contract (dashboard); reads only through the closed seam's API — no local truth"
acceptance: "the UI-facing Given/When/Then clauses of the parent seam ticket, verified against the rendered screen (see Acceptance criteria above)"
depends_on: [provisioning:updates-review-approve, provisioning:updates-see-state-ui]
out_of_scope: [the seam behaviour itself (closed in the parent seam ticket) — this slice renders it, never reimplements it]
needs_human_decision: []
## Parent Feature spec: #17 (provisioning). Follow-up UI slice filed by design-verify 2026-07-25: #62 closed seam-only; this slice ships the owed screen(s) P4b-U2 per swarm prompt rule 2b (the wireframe is the binding UI contract). ## What to build The U2 review screen: signed release notes rendered verbatim (never generated), this-fleet framing, approve → queued for the window, skip stays skipped. Build to `p4b-u2-review-update.html`. ## Acceptance criteria - [ ] Given a pending release, when I open it from U1, then U2 renders the signed notes verbatim with this-fleet framing (fields per wireframe). - [ ] Given U2, when I approve, then the seam queues it for the maintenance window and U1 reflects it; when I skip, it stays skipped. ## Blocked by - #62 provisioning:updates-review-approve — the seam. - #106 — U1→U2 navigation. ## Task manifest ```yaml task: provisioning:updates-review-ui implements_flow: p4b-updates implements_edge: "U1→U2, U2→U3, U2→U1" wireframe: docs/ux/wireframes/p4b-updates/p4b-u2-review-update.html interface: "the U2 review screen over the update seam's review/approve API" seam: "component tests against the wireframe's data-field/data-action/data-status contract (dashboard); reads only through the closed seam's API — no local truth" acceptance: "the UI-facing Given/When/Then clauses of the parent seam ticket, verified against the rendered screen (see Acceptance criteria above)" depends_on: [provisioning:updates-review-approve, provisioning:updates-see-state-ui] out_of_scope: [the seam behaviour itself (closed in the parent seam ticket) — this slice renders it, never reimplements it] needs_human_decision: [] ```
Author
Owner

Done in commit fd03b20 — the P4b-U2 review-and-approve screen, built to docs/ux/wireframes/p4b-updates/p4b-u2-review-update.html and composed on the Updates surface over the closed seam (#62).

What shipped:

  • dashboard/src/lib/updateReview.ts — the UpdateReviewSource port mirroring the seam's review face (Review/Approve/Skip, internal/update/review.go), a recording fake with the orchestrator's semantics, and the wireframe's fixture.
  • dashboard/src/components/provisioning/ReviewUpdateScreen.vue — the signed half rendered verbatim (title, the signed-by line, notes-body exactly as shipped — ADR 0068, never generated) and the this-fleet framing (NODES with gateway-updated-last, SERVICES, WHEN = the maintenance window, IF IT FAILS = the exact rolls-back-to revision), with the wireframe's view-signed-source / skip-update / approve-update actions and the pending-approval status pill.
  • UpdatesSurface.vue — edges U1→U2 (taken only when the seam still tracks the release pending), U2→U1 on skip (the release stays pending and U1 keeps saying so — ADR 0015), and approve resting back on U1 with the release queued for the window (U2→U3 runs at the window via #108's rollout screens).

Acceptance: both clauses verified by 13 component tests in dashboard/tests/unit/updateReview.test.ts against the wireframe's data-field/data-action/data-status contract — the composed U1→U2 open with verbatim notes + this-fleet framing, approve queueing through the seam and reflected on U1, skip staying skipped. The screen holds no update truth: it reads and acts only through the seam. Full dashboard suite green (except the pre-existing real-clock deviceAdd flake, untouched); vue-tsc clean.

Done in commit fd03b20 — the P4b-U2 review-and-approve screen, built to `docs/ux/wireframes/p4b-updates/p4b-u2-review-update.html` and composed on the Updates surface over the closed seam (#62). What shipped: - `dashboard/src/lib/updateReview.ts` — the `UpdateReviewSource` port mirroring the seam's review face (`Review`/`Approve`/`Skip`, `internal/update/review.go`), a recording fake with the orchestrator's semantics, and the wireframe's fixture. - `dashboard/src/components/provisioning/ReviewUpdateScreen.vue` — the signed half rendered verbatim (title, the signed-by line, `notes-body` exactly as shipped — ADR 0068, never generated) and the this-fleet framing (NODES with gateway-updated-last, SERVICES, WHEN = the maintenance window, IF IT FAILS = the exact rolls-back-to revision), with the wireframe's `view-signed-source` / `skip-update` / `approve-update` actions and the `pending-approval` status pill. - `UpdatesSurface.vue` — edges U1→U2 (taken only when the seam still tracks the release pending), U2→U1 on skip (the release stays pending and U1 keeps saying so — ADR 0015), and approve resting back on U1 with the release queued for the window (U2→U3 runs at the window via #108's rollout screens). Acceptance: both clauses verified by 13 component tests in `dashboard/tests/unit/updateReview.test.ts` against the wireframe's data-field/data-action/data-status contract — the composed U1→U2 open with verbatim notes + this-fleet framing, approve queueing through the seam and reflected on U1, skip staying skipped. The screen holds no update truth: it reads and acts only through the seam. Full dashboard suite green (except the pre-existing real-clock `deviceAdd` flake, untouched); vue-tsc clean.
ben closed this issue 2026-07-25 13:41:37 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#107
No description provided.