founding card close ✕ looks off-screen at the 1024-wide window (CSS-derived, needs a real-browser proof) #1470
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1470
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The suspicion (derived from CSS, unproven by a run)
Split off from #1469 (which ruled the founding step list a read-back display and landed at
cdf2d789). The founding card's own close control looks unreachable at the app's default 1024-wide window:.card-close { position: absolute; top: 20px; right: -86px; }(app/src/components/founding/FoundingPage.vue) is positioned against.thirds, which fills the 1024-wide window (app/src-electron/electron-main.ts:257), putting the ✕ at roughly x≈ 1062-1110 - outside the viewport and clipped by.pg { overflow: hidden }.syncScrollLock), so the operator cannot scroll to it.If it holds, the on-card ✕ is not clickable at the default size.
Not trapped, but a broken affordance
Closing the card is still possible: clicking the currently-open block on the DRAWING toggles it closed (
onBlockClick→startClose). So the card is not trapped - this is a broken/absent affordance, not a dead end. That is why #1469 shipped without touching it.Why this is its own ticket
#1469 was about the step-list rows (proven by a real drive). This is CSS-derived only - the drive never pressed the ✕ - so it needs a proof first (a real-browser render / Playwright at 1024px confirming the ✕ is off-screen and clipped) before any reposition. The fix, if confirmed, is a small two-way CSS change (anchor the ✕ inside the card / viewport). Flagged in #1469 as "worth confirming as part of the same ruling"; carved out here so it is not lost.
Agent Brief
Category: bug
Summary: The founding card's on-card close ✕ is anchored off-screen at the app's default 1024-wide window, making it unclickable — prove it with a real-browser render, then bring the control inside the viewport.
Current behavior:
When a founding block is opened on the DRAWING, the landed card shows a close ✕ in the founding page component. On desktop the ✕ is positioned with a static
rightoffset relative to the page-anchored.thirdsgrid, which spans the full width of the default 1024-wide founding window (the electron window is created at 1024×720). That places the ✕ a few dozen pixels past the right viewport edge, where it is clipped by the page container'soverflow: hidden. The dynamic reposition that pulls the ✕ back over the card only runs on the mobile media query (max-width: 768px), so it never fires at 1024px. Desktop scroll is locked while a layer is open, so the operator cannot scroll to reach it.The card is not trapped — clicking the currently-open block on the DRAWING toggles it closed — so this is a broken/absent affordance, not a dead end.
This ticket is CSS-derived and unproven by a run. The proof comes first. Do not reposition anything until a real-browser render confirms the ✕ is off-screen and clipped at 1024px. If the render shows the ✕ is actually within the viewport and clickable, the suspicion does not hold: close as not-a-bug with the render as evidence, changing no CSS.
Desired behavior (only if the proof confirms):
At the default 1024-wide window, with a founding block open, the on-card close ✕ is fully within the viewport and clickable — anchored to the landed card's top-right corner (inside the card / viewport), consistent with the mobile behavior. The exact resting placement of the ✕ is the implementing agent's discretion under ADR 0174 (a two-way-door CSS change, revertible and proven by the render below); keep it visually attached to the card's top-right, matching the intent the mobile path already expresses. Mobile behavior and the block-toggle close path are unchanged.
Key interfaces:
.card-closerule) and its dynamic style binding — the desktop resting position must land the control inside the viewport rather than relying on a negative offset against the full-width.thirdsgrid.Acceptance criteria:
app/tests/e2e/, which launches the real app at 1024×720) opens a founding block and asserts the close ✕'s bounding box lies wholly within the 1024-wide viewport. On today's code this assertion fails (proving the bug); after the fix it passes.Out of scope:
onBlockClick/startClose).cdf2d789).swarm-claim host=matou-dev-server-01 run=23964
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1470 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
close-report for #1470 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope