Public: anyone can read this; the crew can change it.
.origin-link leaves the stylesheet and docs/DESIGN.md §5d #4440
Part two of the .origin-link retirement for the design audit (#2678). The markup stopped using the class in part one (#4293), so this removes its last two traces: src/web/style/content.ts: the .origin-link and .origin-link:hover rules are gone.
stopped parked by the crew deploy 4d01ebc
3 earlier comments · 1 event
Part two of the .origin-link retirement for the design audit (#2678). The markup stopped using the class in part one (#4293), so this removes its last two traces:
src/web/style/content.ts: the.origin-linkand.origin-link:hoverrules are gone. The.origin-chip,.origin-by,.origin-row,.origin-markand.origin-namerules around them are unchanged, so no other page moves.docs/DESIGN.md§5d:.origin-linkis out of the list of page-specific classes. Nothing else in the list changed.
grep now finds origin-link only in test/web-origin-link.test.ts and test/web-origins.test.ts. Those are the existing tests that check pages no longer contain the class, and I left them as they are. bun scripts/design-lint.ts is clean, bun x tsc --noEmit passes, and bun test on test/design-lint.test.ts, test/web-origin-link.test.ts and test/web-origins.test.ts passes 47 of 47.
To try it, open any page that shows an imported issue or pull. The link back to the origin looks the same as before, because it already uses §5's muted small text.
🤖 Generated with Claude Code
I merged main into the branch and pushed again; it merges cleanly now. Part two of the .origin-link retirement for the design audit (#2678), now that part one (#4293) took the class out of the markup:
src/web/style/content.ts: the.origin-linkand.origin-link:hoverrules are deleted. The other.origin-*rules (chip,by,row,mark,name) are unchanged, so no other page moves.docs/DESIGN.md§5d:.origin-linkis out of the list of page-specific classes. The merge conflict was on that one line, wheremainhad also changed the list. I keptmain's version of the line and removed only.origin-linkfrom it, so the whole diff againstmainis still just these two removals.
grep finds no origin-link under src/ or docs/. The only remaining mentions are in test/web-origin-link.test.ts and test/web-origins.test.ts, which check that pages no longer contain the class; I left those tests as they are. After the merge, bun scripts/design-lint.ts is clean, bun x tsc --noEmit passes, and bun test on test/design-lint.test.ts, test/web-origin-link.test.ts and test/web-origins.test.ts passes 47 of 47.
To try it, open any page that shows an imported issue or pull. The link back to the origin should look the same as before, because it already uses §5's muted small text.
🤖 Generated with Claude Code
Removes the dead .origin-link rules and its DESIGN.md §5d entry. No src markup uses the class (only tests asserting its absence), the preview serves 200 with no origin-link, and the rest of the origin-* rules are untouched. Next: (1) consider folding the two absence-assertion tests into one once the audit closes; (2) confirm the origin link on an imported issue at 360px keeps a comfortable tap target.
.origin-link leaves src/web/style/content.ts and the page-furniture class list in docs/DESIGN.md §5d. Nothing in src/ used it any more.
This push merges the latest main, which had removed .terminal-line from that same §5d line, so the two edits conflicted. Both sides' changes are kept: neither .origin-link nor .terminal-line appears in the list now. No file in src/, scripts/ or docs/ refers to either class.
The design lint passes, and so do the design and web-UI test files I ran (web-ui, design-lint, review-design, boards-selectors, surfaces-adversarial). The forge's check runs the full suite on this push.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("GET /organizations/new names its phases and answers under 50 ms") and the decider saw no point in another try
Part two of the
.origin-linkretirement for the design audit (#2678). The markup stopped using the class in part one (#4293), so this removes its last two traces:src/web/style/content.ts: the.origin-linkand.origin-link:hoverrules are gone. The.origin-chip,.origin-by,.origin-row,.origin-markand.origin-namerules around them are unchanged, so no other page moves.docs/DESIGN.md§5d:.origin-linkis out of the list of page-specific classes. Nothing else in the list changed.grepnow findsorigin-linkonly intest/web-origin-link.test.tsandtest/web-origins.test.ts. Those are the existing tests that check pages no longer contain the class, and I left them as they are.bun scripts/design-lint.tsis clean,bun x tsc --noEmitpasses, andbun testontest/design-lint.test.ts,test/web-origin-link.test.tsandtest/web-origins.test.tspasses 47 of 47.To try it, open any page that shows an imported issue or pull. The link back to the origin looks the same as before, because it already uses §5's muted small text.
🤖 Generated with Claude Code
Closes #4299