From a4aa423b3abff1449f099767dc247ac02ca7bbac Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Wed, 11 Nov 2026 18:16:32 +0000 Subject: [PATCH] refactor(web): the row primitive as utilities Rows, slots, trays, notes, skeletons, scores and the release cells. The linked-row pointer rules key on the row knowing it is a link, not on :has(). Refs #280 Co-Authored-By: Claude Opus 5.5 (1M context) --- web/src/buckets.tsx | 51 +++-- web/src/components.css | 430 ------------------------------------- web/src/detail.tsx | 4 +- web/src/look.ts | 41 ++++ web/src/parts.tsx | 15 +- web/src/style.css | 6 + web/src/ui.tsx | 163 +++++++++++--- web/src/views/Library.tsx | 6 +- web/src/views/Movie.tsx | 6 +- web/src/views/Search.tsx | 4 +- web/src/views/Series.tsx | 28 ++- web/src/views/Settings.tsx | 2 +- 12 files changed, 253 insertions(+), 503 deletions(-) diff --git a/web/src/buckets.tsx b/web/src/buckets.tsx index c22d23b..8ec1921 100644 --- a/web/src/buckets.tsx +++ b/web/src/buckets.tsx @@ -2,6 +2,7 @@ // and rejected collapsed to counts. Shared by the movie page and the tv deck. import { Fragment, type ReactNode, useEffect, useRef, useState } from "react"; +import { CELLS, cx, ROW_RULE, score } from "./look"; import { blacklistAdvice, blacklistClass, @@ -117,18 +118,26 @@ function Paged({ ); } +const COLHEAD_LABEL = "font-readout text-2xs uppercase tracking-title text-ink-faint"; + /** The column header the release cells line up under, from 46rem. */ function Colhead() { return ( -