amosblomqvist
fa61251cfb
plan: the hug — text-first boxes, centered titles, dock-colored transcript
...
The plan skin drops its fixed 160px slabs: every box now sizes to its
wrapped text (px-per-char estimate + symmetric 12px padding, floored at
96px), the wrap limit rises 20→28 chars — the early-wrap fix, boxes
grow so lines stop breaking with room to spare — and every title line
anchors to its box midline (textAnchor middle, was a x=12 left inset).
The in-transcript snapshot block speaks the dock language now: boxes
fill-card stroke-border like the composer shells, text fill-foreground,
retiring the white-on-transparent mono look. The popup and the margin
diagram keep their status colors. Mermaid proper is untouched (owner:
it's fine as is).
Character-count estimation, not canvas measurement: the layout path
stays deterministic, synchronous, DOM-free — SSR and exact render pins
keep working. Verified live on the Relational-databases plan (12 nodes,
widths 174–215 tracking the longest line, no overflow, glow intact).
1428 tests, tsc, lint, build green.
2026-10-07 09:25:14 +03:00
..
2026-09-19 15:24:26 +03:00
2026-10-04 19:50:20 +03:00
2026-09-25 21:24:43 +03:00
2026-09-22 00:02:07 +03:00
2026-09-19 22:52:40 +03:00
2026-09-19 20:54:16 +03:00
2026-09-24 23:20:59 +03:00
2026-10-04 01:19:54 +03:00
2026-09-28 23:30:11 +03:00
2026-10-04 01:19:54 +03:00
2026-10-04 21:36:14 +03:00
2026-10-02 17:38:48 +03:00
2026-09-23 15:37:34 +03:00
2026-10-06 04:46:26 +03:00
2026-10-05 22:17:33 +03:00
2026-10-06 00:38:15 +03:00
2026-09-24 19:33:35 +03:00
2026-09-28 22:37:18 +03:00
2026-09-23 03:53:57 +03:00
2026-09-30 01:19:03 +03:00
2026-09-26 21:45:51 +03:00
2026-09-27 04:36:00 +03:00
2026-10-04 23:57:00 +03:00
2026-10-06 05:31:00 +03:00
2026-10-04 21:55:54 +03:00
2026-10-02 17:04:22 +03:00
2026-10-02 17:31:35 +03:00
2026-09-25 20:12:57 +03:00
2026-09-23 00:19:16 +03:00
2026-09-25 23:32:13 +03:00
2026-09-12 06:02:40 +03:00
2026-09-30 04:04:29 +03:00
2026-10-05 06:26:21 +03:00
2026-09-23 20:20:36 +03:00
2026-09-30 03:22:52 +03:00
2026-09-30 17:44:37 +03:00
2026-10-04 00:53:29 +03:00
2026-09-23 03:53:57 +03:00
2026-10-05 06:08:51 +03:00
2026-09-25 02:39:11 +03:00
2026-09-30 04:52:27 +03:00
2026-10-06 10:23:16 +03:00
2026-09-22 16:56:44 +03:00
2026-10-04 19:50:20 +03:00
2026-09-19 13:16:34 +03:00
2026-09-19 15:24:26 +03:00
2026-09-19 16:52:09 +03:00
2026-09-27 08:55:13 +03:00
2026-09-26 01:52:47 +03:00
2026-09-27 08:55:13 +03:00
2026-10-02 00:44:02 +03:00
2026-10-05 21:44:34 +03:00
2026-10-06 03:47:05 +03:00
2026-10-05 02:22:04 +03:00
2026-10-06 04:18:26 +03:00
2026-09-29 04:39:01 +03:00
2026-09-26 00:37:46 +03:00
2026-10-05 21:44:34 +03:00
2026-10-04 20:21:18 +03:00
2026-10-04 00:53:29 +03:00
2026-10-04 20:21:10 +03:00
2026-09-25 23:32:13 +03:00
2026-10-03 01:03:29 +03:00
2026-10-04 19:50:20 +03:00
2026-10-05 04:55:59 +03:00
2026-10-06 09:47:26 +03:00
2026-10-06 14:18:05 +03:00
2026-10-06 03:55:14 +03:00
2026-10-02 21:18:51 +03:00
2026-09-29 22:41:52 +03:00
2026-10-02 02:09:38 +03:00
2026-09-23 22:05:58 +03:00
2026-09-19 13:16:34 +03:00
2026-10-06 10:04:26 +03:00
2026-10-05 06:51:23 +03:00
2026-10-05 06:08:51 +03:00
2026-10-07 09:25:14 +03:00
2026-10-06 04:26:34 +03:00
2026-10-03 03:01:51 +03:00
2026-09-30 03:22:52 +03:00
2026-10-06 08:26:55 +03:00
2026-10-06 00:38:15 +03:00
2026-10-05 05:18:26 +03:00
2026-09-26 23:53:43 +03:00
2026-09-22 00:02:07 +03:00
2026-10-02 17:15:17 +03:00
2026-09-22 00:02:07 +03:00
2026-09-30 04:30:25 +03:00
2026-09-24 20:06:22 +03:00
2026-10-05 03:46:32 +03:00
2026-10-06 10:23:16 +03:00
2026-10-06 08:26:55 +03:00
2026-09-27 08:55:13 +03:00
2026-10-06 08:26:55 +03:00
2026-09-22 21:55:33 +03:00
2026-09-28 23:30:11 +03:00
2026-10-06 08:26:55 +03:00
2026-09-26 01:52:47 +03:00
2026-09-22 22:05:27 +03:00
2026-10-06 07:49:38 +03:00
2026-10-04 20:21:10 +03:00
2026-10-04 00:53:29 +03:00
2026-09-27 08:55:13 +03:00
2026-09-25 02:26:37 +03:00
2026-10-02 17:07:03 +03:00
2026-10-04 19:50:20 +03:00
2026-09-25 23:32:13 +03:00
2026-10-04 21:34:24 +03:00