From 88a58109761f37a58f88b5dff202429754016cc1 Mon Sep 17 00:00:00 2001 From: Yunyue Li Date: Thu, 30 Jul 2026 11:19:57 +0800 Subject: [PATCH] refactor(web): drop three pieces of furniture that carry no information MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three things on the page looked like information and were not. The four superscript counters on the nav links cannot be decoded. 04 counts the engineering cards, 05 the reading-room views, 08 the pipeline passes, 85 the corpus works — four different units, no labels, so 85 reads as the same kind of number as 04. Only four of the five links carry one, so it is not a system either, and every count is already stated where it means something: the hero's stats row, "five views" in the reading room, the numbered passes themselves. They also cost the nav its rhythm, each being absolutely positioned at right:-16px, outside its own link and inside the following gap. Gone at every width, which also settles an inconsistency an earlier pass introduced by hiding them on phones only. The reading room's five filter pills have no handler anywhere in the bundle and the cards they would filter carry no category data at all — clicking one leaves all five cards visible. The counts do map cleanly onto the cards, so the intent is legible and they could be wired; they should not be. A filter over five items that all fit on one row and are all already visible is not a control, it is decoration shaped like one. And every one of the seven section rules opened with the section's own name, which the coral label repeats verbatim 57px below: "The rule" over "The rule", "Engineering" over "Engineering", "The corpus" over "The corpus". The label is the one that belongs, sitting directly above the headline. The rule keeps its annotation, which is the part that says something the label does not — docs/8-pass-pipeline.md, src/loregraph, eight passes, Apache-2.0. The hero's rule is left whole because its two halves differ. Verified on all four languages: no rule still repeating its label, no pills left, nothing clipped, no horizontal scroll. Co-Authored-By: Claude Opus 5 --- src/loregraph/web/marketing-patch.cjs | 104 ++++++++++++++++++++++++-- 1 file changed, 97 insertions(+), 7 deletions(-) diff --git a/src/loregraph/web/marketing-patch.cjs b/src/loregraph/web/marketing-patch.cjs index 5cb39ae..d4d5154 100644 --- a/src/loregraph/web/marketing-patch.cjs +++ b/src/loregraph/web/marketing-patch.cjs @@ -453,12 +453,21 @@ section[id], .work-card .small-label, .work-rule { font-size: 11px; } -/* .nav-links a .num is NOT in that list, and was wrongly put there once. It is - * an absolutely-positioned superscript counter at top:-7px right:-16px — pure - * ornament, not running copy — and those offsets are drawn around a 9px glyph. - * At 11px the counter grew past them and printed into the neighbouring link. - * The floor is for text a reader has to read; this is a tick mark. */ -.nav-links a .num { font-size: 9px; } +/* The four superscript counters on the nav links go, at every width. + * + * They cannot be decoded. 04 counts the engineering cards, 05 the reading-room + * views, 08 the pipeline passes, 85 the corpus works — four different units, no + * labels, so 85 reads as the same kind of number as 04. Only four of the five + * links carry one, so it is not a system either. And every count is already + * stated where it means something: the hero's stats row, "five views" in the + * reading room, the numbered passes themselves. + * + * They also cost the nav its rhythm. Each one is absolutely positioned at + * right: -16px, outside its link's box and inside the following gap, so the + * spacing between links reads as uneven. Removing them makes the 28px gap the + * real gap, and makes the desktop nav match the phone one, where an earlier + * pass had already hidden them. */ +.nav-links a .num { display: none; } /* Seven section headlines came out at seven sizes — 64, 66, 68, 72, 74.9, 77.8 * and 95px at 1440 — because each one got its own clamp() ramp: three of them @@ -687,7 +696,6 @@ html[lang='ja'] .work-copy h2 { line-height: 1.2; } .nav-links::-webkit-scrollbar { display: none; } .nav-links li { flex: 0 0 auto; } .nav-links a { white-space: nowrap; } - .nav-links a .num { display: none; } } /* Below 1080px the footer hid its fourth and fifth columns outright, so every @@ -1106,6 +1114,88 @@ const PATCHES = [ return { html: out, count }; }, }, + { + name: "drop-dead-and-duplicate-furniture", + why: "five buttons that filter nothing, and five section rules that repeat the label 57px below them", + // Two kinds of furniture that carry no information. + // + // The reading room's five filter pills — All 05, Text 01, Graph 01, Time 01, + // Catalogue 02 — are