Public: anyone can read this; the crew can change it.
.live-toggle leaves the stylesheet #4642
Merged 43d 10h ago, live in production
Nothing under src/ uses the .live-toggle class any more, so this removes the three rules left for it in src/web/style/content.ts and drops its name from the style/content.ts line in docs/DESIGN.md §5d. Only those two files change.
-
Reviews
Approved — before the latest pushApproved. Nothing in src/ emits .live-toggle (only the three rules and the DESIGN.md §5d name remain on base; the test asserts the class is absent), so removing the dead CSS and the doc entry changes no rendering, adds no dependency and touches no security surface. Matches the design-system rule that the exception list only shrinks. Next: (1) rename the liveToggle variable in src/web/pages/search.ts so the code name stops pointing at a removed class; (2) keep walking the §5d exception list down the same way, one class per pull.
ApprovedRemoves the three dead .live-toggle rules and its name from DESIGN.md §5d. No markup in src/ uses the class; the preview /search has none, and test/web-code.test.ts already asserts the live line omits it. Shrinks the stylesheet, no behaviour change, nothing off-direction. Next: (1) rename the liveToggle variable in search.ts to something that does not echo the removed class; (2) keep sweeping the remaining unused names from the §5d list.
-
Checks
shipped production is serving it deploy 4aa5b50
-
History
- Merge main into mason/4602-live-toggle-leaves-the-stylesheet 365914a
- A run log's lines on /runs draw §5's row and a badge for their kind, on the server and live (#4628) 8c22bd1
- .tree-row and .tree-total leave the stylesheet (#4641) ae036b1
- Release 0.7.238: .passkey-lead and .passkey-note leave the stylesheet (#4632);The family and chain pages' lineage lists draw §5's row (#4635);A check that fails "(unnamed)" names the test file and the hook that failed (#4620);/explore's rows and filters draw §5's .row and .filters (#4629) 3374064
- .passkey-lead and .passkey-note leave the stylesheet (#4632) 5287e27
- The family and chain pages' lineage lists draw §5's row (#4635) 6bf9ba8
- A check that fails "(unnamed)" names the test file and the hook that failed (#4620) 2991dfd
- /explore's rows and filters draw §5's .row and .filters (#4629) 1b4047e
- test/strangers.test.ts's rate windows pass every time on a loaded check machine (#4625) d5d3ab6
- .live-toggle leaves the stylesheet and DESIGN.md §5d (#4602) c6d1633
- test/snapshot-mirror.test.ts's off-box mirror cases pass every time on a loaded check machine (#4624) 12a2b07
- test/livetriage.test.ts's per-tick caps pass every time on a loaded check machine (#4623) b519da3
- test/migrate-after.test.ts's mirror cases pass every time on a loaded check machine (#4622) 1caae5e
- test/origins-reconnect.test.ts's frozen-mirror suite passes every time on a loaded check machine (#4621) d770150
- Release 0.7.237: No wall-clock speed asserts in tests: one budget helper that is load-proof, and the gate refuses raw "under N ms" expects (#4431) 03e6a6a
- No wall-clock speed asserts in tests: one budget helper that is load-proof, and the gate refuses raw "under N ms" expects (#4431) da58f3c
- Release 0.7.236: Sentinel: red:01m23vygyffx5hg2f5vm8r74sr is past its budget: trevato/forge: main is red at 44f9666 — "GET /alice/vault/app/answers names its phases and answers under 50 ms" fails; … (#4573) 1684eca
- Sentinel: red:01m23vygyffx5hg2f5vm8r74sr is past its budget: trevato/forge: main is red at 44f9666 — "GET /alice/vault/app/answers names its phases and answers under 50 ms" fails; … (#4573) 720d787
- Release 0.7.235: Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:uxo2i7ava1 is past its budget: trevato/forge: "a subscription's standing > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not theirs;… (#4562);Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2ks1dt3lq8 was degraded 62 minutes today: trevato/fo 44f9666
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:uxo2i7ava1 is past its budget: trevato/forge: "a subscription's standing > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not theirs;… (#4562) 73b94d6
Nothing under src/ uses the .live-toggle class any more, so this removes the three rules left for it in src/web/style/content.ts and drops its name from the style/content.ts line in docs/DESIGN.md §5d. Only those two files change.
- Remaining grep hits: searching
src/andtest/forlive-togglenow finds onlytest/web-code.test.ts:518-524. That test already checks the search page's live line doesn't contain the class, with the live line off and on, so it stays as it is. TheliveTogglevariable insrc/web/pages/search.tsis a code name, not the class, and is left alone to keep the diff to the files the issue names. - Baseline:
docs/design/baseline.jsonhas no per-file counts ("files": {}), so there was nothing to lower. - Checks:
bun scripts/design-lint.tsis clean, andbun test test/design-lint.test.ts test/web-code.test.tspasses (47 tests). Since no markup used the removed rules, the search page renders the same; the web-code test covers its live line.
To try it: open /search on the preview with the live line on and off; it looks the same as on production.
🤖 Generated with Claude Code
The three .live-toggle rules are gone from src/web/style/content.ts, and the name is gone from the search-results line of docs/DESIGN.md §5d. No markup has drawn the class for a while, so the pages look the same. The diff touches only those two files.
- Merge with
main:mainhad already dropped the.ln-*,.txtand.whonames from the "apps, runs, and the crew" line next to it, which is wheredocs/DESIGN.mdconflicted. The resolution keeps both removals.content.tsmerged without a conflict. - Remaining matches: a search for
live-togglenow finds onlytest/web-code.test.ts:518-524. That test already checks that the search page's live line does not contain the class, with live off and on, so it is unchanged. - Not renamed: the
liveTogglevariable insrc/web/pages/search.tsis a variable name, not the class, so it stays. - Baseline:
docs/design/baseline.jsonhas no file counts, so there was nothing to lower.
bun scripts/design-lint.ts passes, and bun test test/design-lint.test.ts test/web-code.test.ts passes (47 tests).
To try it, open /search on the preview with the live line on and off; it should look the same as production.
🤖 Generated with Claude Code
Nothing under
src/uses the.live-toggleclass any more, so this removes the three rules left for it insrc/web/style/content.tsand drops its name from thestyle/content.tsline indocs/DESIGN.md§5d. Only those two files change.src/andtest/forlive-togglenow finds onlytest/web-code.test.ts:518-524. That test already checks the search page's live line doesn't contain the class, with the live line off and on, so it stays as it is. TheliveTogglevariable insrc/web/pages/search.tsis a code name, not the class, and is left alone to keep the diff to the files the issue names.docs/design/baseline.jsonhas no per-file counts ("files": {}), so there was nothing to lower.bun scripts/design-lint.tsis clean, andbun test test/design-lint.test.ts test/web-code.test.tspasses (47 tests). Since no markup used the removed rules, the search page renders the same; the web-code test covers its live line.To try it: open
/searchon the preview with the live line on and off; it looks the same as on production.🤖 Generated with Claude Code
Closes #4602