From 50730610895e44775b9cf1fc58a0e7ca62bedb5f Mon Sep 17 00:00:00 2001 From: Sebastian Gieseler Date: Fri, 6 Nov 2026 15:01:51 +0100 Subject: [PATCH] fix(ui): narrow overview rows, join fingerprint cut, public links "Off" explained - A group card measures its rows' room (container query): where it is narrow, the usage column gives way in every row and the head, so the name and the build tag keep their room beside pin, state and actions. - The pool's join command shows the fingerprint's first digits only; a click on the command, or Copy, copies it whole. - The pool's public-link settings say that a member's Quick Tunnels need no pool, so the globe button stays with the pool's mode "Off". - What's new drops a bracket part naming an ADR anywhere in it ("amending ADR-0068"), which failed the CHANGELOG test on main. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 13 +++++++++++++ ui/src/components/PoolPublicLinks.vue | 6 ++++++ ui/src/components/RowUsage.vue | 8 ++++++++ ui/src/lib/changelog.test.ts | 1 + ui/src/lib/changelog.ts | 4 ++-- ui/src/views/OverviewView.vue | 5 +++++ ui/src/views/pool/PoolOverview.vue | 26 +++++++++++++++++++++++--- 7 files changed, 58 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d34dfbe..746f0e8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,19 @@ and listed with their assets on the section says so in its last line, and the new tool `instructions` with the upstream's `prefix` returns its full text. Where too many upstreams leave no useful share, the last ones are named as left out. +- **A service's name stays readable in a narrow overview card.** With the + detail open beside the list, the fixed columns (usage, pin, state, + actions) left a row's name no room, and the build tag ran into the + usage graph. Where the card is narrow, the usage now gives way in every + row and in the group's head; the usage page shows it all the same. +- **The pool's join command no longer shows the whole fingerprint.** The + dashboard shows its first digits only, so a screenshot of the page does + not carry it; a click on the command (or Copy) copies it whole. +- **The pool's public links say what "Off" leaves.** A member's own + public links, Cloudflare Quick Tunnels from a service's globe button, + need no pool; the settings now say so beside the mode. +- **What's new leaves out a bracket's part that names a decision record + anywhere in it**, not only at its start. ## [0.41.0] - 2026-11-05 diff --git a/ui/src/components/PoolPublicLinks.vue b/ui/src/components/PoolPublicLinks.vue index 310aa948..f16982b0 100644 --- a/ui/src/components/PoolPublicLinks.vue +++ b/ui/src/components/PoolPublicLinks.vue @@ -132,6 +132,12 @@ const close = (host: string) => run(host, async () => { + +

+ + + still open as Cloudflare Quick Tunnels (a random trycloudflare.com address) from a service’s globe button; the pool does not govern those. +

The coordinator has no Cloudflare token: put one (Tunnel: Edit, DNS: Edit for the zone, Access: Read) into cloudflare.token in its directory, or DEVSTACK_CLOUDFLARE_TOKEN.

