From 336afa6f54a6b044b68942d08bc209f43b941a2b Mon Sep 17 00:00:00 2001 From: Sebastian Gieseler Date: Wed, 28 Oct 2026 13:47:07 +0100 Subject: [PATCH] fix(dashboard): rows line up in fixed columns; infrastructure groups at full width A row's usage, pin, state and actions had the width of their content, so they moved with the ports and names of each row, and a group's usage in its head sat right after its name. They now take fixed columns (`--col-usage`, `--col-pill`, `--col-actions`); a row without usage keeps its column, and a group's head is as wide behind its usage as a row's pin, state and actions, so the group's usage stands over its members'. The Infrastructure page laid its Compose groups out in columns of 420 px, too narrow for a container row: names were cut and the graph ran into the ports. The groups now stand one under the other at full width. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 6 +++ ui/src/components/ContainerRow.vue | 71 ++++++++++++++---------------- ui/src/components/RowUsage.vue | 4 ++ ui/src/components/ServiceRow.vue | 12 +---- ui/src/styles/components.css | 20 +++++++++ ui/src/views/InfraView.vue | 8 +++- ui/src/views/OverviewView.vue | 44 ++++++++++-------- 7 files changed, 99 insertions(+), 66 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 995ca513..a1ff69f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,12 @@ and listed with their assets on the pushed the lane's real changes out within about four hours; its log line was also the next take's telemetry. The take is no longer journaled or logged as a request. +- **The dashboard's rows line up**: a service's or container's usage, + pin, state and actions stand in fixed columns, so they line up from row + to row and under the group's usage in its head, whatever the ports and + names; a row without usage keeps the column. The *Infrastructure* page + shows its Compose groups one under the other at full width instead of + in narrow columns that cut the container names short. - **`devstack up` waits for the containers too** (#66): it waited for the autostart services only, so a stack of Compose groups alone answered right away while its images were still built and its containers started. diff --git a/ui/src/components/ContainerRow.vue b/ui/src/components/ContainerRow.vue index c3889a16..22242d7b 100644 --- a/ui/src/components/ContainerRow.vue +++ b/ui/src/components/ContainerRow.vue @@ -95,46 +95,47 @@ const extraUrls = computed(() => webUrls.value.filter((u) => !props.container!.p > - - + + - @@ -219,8 +220,4 @@ const extraUrls = computed(() => webUrls.value.filter((u) => !props.container!.p .pin.on { color: var(--accent); } -.row-pill { - min-width: 88px; - justify-content: center; -} diff --git a/ui/src/components/RowUsage.vue b/ui/src/components/RowUsage.vue index 2993b358..0a46bf2e 100644 --- a/ui/src/components/RowUsage.vue +++ b/ui/src/components/RowUsage.vue @@ -19,14 +19,18 @@ const mem = computed(() => (stack.history.get(props.seriesKey) ?? []).map((p) => {{ percent(load.cpu) }} + + -
+ +
@@ -72,6 +73,11 @@ function summary(group: string) {