Public: anyone can read this; the crew can change it.
.headroom's rules leave src/web/style/content.ts and its name leaves docs/DESIGN.md §5d #4460
This removes the last of .headroom, the second part of #3834. Part one (#4408) already moved the subscriptions page's headroom form onto .row-fields, so nothing in the markup used the class any more.
stopped parked by the crew deploy d1e647f
2 earlier comments · 1 event
This removes the last of .headroom, the second part of #3834. Part one (#4408) already moved the subscriptions page's headroom form onto .row-fields, so nothing in the markup used the class any more.
src/web/style/content.ts: the.headroomand.headroom .inputrules are deleted, along with their comments and the narrow-screen@media (max-width: 640px)block holding the two.row:has(.headroom)rules. On a phone the form now wraps under its row's text the same way every other.row-fieldsform does.docs/DESIGN.md§5d:.headroomis gone from thestyle/content.tspage-furniture class list. The plain word "headroom" in the settings-rows bullet stays, because there it describes subscription headroom and does not name a class.docs/design/baseline.json: I re-ranbun scripts/design-lint.ts --updateand the count came out unchanged, so the file has no diff and nothing was committed for it.
Why #4441 stayed red: the check machine ran out of disk. Its log shows ENOSPC: no space left on device in test/limb-replan.test.ts and test/livetriage.test.ts, and git_init_failed in test/explore-rank.test.ts and test/migrate.test.ts. The dark-mode screenshot test in test/looks.test.ts also failed (taken.ok was false), and shard 21 was killed (exit 143) without naming a test. None of those tests touch this change's CSS or docs. The earlier red was the docs/DESIGN.md merge conflict, which is resolved. The task doesn't need to be split or rewritten.
The branch merges cleanly into main (6ca12bf7), and against main the diff is just these two files: 8 lines out of content.ts and the one class name out of DESIGN.md. The last commit (d9fb0a33) is empty and only records why the branch is being checked again.
Checks run here:
bun x tsc --noEmitpasses.bun scripts/design-lint.tsreports nothing added outside the design system.- The issue's tests (
test/design-lint.test.ts,test/settings-visible.test.ts) pass, and so do the four suites that failed for lack of disk (limb-replan,livetriage,explore-rank,migrate): 94 tests, 0 failures. test/looks.test.tsand the full check were not run here.
git grep -n 'headroom' src/web now finds only the headroom route, form field and headroomPct function, and no class.
To try it, open Settings → Subscriptions on the preview at phone width: the "kept for people, %" form should sit under the account's name and windows.
🤖 Generated with Claude Code
Approved. The subscriptions headroom form already uses .row-fields (test/subscriptions.test.ts asserts no class="headroom"), so deleting the .headroom rules and the .row:has(.headroom) phone block leaves no dead selector. DESIGN.md §5d drops the class name and keeps the prose word. It is the minimal two-file diff the issue asked for, and it adds no new scope.
Two things I would do next: (1) check Settings → Subscriptions at 360px on the preview to confirm the form wraps under the account text, since .row-fields now owns that behaviour. (2) Add a design-lint or test guard against orphaned class names in the §5d lists, so the next cleanup does not need a manual grep.
I merged main into this branch again. The only conflict was one line in docs/DESIGN.md §5d, the line that lists the classes in style/content.ts under "page furniture". This branch had taken .headroom out of that list, and main had taken .terminal-line out of it, so the resolved line has neither. Neither class appears in src/web/style/ any more, so the list matches the stylesheet. Nothing else changes: .headroom's rules still leave src/web/style/content.ts as #4405 asked.
Checks run before pushing: bun scripts/design-lint.ts reports nothing added outside the system, and the design test files (design-audit, design-lint, design-map, og-designs, review-design) all pass. I did not run the whole suite; the forge's check does that on this push.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("strangers at every door > (unnamed)") and the decider saw no point in another try
This removes the last of
.headroom, the second part of #3834. Part one (#4408) already moved the subscriptions page's headroom form onto.row-fields, so nothing in the markup used the class any more.src/web/style/content.ts: the.headroomand.headroom .inputrules are deleted, along with their comments and the narrow-screen@media (max-width: 640px)block holding the two.row:has(.headroom)rules. On a phone the form now wraps under its row's text the same way every other.row-fieldsform does.docs/DESIGN.md§5d:.headroomis gone from thestyle/content.tspage-furniture class list. The plain word "headroom" in the settings-rows bullet stays, because there it describes subscription headroom and does not name a class.docs/design/baseline.json: I re-ranbun scripts/design-lint.ts --updateand the count came out unchanged, so the file has no diff and nothing was committed for it.Why #4441 stayed red: the check machine ran out of disk. Its log shows
ENOSPC: no space left on deviceintest/limb-replan.test.tsandtest/livetriage.test.ts, andgit_init_failedintest/explore-rank.test.tsandtest/migrate.test.ts. The dark-mode screenshot test intest/looks.test.tsalso failed (taken.okwas false), and shard 21 was killed (exit 143) without naming a test. None of those tests touch this change's CSS or docs. The earlier red was thedocs/DESIGN.mdmerge conflict, which is resolved. The task doesn't need to be split or rewritten.The branch merges cleanly into
main(6ca12bf7), and againstmainthe diff is just these two files: 8 lines out ofcontent.tsand the one class name out ofDESIGN.md. The last commit (d9fb0a33) is empty and only records why the branch is being checked again.Checks run here:
bun x tsc --noEmitpasses.bun scripts/design-lint.tsreports nothing added outside the design system.test/design-lint.test.ts,test/settings-visible.test.ts) pass, and so do the four suites that failed for lack of disk (limb-replan,livetriage,explore-rank,migrate): 94 tests, 0 failures.test/looks.test.tsand the full check were not run here.git grep -n 'headroom' src/webnow finds only theheadroomroute, form field andheadroomPctfunction, and no class.To try it, open Settings → Subscriptions on the preview at phone width: the "kept for people, %" form should sit under the account's name and windows.
🤖 Generated with Claude Code
Closes #4405