diff --git a/ui/src/components/RowUsage.vue b/ui/src/components/RowUsage.vue index 338a5314..285916ea 100644 --- a/ui/src/components/RowUsage.vue +++ b/ui/src/components/RowUsage.vue @@ -40,4 +40,12 @@ const mem = computed(() => (stack.history.get(props.seriesKey) ?? []).map((p) => line-height: 1.2; min-width: 52px; } +/* In a narrow group card the usage gives way, in every row and the head + alike, so the name keeps its room beside pin, state and actions; the + usage page has it all the same. */ +@container members (max-width: 600px) { + .row-usage { + display: none; + } +} diff --git a/ui/src/lib/changelog.test.ts b/ui/src/lib/changelog.test.ts index f5a5135a..78879fa8 100644 --- a/ui/src/lib/changelog.test.ts +++ b/ui/src/lib/changelog.test.ts @@ -123,6 +123,7 @@ describe('withoutAdr (ADR-0006 addendum)', () => { expect(withoutAdr("Not code-signed. ADR-0017 is amended for ADR-0041's profiles. `doctor` says so.")).toBe('Not code-signed. `doctor` says so.'); expect(withoutAdr('ADR-0023 holds; `AGENTS.md` says so. ADR-0091 names ADR-0092.')).toBe(''); expect(withoutAdr('kept (`a`, `b`, ...) as is')).toBe('kept (`a`, `b`, ...) as is'); + expect(withoutAdr('**A stop** (ADR-0095, amending ADR-0068): no longer offered.')).toBe('**A stop**: no longer offered.'); }); it('leaves out a bullet that was only about ADRs', () => { diff --git a/ui/src/lib/changelog.ts b/ui/src/lib/changelog.ts index cb7a2ea3..0e99efb6 100644 --- a/ui/src/lib/changelog.ts +++ b/ui/src/lib/changelog.ts @@ -22,8 +22,8 @@ const REFERENCE = /^\[[^\]]+\]:\s/; const ADR_LINK = /\[(ADR-\d{4}[^\]]*)\]\([^)]*\)/g; /** A bracket, links in it included: `([#128](https://...), ADR-0025)`. */ const BRACKET = /(\s?)\(((?:[^()]|\[[^\]]*\]\([^)]*\))*)\)/g; -/** A part of a bracket about an ADR: `ADR-0051`, `ADR-0024 point 7 amended`, `ADR-0046's list itself is unchanged`. */ -const ADR_PART = /^ADR-\d{4}\b/; +/** A part of a bracket about an ADR: `ADR-0051`, `ADR-0024 point 7 amended`, `ADR-0046's list itself is unchanged`, `amending ADR-0068`. */ +const ADR_PART = /\bADR-\d{4}\b/; /** A sentence about an ADR: `ADR-0017 is amended for ADR-0041's profiles.` */ const ADR_SENTENCE = /(?<=^|[.!?]\s+)ADR-\d{4}.*?\.(?=\s|$)\s*/g; diff --git a/ui/src/views/OverviewView.vue b/ui/src/views/OverviewView.vue index 0694254e..5fa14947 100644 --- a/ui/src/views/OverviewView.vue +++ b/ui/src/views/OverviewView.vue @@ -316,6 +316,11 @@ onBeforeUnmount(() => window.removeEventListener('keydown', onKey)); gap: 8px; font-size: 13px; } +/* A group's card is what its rows measure their room against (RowUsage), + not the window: the detail beside the list narrows it at any width. */ +.list > .section { + container: members / inline-size; +} .members { list-style: none; margin: 0; diff --git a/ui/src/views/pool/PoolOverview.vue b/ui/src/views/pool/PoolOverview.vue index 09f6d58d..69d5ced3 100644 --- a/ui/src/views/pool/PoolOverview.vue +++ b/ui/src/views/pool/PoolOverview.vue @@ -21,6 +21,14 @@ const me = computed(() => o.value?.me); const nodes = computed(() => o.value?.nodes ?? []); const approved = computed(() => me.value?.state === 'approved'); +/** The join command as it shows: the fingerprint cut to its first digits, so + * that a screenshot of the page does not carry it; a copy has it whole. */ +const joinShown = computed(() => { + const j = o.value?.join; + if (!j) return ''; + return j.fingerprint ? j.command.replace(j.fingerprint, `${j.fingerprint.slice(0, 6)}…`) : j.command; +}); + async function copyJoin() { const c = o.value?.join?.command; if (!c) return; @@ -110,7 +118,7 @@ const onProvisioned = computed(() => !(me.value?.no_provisioned ?? myMember.valu

This machine was removed from the pool.

Another machine joins with - {{ o.join.command }} + @@ -227,9 +235,21 @@ const onProvisioned = computed(() => !(me.value?.no_provisioned ?? myMember.valu gap: 8px; margin-top: 10px; } -.join-cmd code { +.join-cmd .cmd { + flex: 1 1 16rem; + min-width: 0; + padding: 4px 8px; + border: 1px solid var(--border); + border-radius: 6px; + background: var(--surface-3); + color: var(--text); font-size: 12px; - word-break: break-all; + text-align: left; + overflow-wrap: anywhere; + cursor: copy; +} +.join-cmd .cmd:hover { + border-color: var(--accent); } .due-card { border-color: color-mix(in srgb, var(--warn) 45%, var(--border));