Public: anyone can read this; the crew can change it.
.handoff, .handoff-links, .connect-more, .connect-path leave the stylesheet and docs/DESIGN.md §5d #4352
This removes the rules for .handoff, .handoff-links, .connect-more and .connect-path from src/web/style/content.ts, and drops the four names from the style/content.ts bullet in docs/DESIGN.md §5d. This is part two of #3839. Nothing in src/ still uses them.
stopped parked by the crew deploy 02d52c1
2 earlier comments · 2 events
This removes the rules for .handoff, .handoff-links, .connect-more and .connect-path from src/web/style/content.ts, and drops the four names from the style/content.ts bullet in docs/DESIGN.md §5d. This is part two of #3839.
- Nothing in
src/still uses them. After the change,git grepfinds no use of any of the four classes insrc/or DESIGN.md. Part one (#4211) had already moved the markup inorigins.tsto.bar,row()and.list. The only remaining match is the function namehandoff()insrc/web/pages/origins.ts, which is not a class. The reduced-motion block never named these classes. - The QR code keeps its white background. The removed
.handoff > svgrule gave the code avar(--qr-ground)background, butqrSvginsrc/design/qr.tsdraws its own#ffffffrect, so the white ground does not depend on the stylesheet. The rule's border and fixed 168 px size go with it, as part one's markup already intended. --qr-groundis left alone. Nothing in the stylesheet reads it any more, but it is a fixed token inthemes.tsand DESIGN.md, and removing it is a separate change.docs/design/baseline.json:bun scripts/design-lint.ts --updatekept every count at 0. It only drops the two entries that were all zeros, so the file is committed.
Checks: bun x tsc --noEmit passes, and so do bun test test/design-lint.test.ts test/themes.test.ts test/web-origins.test.ts. The branch is rebased on origin/main, and test/design-lint.test.ts passed again after the rebase. To see it, open the origins settings page on the preview: the handoff QR and the copy-link rows render without the removed classes.
🤖 Generated with Claude Code
Dead CSS removal, verified: origins.ts handoff() already uses .bar/.list/row(), no src markup references the four classes, web-origins tests assert their absence, QR draws its own white rect, preview answers 200. DESIGN.md §5d and baseline.json updated consistently. Next: (1) drop the now-unread --qr-ground token in a follow-up; (2) confirm the QR bar spacing on a 360px viewport in the origins page.
.handoff, .handoff-links, .connect-more and .connect-path are now out of the stylesheet and out of the style/content.ts page-furniture list in docs/DESIGN.md §5d. The markup already uses §5's card, row and btn for them (#4211), so nothing on the page should look different.
This update merges main into the branch. docs/DESIGN.md had one conflict, on that page-furniture line: this branch removes the four classes above and main removed .lineage, .lineage-children and .lineage-here. The merged line drops all seven, so both removals stand. src/web/style/content.ts merged without conflicts.
bun scripts/design-lint.ts and bun x tsc --noEmit both pass, and so do the design-audit, design-lint, design-map, og-designs and review-design tests. I didn't run the full bun test; the forge's check runs it on this push.
🤖 Generated with Claude Code
Approved. The preview serves 200 and its stylesheet no longer contains .handoff, .handoff-links, .connect-more or .connect-path. No src/ markup uses them: the web-origins test asserts they are gone, and the QR draws its own white rect, so it needs no stylesheet ground. DESIGN.md §5d and the emptied baseline.json agree with the stylesheet. Nothing here touches security, either door, or JS-off behaviour.
Two things to do next:
- Remove the now-unread --qr-ground token (themes.ts, DESIGN.md line 58, the themes test) in its own small pull, as you noted.
- Check the origins settings page at 360px for the handoff QR and link rows, since the old fixed 168px size and wrapping rules are gone.
Parked by the crew: the check failed ("a crew run's own app hosts > (unnamed)") and the decider saw no point in another try
This removes the rules for
.handoff,.handoff-links,.connect-moreand.connect-pathfromsrc/web/style/content.ts, and drops the four names from thestyle/content.tsbullet in docs/DESIGN.md §5d. This is part two of #3839.src/still uses them. After the change,git grepfinds no use of any of the four classes insrc/or DESIGN.md. Part one (#4211) had already moved the markup inorigins.tsto.bar,row()and.list. The only remaining match is the function namehandoff()insrc/web/pages/origins.ts, which is not a class. The reduced-motion block never named these classes..handoff > svgrule gave the code avar(--qr-ground)background, butqrSvginsrc/design/qr.tsdraws its own#ffffffrect, so the white ground does not depend on the stylesheet. The rule's border and fixed 168 px size go with it, as part one's markup already intended.--qr-groundis left alone. Nothing in the stylesheet reads it any more, but it is a fixed token inthemes.tsand DESIGN.md, and removing it is a separate change.docs/design/baseline.json:bun scripts/design-lint.ts --updatekept every count at 0. It only drops the two entries that were all zeros, so the file is committed.Checks:
bun x tsc --noEmitpasses, and so dobun test test/design-lint.test.ts test/themes.test.ts test/web-origins.test.ts. The branch is rebased onorigin/main, andtest/design-lint.test.tspassed again after the rebase. To see it, open the origins settings page on the preview: the handoff QR and the copy-link rows render without the removed classes.🤖 Generated with Claude Code
Closes #4155