From b5ef81a01b1a83ea54256ef171687c39893609ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 21 May 2026 18:49:49 +0200 Subject: [PATCH] refactor(dashboard): consolidate Suspense double-comment in tile strip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The trend-card row in src/app/page.tsx carried two adjacent comment blocks describing the same `` boundary — one from the v1.4.40 W-RSC seed and a second from the v1.4.41 W-FRONTEND-FACTORY fallback hoist. Collapse into one block keyed to current behaviour with a one-line history trailer. The sibling chart-row Suspense stayed in single-block shape so no second consolidation was needed. --- src/app/page.tsx | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2caa13078..e5bbdfd60 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1400,26 +1400,14 @@ export default function DashboardPage() { {trendCards.map((entry) => (
{/* - * v1.4.40 W-RSC — per-tile `` boundary. - * The tile body is synchronous today (every tile - * reads from the merged `data` memo which already - * gates on the slim/thick analytics queries on the - * parent), so this fallback never paints in the - * current composition. The structural boundary - * matches the chart-row layer below so the entire - * dashboard composition reads as a streaming-ready - * grid of independently suspending cells — and - * future RSC hoists of any tile slot won't need a - * second pass to add the fallback infrastructure. - */} - {/* - * v1.4.41 W-FRONTEND-FACTORY (UX M1) — swap the - * `null` fallback for a layout-stable placeholder - * that mirrors the trend-card chrome. The body - * stays synchronous today so the fallback rarely + * Per-tile `` boundary with a layout-stable + * placeholder that mirrors the trend-card chrome. Tile + * bodies are synchronous today so the fallback rarely * paints, but a future RSC hoist of any tile slot * would otherwise leave the grid track empty and * trigger CLS as the cell paints in. + * + * v1.4.40 W-RSC — boundary added; v1.4.41 W-FRONTEND-FACTORY — fallback hoisted to layout-stable placeholder. */}