Public: anyone can read this; the crew can change it.

.front-crew, .front-live, .front-issues and .front-more leave the stylesheet #4656

opened this

Merged 39d 9h ago, live in production

This pull removes the rules for .front-crew, .front-live, .front-issues and .front-more from the stylesheet. No markup under src/ draws these classes any more, so only the rules were left. src/web/style/content.ts: the four rule blocks are deleted.

Notes

opened this

This pull removes the rules for .front-crew, .front-live, .front-issues and .front-more from the stylesheet. No markup under src/ draws these classes any more, so only the rules were left.

  • src/web/style/content.ts: the four rule blocks are deleted. The reduced-motion block also listed .front-live; that line now covers only .run-log .ln-pulse i. The run-pulse keyframe stays because the run log still uses it.
  • docs/DESIGN.md §5d: the four names are taken out of the page-furniture list.
  • Tests: none changed. test/front.test.ts:562 already checks that the front page does not contain any of the four names, so grep still finds them there, inside that check, as the issue allows. Nowhere else under src/ or test/ uses them.
  • Baseline: docs/design/baseline.json has no entries for these files, so there was no count to lower.

bun scripts/design-lint.ts is clean, and bun test test/design-lint.test.ts test/front.test.ts passes (29 tests). The front-page tests passing shows the page still renders, since nothing in its markup used these rules; I did not compare it visually. To try it, open / on the preview: the featured tile and the crew line render as before.

🤖 Generated with Claude Code

Closes #4619

Show 2 earlier items

7 earlier comments
commented

.front-crew, .front-live, .front-issues and .front-more leave the stylesheet. Nothing renders them any more, so their rules come out of src/web/style/content.ts and their names come off the "page furniture" list in docs/DESIGN.md.

This push also merges the latest main. Only docs/DESIGN.md conflicted, on that same list line, because main had removed other classes from it in the meantime (.app-shelf, the four .backups- classes, .front-pin-any, .front-weights). The merged line is main's version with the four .front- names also taken out, so both sets of removals stay. None of the four .front-* classes is left anywhere under src/web/style/.

Before pushing, the design lint, the type check and the design and front-page tests passed (23 and 18 tests); the full suite was not run here.

🤖 Generated with Claude Code

commented

.front-crew, .front-live, .front-issues and .front-more leave the stylesheet. Nothing renders them any more, so their rules come out of src/web/style/content.ts and their names come off the "page furniture" list in docs/DESIGN.md.

This push merges the latest main again. Only docs/DESIGN.md conflicted, on that same list line. main had since dropped the merge-box classes (.merge-box, .merge-form, .merge-headline, .merge-sub) and "the merge box" from the line's description. The merged line is main's version with the four .front- names also taken out, so both sets of removals stay. None of the four .front- classes is left anywhere under src/web/style/.

Before pushing, the design lint and the type check passed, and so did the design and front-page tests: 41 tests across 6 files, none failing. The full suite was not run here.

🤖 Generated with Claude Code

commented

.front-crew, .front-live, .front-issues and .front-more leave the stylesheet. Nothing renders them any more, so their rules come out of src/web/style/content.ts and their names come off the "page furniture" list in docs/DESIGN.md.

This push merges the latest main again. Only docs/DESIGN.md conflicted, on that same list line. main had since dropped .wall-cells from it and added nothing. The merged line is main's version with the four .front- names also taken out, so both sets of removals stay. None of the four .front- classes is left anywhere under src/web/style/.

Before pushing, the design lint and the type check passed, and so did the design and front-page tests: 41 tests across 6 files, none failing. The full suite was not run here.

🤖 Generated with Claude Code

commented

I merged main into the branch and pushed it. The only conflict was the style/content.ts page-furniture line in docs/DESIGN.md. Both sides had shortened that line's list of classes, so I kept both removals:

  • this branch took out .front-crew, .front-issues, .front-live and .front-more, whose rules it had already deleted;
  • main took out .stage-detail and .stage-dot.

None of those six classes appear anywhere under src/ any more.

The type check and bun scripts/design-lint.ts both pass. I ran only the design and front-page tests (58, all passing), not the full bun test; the forge's check covers the rest.

No functional change from the merge itself. The pull still deletes the unused .front-crew, .front-live, .front-issues and .front-more rules.

🤖 Generated with Claude Code

commented

This merges main into the branch again. The only conflict was one line in docs/DESIGN.md §11: the list of page-furniture classes in style/content.ts. Each side had removed different classes from it. This branch took out .front-crew, .front-issues, .front-live and .front-more, and main took out .steps. The resolved line drops all five. None of those classes is still defined in src/web/style/content.ts after the merge. The other §11 changes from main (the diff viewer's .dl-review and .rc-* classes) came in without conflict.

The design lint is clean and the type check passes. I ran the design and front-page tests (41, all passing), not the whole suite; the forge runs the full check on this push.

How to try it: open the preview at https://lab--4656--forge-trevato-apps.open-platform.sh, or run bun scripts/design-lint.ts and bun test test/design* test/front*.

🤖 Generated with Claude Code

commented

This merges main into the branch again. The only conflict was the same line in docs/DESIGN.md §11, the list of page-furniture classes in style/content.ts. This branch had removed .front-crew, .front-issues, .front-live and .front-more, and main (#4720) has since removed .path-head. The resolved line drops all five. None of those classes is still defined in src/web/style/content.ts after the merge.

The design lint is clean and the type check passes. I ran the design and front-page tests (41, all passing), not the whole suite; the forge runs the full check on this push.

How to try it: open the preview at https://lab--4656--forge-trevato-apps.open-platform.sh, or run bun scripts/design-lint.ts and bun test test/design* test/front*.

🤖 Generated with Claude Code

commented

This merges main into the branch again. The only conflict was the same line in docs/DESIGN.md §11, the list of page-furniture classes in style/content.ts. This branch had removed .front-crew, .front-issues, .front-live and .front-more, and main has since removed .frozen, .frozen-form and .frozen-sentence. The resolved line drops all seven. None of those classes is still defined in src/web/style/content.ts after the merge.

The design lint is clean and the type check passes. I ran the design and front-page tests (41, all passing), not the whole suite; the forge runs the full check on this push.

How to try it: open the preview at https://lab--4656--forge-trevato-apps.open-platform.sh, or run bun scripts/design-lint.ts and bun test test/design* test/front*.

🤖 Generated with Claude Code

commented

This merges main into the branch again. The only conflict was the same line in docs/DESIGN.md §11, the list of page-furniture classes in style/content.ts. This branch had removed .front-crew, .front-issues, .front-live and .front-more, and main has since removed .mirror-form, .origin-mark, .origin-name and .origin-row. The resolved line drops all eight. None of those classes is still defined in src/web/style/content.ts after the merge.

The design lint is clean and the type check passes. I ran the design and front-page tests (41, all passing), not the whole suite; the forge runs the full check on this push.

This line is edited by every pull that retires a class, which is why the branch keeps falling out of merge. Splitting it one class per line would stop these conflicts, but that is outside this pull.

How to try it: open the preview at https://lab--4656--forge-trevato-apps.open-platform.sh, or run bun scripts/design-lint.ts and bun test test/design* test/front*.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs