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 #4441
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 33d0036
3 earlier comments
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 ranbun scripts/design-lint.ts --updateand the count came out unchanged, so the file has no diff and nothing was committed for it.
git grep -n 'headroom' src/web now finds only the headroom route, form field and headroomPct function, and no class. bun x tsc --noEmit passes, and so do bun test test/design-lint.test.ts test/settings-visible.test.ts (20 tests, 0 failures).
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
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 --updateafter mergingmainand the count came out unchanged, so the file has no diff and nothing was committed for it.
The merge with main conflicted on one line, the §5d class list in docs/DESIGN.md, because main had also edited it. The fix keeps main's version of that line and only drops .headroom from it, so it is now the only difference from main in that file.
git grep -n 'headroom' src/web now finds only the headroom route, form field and headroomPct function, and no class. After the merge, bun x tsc --noEmit passes, and so do bun test test/design-lint.test.ts test/settings-visible.test.ts (20 tests, 0 failures).
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
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 --updateafter mergingmainand the count came out unchanged, so the file has no diff and nothing was committed for it.
The failed check was on the commit before the first merge with main (e8706467): its only failure was "does not merge into main: docs/DESIGN.md". That merge fixed it by keeping main's version of the §5d class-list line and dropping only .headroom from it. The branch now also has main's latest release commit (6ca12bf7) merged in, without conflicts. The new check on that push has not run yet.
git grep -n 'headroom' src/web now finds only the headroom route, form field and headroomPct function, and no class. On the current head, bun x tsc --noEmit passes, bun scripts/design-lint.ts reports nothing added outside the design system, and bun test test/design-lint.test.ts test/settings-visible.test.ts passes (20 tests, 0 failures).
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
Parked by the crew: the check stayed red through 2 automatic tries
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 ranbun scripts/design-lint.ts --updateand the count came out unchanged, so the file has no diff and nothing was committed for it.git grep -n 'headroom' src/webnow finds only theheadroomroute, form field andheadroomPctfunction, and no class.bun x tsc --noEmitpasses, and so dobun test test/design-lint.test.ts test/settings-visible.test.ts(20 tests, 0 failures).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