From 34c520046949f4d377b0419923b6df51f6f40842 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Nov 2026 21:06:45 +0000 Subject: [PATCH 01/39] Start working record for feature 452 --- specs/feature-452-shared-components/log.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 specs/feature-452-shared-components/log.md diff --git a/specs/feature-452-shared-components/log.md b/specs/feature-452-shared-components/log.md new file mode 100644 index 00000000..482f720f --- /dev/null +++ b/specs/feature-452-shared-components/log.md @@ -0,0 +1,8 @@ +# Log: feature 452-shared-components + +One line per pipeline step: date and time of day (UTC), step, member, result. Lead decisions and escalations +are quoted in full. + +| Date | Step | Member | Result | +| ---- | ---- | ------ | ------ | +| 2026-11-28 21:06 | 1 Intake | Orchestrator | Feature #452 (Flat refresh 2/9), open, label enhancement, no comments; #451 merged. Branch claude/keen-hawking-8xxzej off main 2b70a4f. | From 8a426033f459f227cd37e090e2203f3588ed5993 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Nov 2026 21:10:40 +0000 Subject: [PATCH 02/39] Add spec for feature 452 --- specs/feature-452-shared-components/log.md | 1 + specs/feature-452-shared-components/spec.md | 162 ++++++++++++++++++++ 2 files changed, 163 insertions(+) create mode 100644 specs/feature-452-shared-components/spec.md diff --git a/specs/feature-452-shared-components/log.md b/specs/feature-452-shared-components/log.md index 482f720f..77ded07d 100644 --- a/specs/feature-452-shared-components/log.md +++ b/specs/feature-452-shared-components/log.md @@ -6,3 +6,4 @@ are quoted in full. | Date | Step | Member | Result | | ---- | ---- | ------ | ------ | | 2026-11-28 21:06 | 1 Intake | Orchestrator | Feature #452 (Flat refresh 2/9), open, label enhancement, no comments; #451 merged. Branch claude/keen-hawking-8xxzej off main 2b70a4f. | +| 2026-11-28 21:10 | 2a Spec | Lead | RESULT: DONE. spec.md written (12 criteria), open questions answered, no escalation. (opus/medium · 90,576 tokens · 24 tool uses · 228 s · 48 in · 20,504 out · 1,427,982 cache read · 89,011 cache write · 570,462 weighted) | diff --git a/specs/feature-452-shared-components/spec.md b/specs/feature-452-shared-components/spec.md new file mode 100644 index 00000000..08631a5f --- /dev/null +++ b/specs/feature-452-shared-components/spec.md @@ -0,0 +1,162 @@ +# Spec: Flat refresh 2/9 — shared components for status, severity, page header, panel and tables + +Source: Issue #452 (part of #450, after #451) +Status: Draft + +## Problem + +The pages color statuses with MudBlazor chip colors from several mappings: `ScanStatusDisplayFormatter` for scan +statuses (one shared mapping since #548, which fixed #274 — the issue's "seven copies" and uncolored +`Succeeded`/`Partial` are no longer the case), two private copies of the update-state mapping (`RuntimeContainers`, +`RuntimeContainerDetail`), four page wrappers of `VulnerabilityDisplayFormatter`, and a fixed info chip for every +runtime status. Chip colors therefore come from MudBlazor's palette, not from the flat-refresh tokens of #451. Page +headers, sections and tables are built by hand on each page in two or more shapes, and the table head is uppercase with +a nested border. The page sub-issues of #450 (3 and 5–9) need one set of building blocks to convert the pages to; the +issue's *Target* mockups show them. + +## Scenarios + +- S1: Given a status text a view model carries (scan status, update state, vulnerability status, runtime status or + severity), when a component asks for its tone, then it gets the tone of the issue's mapping table (§1), with the + answers of *Open questions* for the values the table does not name. +- S2: Given a text and a tone, when a `StatusChip` renders, then the user sees the text in the chip color pair of that + tone (issue §2), in both themes. +- S3: Given a scan status, when a `ScanStatusIndicator` renders, then the user sees a dot and the status text with the + dot color, weight and text color of its tone (issue §3); the text alone carries the meaning. +- S4: Given a severity summary with findings, when a `SeverityBar` renders, then the user sees one segment per + severity with findings, widths in proportion to the counts, a legend `2 critical, 9 high, …` of the non-zero counts, + and a screen reader reads `Severity distribution: 2 critical, 9 high, 14 medium, 6 low`. +- S5: Given a title and optional description, actions, breadcrumb and title content, when a `PageHeader` renders, + then the user sees one page heading with those parts as issue §5 lays them out; while a page loads, its header + skeleton has the same shape. +- S6: Given a title and content, when a `SectionPanel` renders, then the user sees a bordered flat panel with one + section heading, the optional meta text or header content on the right, and the content, edge to edge when flush; + a table skeleton has the same shape. +- S7: Given any page with a table, then its head reads in sentence case without letter spacing, rows are separated by + hairlines, and below 960 px each row is a flat card (issue §7). +- S8: Given any page with buttons, text fields or selects, then they follow issue §8: no uppercase, at least 44 px + high, flat colors from the tokens. +- S9: Given a list row with the per-image rescan, then the user sees a 44 px icon button announced as `Rescan + vulnerabilities`, the tooltip `Rescan for vulnerabilities now`, and next to it `Checked