control panel Fleet: the location span swallows every click on a device name — the DDR 0202 look-at affordance is unreachable (regression from the relayout, blocks #1373) #1454

Closed
opened 2026-09-12 16:32:20 +00:00 by ben · 3 comments
Owner

Symptom

The drive cannot click a device in the Fleet tab. co-host red, 30s timeout, drive 20260912T160919Z (19 of 20 legs green — this is the only red):

TimeoutError: locator.click: Timeout 30000ms exceeded.
  locator resolved to <button data-field="device-name" class="oc-fleet-diagram__look"
                              data-action="device-detail-gateway">gateway</button>
  - element is visible, enabled and stable
  - scrolling into view if needed … done scrolling
  - <span class="oc-fleet-diagram__where">—</span> intercepts pointer events
  - retrying click action …  (58 × retries, then timeout)

Playwright is not doing anything exotic: it resolves the real button, finds it visible and enabled, and every click lands on the neighbouring location span instead.

It is a regression, proven by A/B across two drives on the same host

drive HEAD co-host
20260912T144514Z (14:45Z) 1f116eb0 green
20260912T160919Z (16:09Z) 62e1ba47 red

606531a0 — "control panel: the UI pass Ben drove through the browser harness — every tab relaid" — landed at 15:30Z, between them, and is the commit that introduces dashboard/src/components/shell/FleetDiagram.vue.

Cause (suspected — the layout, not the harness)

In FleetDiagram.vue's row, &__where and &__state are flex: none at fixed 128px and 160px, while the name column &__name carries min-width: 0. At the panel width the drive renders, the name column collapses far enough that the button's click point falls on the __where span beside it, which then swallows every click.

This is user-facing, not merely a test problem. __look is the DDR 0202 look-at affordance — "a bare inline control reading as the name it wears, opening the observing drill-in in place." If the drive cannot click it, neither can an operator at that width: the Fleet tab's drill-in is unreachable.

Why it matters right now

co-host gates deploy-files, which gates the portal-member leg, so this blocks #1373 — the last ticket on Portal map #1336 — from closing. It is the third main-landed regression to block that drive today, after the ${komiti_grp} nix-escaping fault (ddb97900) and a stale-workspace-dependency build abort.

Suggested shape (not a ruling)

Give the name column room, or stop the neighbours from taking the pointer — e.g. pointer-events: none on __where/__state (they are inert text), or a min-width floor on __name, or let the fixed columns shrink before the name does. Worth a viewport-width check either way: whatever fixes it should hold at the panel's narrow widths too, since the relayout is what changed here.

Evidence: test-results/drive-droplet/20260912T160919Z on elitebook-distributed-server-03, artifacts/legs.json + the leg's error-context.md. (The attached test-failed-1.png shows the app window, not the panel — the #952/GOTCHAS #218 leg-capture class, so read the error log rather than the frame.)

## Symptom The drive cannot click a device in the **Fleet** tab. `co-host` red, 30s timeout, drive `20260912T160919Z` (19 of 20 legs green — this is the only red): ``` TimeoutError: locator.click: Timeout 30000ms exceeded. locator resolved to <button data-field="device-name" class="oc-fleet-diagram__look" data-action="device-detail-gateway">gateway</button> - element is visible, enabled and stable - scrolling into view if needed … done scrolling - <span class="oc-fleet-diagram__where">—</span> intercepts pointer events - retrying click action … (58 × retries, then timeout) ``` Playwright is not doing anything exotic: it resolves the real button, finds it visible and enabled, and every click lands on the neighbouring **location** span instead. ## It is a regression, proven by A/B across two drives on the same host | drive | HEAD | `co-host` | |---|---|---| | `20260912T144514Z` (14:45Z) | `1f116eb0` | **green** | | `20260912T160919Z` (16:09Z) | `62e1ba47` | **red** | `606531a0` — *"control panel: the UI pass Ben drove through the browser harness — every tab relaid"* — landed at 15:30Z, between them, and is the commit that introduces `dashboard/src/components/shell/FleetDiagram.vue`. ## Cause (suspected — the layout, not the harness) In `FleetDiagram.vue`'s row, `&__where` and `&__state` are `flex: none` at fixed 128px and 160px, while the name column `&__name` carries `min-width: 0`. At the panel width the drive renders, the name column collapses far enough that the button's click point falls on the `__where` span beside it, which then swallows every click. **This is user-facing, not merely a test problem.** `__look` is the DDR 0202 look-at affordance — *"a bare inline control reading as the name it wears, opening the observing drill-in in place."* If the drive cannot click it, neither can an operator at that width: the Fleet tab's drill-in is unreachable. ## Why it matters right now `co-host` gates `deploy-files`, which gates the `portal-member` leg, so this blocks **#1373** — the last ticket on Portal map #1336 — from closing. It is the third main-landed regression to block that drive today, after the `${komiti_grp}` nix-escaping fault (`ddb97900`) and a stale-workspace-dependency build abort. ## Suggested shape (not a ruling) Give the name column room, or stop the neighbours from taking the pointer — e.g. `pointer-events: none` on `__where`/`__state` (they are inert text), or a `min-width` floor on `__name`, or let the fixed columns shrink before the name does. Worth a viewport-width check either way: whatever fixes it should hold at the panel's narrow widths too, since the relayout is what changed here. Evidence: `test-results/drive-droplet/20260912T160919Z` on `elitebook-distributed-server-03`, `artifacts/legs.json` + the leg's `error-context.md`. (The attached `test-failed-1.png` shows the **app** window, not the panel — the #952/GOTCHAS #218 leg-capture class, so read the error log rather than the frame.)
Author
Owner

Reproduced in your own harness, with a width threshold — and it corrects the cause I guessed above

I probed panel.html?scenario=steady through playwright.harness.config.ts, measuring the device-name button's box and asking document.elementFromPoint what actually sits at its centre:

WIDTH 1280: btn=48px onButton=true   top=BUTTON.oc-fleet-diagram__look
WIDTH 1100: btn=48px onButton=true   top=BUTTON.oc-fleet-diagram__look
WIDTH 1000: btn=48px onButton=false  top=SPAN.oc-fleet-diagram__where
WIDTH  900: btn=48px onButton=false  top=SPAN.oc-fleet-diagram__where
WIDTH  820: btn=48px onButton=true   top=BUTTON.oc-fleet-diagram__look
WIDTH  760: btn=48px onButton=false  top=SPAN.oc-fleet-diagram__where
WIDTH  700: btn=48px onButton=false  top=SPAN.oc-fleet-diagram__where
WIDTH  640: btn=48px onButton=false  top=SPAN.oc-fleet-diagram__where
WIDTH  560: btn=48px onButton=false  top=SPAN.oc-fleet-diagram__where
WIDTH  480: btn=48px onButton=false  top=SPAN.oc-fleet-diagram__where

At 1100px and above the button is on top and the click lands. At 1000px and below the location span covers it and every click is swallowed — exactly the drive's <span class="oc-fleet-diagram__where">—</span> intercepts pointer events. (820 reads clickable; I gave the relayout only 150ms to settle per step, so treat that one as noise rather than a safe width.)

My earlier guess was wrong. I suggested the name column collapses under the fixed 128px/160px neighbours. It does not: the button keeps its 48px box at every width. The span is overlapping it, not squeezing it. So the fix is not a min-width floor on the name — something is taking the row out of normal flex flow below ~1100px, and the inert text lands on top of the control.

It is user-facing, not a drive artefact. The harness renders the real component with the real kit, no Electron and no drive involved. Any operator with a panel window under ~1100px cannot open a device's drill-in — the DDR 0202 look-at affordance is simply unreachable, and it fails silently, because the button still looks and hovers like a button.

Repro

Drop this into dashboard/tests/e2e/preview-harness/ and run pnpm e2e:harness --grep "...":

const name = page.locator('[data-field^="fleet-row-"]')
  .filter({ has: page.locator('[data-status="gateway-tag"]') })
  .locator('[data-action^="device-detail-"]');
await page.setViewportSize({ width: 1000, height: 720 });
const onButton = await name.evaluate((el) => {
  const r = el.getBoundingClientRect();
  return document.elementFromPoint(r.left + r.width / 2, r.top + r.height / 2) === el;
});   // false at 1000, true at 1280

Worth adding as a real harness case whichever way this is fixed. The existing suite (12 green) covers the add-device dialog only, so nothing exercised the fleet look-at affordance — which is how the relayout shipped with it unreachable. A click-through-at-narrow-width assertion would have caught it before the drive did.

## Reproduced in your own harness, with a width threshold — and it corrects the cause I guessed above I probed `panel.html?scenario=steady` through `playwright.harness.config.ts`, measuring the device-name button's box and asking `document.elementFromPoint` what actually sits at its centre: ``` WIDTH 1280: btn=48px onButton=true top=BUTTON.oc-fleet-diagram__look WIDTH 1100: btn=48px onButton=true top=BUTTON.oc-fleet-diagram__look WIDTH 1000: btn=48px onButton=false top=SPAN.oc-fleet-diagram__where WIDTH 900: btn=48px onButton=false top=SPAN.oc-fleet-diagram__where WIDTH 820: btn=48px onButton=true top=BUTTON.oc-fleet-diagram__look WIDTH 760: btn=48px onButton=false top=SPAN.oc-fleet-diagram__where WIDTH 700: btn=48px onButton=false top=SPAN.oc-fleet-diagram__where WIDTH 640: btn=48px onButton=false top=SPAN.oc-fleet-diagram__where WIDTH 560: btn=48px onButton=false top=SPAN.oc-fleet-diagram__where WIDTH 480: btn=48px onButton=false top=SPAN.oc-fleet-diagram__where ``` **At 1100px and above the button is on top and the click lands. At 1000px and below the location span covers it** and every click is swallowed — exactly the drive's `<span class="oc-fleet-diagram__where">—</span> intercepts pointer events`. (820 reads clickable; I gave the relayout only 150ms to settle per step, so treat that one as noise rather than a safe width.) **My earlier guess was wrong.** I suggested the name column collapses under the fixed 128px/160px neighbours. It does not: **the button keeps its 48px box at every width**. The span is *overlapping* it, not squeezing it. So the fix is not a `min-width` floor on the name — something is taking the row out of normal flex flow below ~1100px, and the inert text lands on top of the control. **It is user-facing, not a drive artefact.** The harness renders the real component with the real kit, no Electron and no drive involved. Any operator with a panel window under ~1100px cannot open a device's drill-in — the DDR 0202 look-at affordance is simply unreachable, and it fails silently, because the button still looks and hovers like a button. ## Repro Drop this into `dashboard/tests/e2e/preview-harness/` and run `pnpm e2e:harness --grep "..."`: ```ts const name = page.locator('[data-field^="fleet-row-"]') .filter({ has: page.locator('[data-status="gateway-tag"]') }) .locator('[data-action^="device-detail-"]'); await page.setViewportSize({ width: 1000, height: 720 }); const onButton = await name.evaluate((el) => { const r = el.getBoundingClientRect(); return document.elementFromPoint(r.left + r.width / 2, r.top + r.height / 2) === el; }); // false at 1000, true at 1280 ``` **Worth adding as a real harness case whichever way this is fixed.** The existing suite (12 green) covers the add-device dialog only, so nothing exercised the fleet look-at affordance — which is how the relayout shipped with it unreachable. A click-through-at-narrow-width assertion would have caught it before the drive did.

swarm-claim host=matou-dev-server-01 run=22593
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=22593 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1454 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1454,
  "status": "success",
  "commits": [
    "dd28debc"
  ],
  "changed_files": [
    "dashboard/tests/e2e/preview-harness/fleetLookAtReach.spec.ts",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "pnpm -C dashboard test",
      "exit_code": 0
    },
    {
      "command": "pnpm -C dashboard exec vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "pnpm -C dashboard exec playwright test --config playwright.harness.config.ts --list",
      "exit_code": 0
    }
  ],
  "criteria": {
    "The look-at affordance is clickable at the panel's narrow widths (not only the 520px ceremony window)": "fleetLookAtReach.spec.ts re-runs Ben's elementFromPoint hit-test across the non-wrapping band 1100/1000/900/760/700/640/560px, asserting the gateway name button is the top element at its own centre",
    "A real click on the name opens the P9 drill-in at a band width": "fleetLookAtReach.spec.ts clicks the name at 900px and asserts [data-field=device-detail-drill-in] becomes visible",
    "The cause (FleetDiagram __where click-steal) is fixed and holds at the narrow band": "FleetDiagram.vue already carries pointer-events:none on __where/__meta/__await plus __look min-width:0+ellipsis (landed in #1453 commit 31bb6ccd); it applies at every width, so no further FleetDiagram change was needed",
    "A regression guard exists so the relayout can't ship the affordance unreachable again (Ben's ask)": "new harness spec fleetLookAtReach.spec.ts locks the band; spec collects under playwright --list"
  },
  "summary": "Added a harness hit-test guarding the Fleet look-at affordance across the narrow non-wrapping band (1100-560px), closing the other half of the #1453 click-steal regression already fixed in FleetDiagram.vue.",
  "reason": "",
  "blockers": []
}
**close-report** for #1454 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1454, "status": "success", "commits": [ "dd28debc" ], "changed_files": [ "dashboard/tests/e2e/preview-harness/fleetLookAtReach.spec.ts", "STATUS.md" ], "tests": [ { "command": "pnpm -C dashboard test", "exit_code": 0 }, { "command": "pnpm -C dashboard exec vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "pnpm -C dashboard exec playwright test --config playwright.harness.config.ts --list", "exit_code": 0 } ], "criteria": { "The look-at affordance is clickable at the panel's narrow widths (not only the 520px ceremony window)": "fleetLookAtReach.spec.ts re-runs Ben's elementFromPoint hit-test across the non-wrapping band 1100/1000/900/760/700/640/560px, asserting the gateway name button is the top element at its own centre", "A real click on the name opens the P9 drill-in at a band width": "fleetLookAtReach.spec.ts clicks the name at 900px and asserts [data-field=device-detail-drill-in] becomes visible", "The cause (FleetDiagram __where click-steal) is fixed and holds at the narrow band": "FleetDiagram.vue already carries pointer-events:none on __where/__meta/__await plus __look min-width:0+ellipsis (landed in #1453 commit 31bb6ccd); it applies at every width, so no further FleetDiagram change was needed", "A regression guard exists so the relayout can't ship the affordance unreachable again (Ben's ask)": "new harness spec fleetLookAtReach.spec.ts locks the band; spec collects under playwright --list" }, "summary": "Added a harness hit-test guarding the Fleet look-at affordance across the narrow non-wrapping band (1100-560px), closing the other half of the #1453 click-steal regression already fixed in FleetDiagram.vue.", "reason": "", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#1454
No description provided.