From b97a34aea4742805a8e00bc15028f69e40ba629a Mon Sep 17 00:00:00 2001 From: amosblomqvist Date: Mon, 14 Sep 2026 07:33:00 +0300 Subject: [PATCH] =?UTF-8?q?Plan-graph=20round=209=20(owner):=20white=20nod?= =?UTF-8?q?es=20dim=20=E2=80=94=20no=20longer=20fully=20transparent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Arrows routed behind a node showed straight through the fill-none boxes. The white (visited/current/monochrome) boxes now carry a 50% opacity fill of the standard app background color (fill-background/50): an edge passing behind composites UNDER the fill — dimmed to half, not shown through — while the no-fill look survives on the background surface. Upcoming (grayed) nodes keep their solid card fill. --- components/plan-block.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/plan-block.tsx b/components/plan-block.tsx index 7c31d7f..24a33e3 100644 --- a/components/plan-block.tsx +++ b/components/plan-block.tsx @@ -205,8 +205,11 @@ const HEAD_TIP_OVERHANG = (50.2 - 27.2) * HEAD_SCALE; // bleeding over the edges). The IN-CHAT block is monochrome white instead // — no status language; the popup/window show the progression. const BOX: Record = { - visited: "fill-none stroke-white", - current: "fill-none stroke-white", + // 50%-opacity app background instead of true transparency: a routed + // edge passing behind the box composites UNDER the fill — dimmed to + // half, not shown straight through (owner, round 9). + visited: "fill-background/50 stroke-white", + current: "fill-background/50 stroke-white", // The grayed-out not-yet-visited look stays as-is (owner). upcoming: "fill-card stroke-border", }; @@ -215,7 +218,7 @@ const TEXT: Record = { current: "fill-white text-xs font-medium", upcoming: "fill-muted-foreground/80 text-xs", }; -const MONO_BOX = "fill-none stroke-white"; +const MONO_BOX = "fill-background/50 stroke-white"; const MONO_TEXT = "fill-white text-xs"; /** The diagram itself: positioned nodes + bezier edges. Pure-ish render —