Repository navigation
Description
Part of #450. Depends on #451 (tokens) and #452 (shared components).
Problem
The Runtime Containers page (/runtime-containers, Components/Pages/RuntimeContainers.razor) puts too much into its last column. Update State holds, one below the other: the update state chip, the available version, a chip Runtime vulnerabilities, compact severity chips, a line with count and summary, the time of the last check with the rescan button, a chip Base images affected and its summary. Two unrelated questions — "is there an update" and "is it vulnerable" — share one cell, and the rows become tall and hard to scan.
The link to a container's own image is an icon without text next to the name, explained only by a tooltip. The page header has an eyebrow label, and the section repeats the page description.
Target
[Runtime Containers](https://github.com/LarsLaskowski/DockerUpdateGuard/blob/eab5ae13e974c4dbca43daa187fdf603886868de/docs/ui-concept/flat-refresh/preview-runtime-containers.png?raw=true)
Sample data; the list is shortened to seven rows. The header navigation is part of #454.
Scope
1. Page header
PageHeader (#452) with the title Runtime Containers, the description Active containers with their images, update state, vulnerabilities and live resource usage. and the action Check image updates as a primary button on the right.
- The button keeps its behavior: disabled with a progress indicator and the text
Checking image updates...while the scan runs, then the page reloads its data. - An error of the action is shown as an alert between the header and the panel, as today.
2. Panel
SectionPanel with the title Container inventory and the meta text 23 containers on 2 Docker instances (1 container, 1 Docker instance in the singular; the instance count is the number of distinct instances in the list). The description under the section title is removed. The table is flush with the panel.
3. Columns
Seven columns in the proportions 1.3 : 0.8 : 0.7 : 0.8 : 1.4 : 1.05 : 1.5. From 960 px on, when the panel is narrower than 1100 px, the table scrolls horizontally inside the panel; the page itself never scrolls horizontally.
| Column | Content |
|---|---|
| Container | Line 1: container name as a semibold link in --dug-link to /runtime-containers/{instanceId}/{containerId}. Line 2 (13 px, muted, tabular figures): the tag, with the resolved version in parentheses when the tag is an alias (16 (16.3)), as today. Line 3, only when the container runs an own image: Own image · {name} as a link to /observed-images/{id}; it replaces the icon link with its tooltip. |
| Instance | Docker instance name. |
| CPU | Current value, below it the sparkline. |
| Memory | Current value as formatted today, below it the sparkline. |
| Network | Current value 12.4 kB/s ↓ / 8.1 kB/s ↑ on one line without wrapping, below it the sparkline with two lines. |
| Update | The update state as a StatusChip in its tone (#452). Below it the available version (13 px, medium weight, tabular figures) when there is one. |
| Vulnerabilities | See 5. |
4. Sparklines
- Up to the 12 latest samples, as today; no sparkline without history;
n/awithout a current value. - 22 px high, at most 96 px wide, stroke 1.6 px with a constant stroke width, no fill,
aria-hidden. - Colors: CPU
--dug-chart-cpu, memory--dug-chart-memory, network received--dug-chart-net-rx, network sent--dug-chart-net-tx.
5. Vulnerabilities column
Left part, one below the other:
- A
StatusChip: with active findings the highest severity present (Critical,High,Medium,Low) in its severity tone; without findings the vulnerability status text (No findings,Not scanned,Not configured,Unsupported,Unavailable,Failed) in the tone of [UI] Flat refresh 2/9: shared components for status, severity, page header, panel and tables #452. - With active findings:
{count} active · {summary}in--dug-text, 13 px (3 active · 1 critical, 2 high). The chip Runtime vulnerabilities and the compact severity chips are no longer shown; the chip and this line carry the same information. Checked {date and time}orNever scanned, 13 px muted — the text ofVulnerabilityRescanControl.- Only when base images of the container have active findings: a
StatusChipBase images affectedin the warning tone and under it the base image summary, 13 px muted.
Right part: the rescan icon button of VulnerabilityRescanControl (44 × 44 px, aria-label="Rescan vulnerabilities"), top-aligned. Its progress state and its error message next to it stay.
6. Narrow screens, loading and empty state
- Below 960 px the rows stay cards with a label in front of each value, in the flat style of [UI] Flat refresh 2/9: shared components for status, severity, page header, panel and tables #452; sparklines use the card width, as today.
- While loading:
TableSkeletonwith the titleContainer inventory. - Without containers: a panel with
No runtime containers have been observed yet.
7. Cleanup
The page no longer has its own color helpers (GetUpdateStateColor, GetVulnerabilityStatusColor); it uses the components and the formatter of #452.
Behavior that must not change
- Which containers are listed, their order, and how update state, available update, vulnerability status and resource values are computed (Update detection, Vulnerabilities, Docker instances).
- The actions Check image updates and Rescan, their disabled state while running, their error messages and the refresh signal they send (Web UI, Actions).
- Persistent component state of the page.
Out of scope
- Sorting, filtering or paging of the list.
- Container actions through Portainer ([Feature] Trigger Portainer container actions from the runtime container page and record them as action runs #280); if that feature lands first, its controls keep their place and take the button styles of [UI] Flat refresh 2/9: shared components for status, severity, page header, panel and tables #452.
Affected files
src/DockerUpdateGuard/Components/Pages/RuntimeContainers.razor(.cs)src/DockerUpdateGuard/wwwroot/app.css(the.runtime-containers-table*rules)docs/areas/web-ui.md: the Runtime Containers row of Pages and routes
Tests
- Existing tests that follow:
RuntimeContainersTests,RuntimeContainersPersistentStateTests. - New: the seven column heads; the container cell with and without alias and with and without own image (link target and text); the update cell for each update state with and without available version; the vulnerability cell with findings (chip of the highest severity, summary line), without findings for each status, never scanned, and with affected base images; the network value on one line; the meta text in singular and plural; the empty state.
Proposed acceptance criteria
- The page shows one header with title, description and the action, and a panel
Container inventorywith the container and instance counts. - The table has the columns Container, Instance, CPU, Memory, Network, Update and Vulnerabilities; Update State no longer exists.
- A container that runs an own image shows
Own image · {name}as a text link to that image. - The update column shows the state chip in its tone and the available version when there is one.
- The vulnerability column shows the chip of the highest severity or the status, the summary line when there are findings, the time of the last check or
Never scanned, the rescan button, and the base image line only when base images are affected. - Sparklines use the chart tokens and are absent without history.
- Both actions behave as before, including their error messages.
- Below 960 px the rows are cards, and the page has no horizontal overflow at 390, 768 and 1280 px.
docs/areas/web-ui.mddescribes the columns as implemented.
Open questions for the spec
- Today the container cell also shows the time of the snapshot (
RecordedAtUtc). The mockup leaves it out, because the detail page shows it. Proposal: remove it from the list; alternative: keep it as a fourth muted line.
Activity
LarsLaskowski commentedon Nov 30, 2026
Squad working record
Pull request: #603 · lesson issue: #604
Verification matrix of feature-455-runtime-containers-columns on
b18d9b0RuntimeContainersRenderShowsHeaderWithActionAndInventoryPanel(title, description, button text, panel title, meta, nopage-eyebrow, nosection-description);RuntimeContainerListFormatterFormatInventoryMetaUsesSingularAndPlural(DataRows: 1 container/1 instance; 2 containers on one instance; 23 on 2)b18d9b0: src/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.cs, src/Tests/DockerUpdateGuard.Tests/RuntimeContainerListFormatterTests.csRuntimeContainersRenderShowsSevenColumnHeadsInOrder(noUpdate State)b18d9b0: src/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.csRuntimeContainersRenderContainerCellWithAliasAndOwnImageShowsOwnImageLink(href, textOwn image · {name},16 (16.3));RuntimeContainersRenderContainerCellWithoutOwnImageShowsNameAndTagOnly(no own-image line, no snapshot time, no tooltip icon link);RuntimeContainersRenderEncodesExternalTexts(a<b>name is text)b18d9b0: src/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.csRuntimeContainersRenderUpdateCellShowsStateChipInItsTone(DataRows for the seven states and their tone class);RuntimeContainersRenderUpdateCellShowsAvailableVersionOnlyWhenKnownb18d9b0: src/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.csRuntimeContainerListFormatterFormatActiveFindingsListsCountsInSeverityOrder(DataRows:3 active · 1 critical, 2 high; all five kinds; only unknown; zero → empty);RuntimeContainerListFormatterIsStatusShownBesideSeverityOnlyForOtherStatuses;RuntimeContainersRenderFindingsShowHighestSeverityChipAndCountLine(noRuntime vulnerabilities, no compact chips);RuntimeContainersRenderUnknownSeverityFindingsShowUnknownChipInLowTone;RuntimeContainersRenderFailedCheckWithFindingsShowsStatusChipBesideSeverity;RuntimeContainersRenderWithoutFindingsShowsStatusChipInItsTone(DataRows for the six statuses, andFindings detectedwith zero findings in the low tone, no count line)b18d9b0: src/Tests/DockerUpdateGuard.Tests/RuntimeContainerListFormatterTests.cs, src/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.csRuntimeContainersRenderVulnerabilityCellOrdersItsLines(chip line, count line,Checked …, base image chip and summary, by markup position; button outside the details part);RuntimeContainersRenderBaseImageWarningOnlyWithAffectedBaseImages;RuntimeContainersRenderNeverScannedImageShowsNeverScanned;VulnerabilityRescanControlWithLeadingAndTrailingContentRendersSplitLayout;VulnerabilityRescanControlFailedRescanInSplitLayoutShowsErrorBeforeTrailingContentAsync;VulnerabilityRescanControlWithoutContentKeepsInlineLayout(no--splitclass; existing tests unchanged)b18d9b0: src/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.cs, src/Tests/DockerUpdateGuard.Tests/VulnerabilityRescanControlTests.csRuntimeContainersRenderResourceCellsShowNotAvailableWithoutUsage;RuntimeContainersRenderSparklinesNeedTwoSamples(none with one, CPU/memory/two network paths with two);RuntimeContainersRenderNetworkValueIsOneElement; existingAppStylesheetLinksAndSparklinesUseTokenColors;AppStylesheetRuntimeContainersSparklinesAreThinFixedSizeLines(height 22px, max-width 96px, stroke-width 1.6,vector-effect: non-scaling-stroke,fill: none);AppStylesheetRuntimeContainersNetworkValueDoesNotWrapb18d9b0: src/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.cs, src/Tests/DockerUpdateGuard.Tests/AppStylesheetRuntimeContainersTests.csRuntimeContainersFailedUpdateCheckShowsFixedReasonAndLogsAsync,RuntimeContainersLoadFailureShowsFixedErrorAndLogs,RuntimeContainersSuccessfulUpdateCheckAfterLoadFailureShowsList,RuntimeContainersRestoresFromPersistentState,RuntimeContainersPersistsLoadedStateForPrerender, the existingVulnerabilityRescanControlTests; newRuntimeContainersRunningUpdateCheckDisablesButtonWithProgress;RuntimeContainersRescanReloadsListAndNotifiesDashboardAsync;RuntimeContainersRenderEmptyListShowsEmptyState;RuntimeContainersRenderLoadingShowsTableSkeletonWithTitleb18d9b0: src/Tests/DockerUpdateGuard.Tests/RuntimeContainersTests.cs, src/Tests/DockerUpdateGuard.Tests/RuntimeContainersPersistentStateTests.cs, src/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.csRuntimeContainersRenderTableSwitchesToCardsBelow960Px(classmud-sm-table, every cell has itsdata-label);AppStylesheetRuntimeContainersTableScrollsInsidePanelFrom960Px(min-width: 1100pxand the seven column widths only inside@media (min-width: 960px)); manual: Product Manager in step 9 on a localdocker composebuild of the branch head (DOCKER.md), window widths 390, 768, 959, 1024 and 1280 pxb18d9b0: src/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.cs, src/Tests/DockerUpdateGuard.Tests/AppStylesheetRuntimeContainersTests.csGetUpdateStateColor,GetVulnerabilityStatusColororMudChipin `RuntimeContainers.razor(.cs)e5bff40: the Reviewer's delta round read the Pages and routes row against the built page and found none ofGetUpdateStateColor,GetVulnerabilityStatusColororMudChipinRuntimeContainers.razor(.cs); manual check by the Product Manager on a local build at 390, 768, 959 (labelled cards), 1024 (table, horizontal scroll inside the panel) and 1280 px (table), no page overflowSpec
[spec.md](
https://github.com/LarsLaskowski/DockerUpdateGuard/blob/83ba319624a890c30f6d3097462d7d2ef62db295/specs/feature-455-runtime-containers-columns/spec.md): ten acceptance criteria. Decided there: the snapshot time leaves the list, the count line is a severity breakdown, a failed check with active findings keeps its status chip beside the severity chip, the other pages keep today's rescan control. The spec challenge (1 major, 3 minor objections) was answered in the spec.Plan
[plan.md](
https://github.com/LarsLaskowski/DockerUpdateGuard/blob/83ba319624a890c30f6d3097462d7d2ef62db295/specs/feature-455-runtime-containers-columns/plan.md): tier standard, no security area;VulnerabilityRescanControlgetsLeadingContent/TrailingContent, a newRuntimeContainerListFormatter, the page moves toBreakpoint.Sm; decision record 0082. The plan challenge (3 minor objections) is in the plan's challenge notes and was applied.tasks.md
Tasks: Runtime Containers list with separate update and vulnerability columns
Plan: plan.md
RuntimeContainerListFormatterwithFormatInventoryMeta,FormatActiveFindings,IsStatusShownBesideSeverity, and theRenderFragmentparametersLeadingContent,TrailingContentofVulnerabilityRescanControl(Signatures)src/DockerUpdateGuard/UI/RuntimeContainerListFormatter.cs,src/DockerUpdateGuard/Components/Common/VulnerabilityRescanControl.razor.csVulnerabilityRescanControlTests.cssrc/Tests/DockerUpdateGuard.Tests/RuntimeContainerListFormatterTests.cs,src/Tests/DockerUpdateGuard.Tests/VulnerabilityRescanControlTests.cs--splitCSSsrc/DockerUpdateGuard/UI/RuntimeContainerListFormatter.cs,src/DockerUpdateGuard/Components/Common/VulnerabilityRescanControl.razor*,src/DockerUpdateGuard/wwwroot/app.cssRuntimeContainersTests.cssrc/Tests/DockerUpdateGuard.Tests/RuntimeContainersRenderTests.cs,src/Tests/DockerUpdateGuard.Tests/AppStylesheetRuntimeContainersTests.cs,src/Tests/DockerUpdateGuard.Tests/RuntimeContainersTests.cs.runtime-containers-table*rulessrc/DockerUpdateGuard/Components/Pages/RuntimeContainers.razor*,src/DockerUpdateGuard/wwwroot/app.cssdocs/areas/web-ui.mdas Documentation updates says, against the green codedocs/areas/web-ui.mdlog.md
| 2026-11-30 19:57 | 12 Wrap-up | Orchestrator | #604 |
| 2026-11-30 19:49 | 10 Pull request | Orchestrator | #603 |
Log: feature 455-runtime-containers-columns
One line per pipeline step: date and time of day (UTC), step, member, result. Lead decisions and escalations
are quoted in full.
Squad run metrics
Template: LarsLaskowski/Squad-Spec-Repository-Template v2026.11.16 (commit 6faa7e3391bd)
Tokens per kind and their weighted figure (every token at its list price, in tokens of Sonnet input:
.squad/tools/session-usage.py):Session usage
Tokens per model (the session and all its subagents; Claude Code's own background calls are not in the transcripts, so this is a lower bound):
Subagents:
Orchestrator (this session without its subagents): 2,514,633 weighted, 29 % of the total, on claude-sonnet-5-5.
Orchestrator context: 105 turns, 96,268 tokens at the first, 258,716 at the last.
Weighted: every token at its list price, in tokens of Sonnet input (
PRICESin.squad/tools/session-usage.py); a model of no listed family has none (–).Generated by Claude Code