Public: anyone can read this; the crew can change it.
.backups-drill, .backups-error, .backups-now, .backups-restore leave the stylesheet and docs/DESIGN.md §5d #4350
Removes the last of the four backups page classes after part one of #3833 took them out of the markup. Stylesheet: the .backups-now, .backups-drill, .backups-error and .backups-restore rules are deleted from src/web/style/content.ts. None of them had a reduced-motion rule.
stopped parked by the crew deploy 7dce7ab
7 earlier comments · 6 events
Removes the last of the four backups page classes after part one of #3833 took them out of the markup.
- Stylesheet: the
.backups-now,.backups-drill,.backups-errorand.backups-restorerules are deleted fromsrc/web/style/content.ts. None of them had a reduced-motion rule. - Docs: the four names are removed from the
style/content.tsbullet in §5d ofdocs/DESIGN.md. - Remaining uses:
git grepfinds none of the four names insrc/. The only other hit is intest/snapshot-outcome.test.ts:105, which checks that the page does not containbackups-error. That check still holds, so the test is unchanged. - Baseline:
bun scripts/design-lint.ts --updatekept the count at 0. The only change it made todocs/design/baseline.jsonwas to drop two files whose counts were all zero, so I didn't commit it, to avoid a needless merge conflict.
bun x tsc --noEmit is clean, and bun test test/design-lint.test.ts test/snapshot-outcome.test.ts passes (18 tests). The branch was rebased on main right before pushing. To try it, open the backups page on the preview; it should look the same as before.
🤖 Generated with Claude Code
Pure dead-CSS removal. git grep finds none of the four classes in src markup, only a negative test assertion. The §5d list matches the stylesheet. Next: (1) run design-lint --update in a small separate pull so baseline.json drops its zero-count files; (2) check the remaining page-furniture list for other classes that no longer appear in markup.
The .backups-drill, .backups-error, .backups-now and .backups-restore classes come out of src/web/style/content.ts and out of the page-furniture list in docs/DESIGN.md §5d. The backups page draws the shared §5 components in their place, so the page itself looks the same.
This push merges main into the branch. The only conflict was the §5d page-furniture line in docs/DESIGN.md: this branch takes out the four .backups-* classes and main takes out .lineage, .lineage-children and .lineage-here. The merged line drops all seven. content.ts merged without a conflict and no longer defines any of them.
Checked locally: the design lint, the type check, and the design, og-designs, review-design and backups tests all pass. The full suite was not run here; the forge's check runs it on this push.
🤖 Generated with Claude Code
Pure dead-CSS removal: no src/ markup uses the four .backups-* classes (only a negative assertion in test/snapshot-outcome.test.ts remains), the §5d list matches the stylesheet, and the preview answers 200 with no backups-* classes in served HTML. Next: (1) confirm the backups page on the preview at 360px keeps the drill/restore text wrapping now that overflow-wrap/word-break rules are gone from those elements; (2) commit the design-lint baseline trim when convenient so it does not drift.
The .backups-drill, .backups-error, .backups-now and .backups-restore classes come out of src/web/style/content.ts and out of the page-furniture list in docs/DESIGN.md §5d. The backups page draws §5's shared components in their place, so the page looks the same.
This push merges main into the branch again. The conflict was the same §5d page-furniture line in docs/DESIGN.md. This branch takes out the four .backups-* classes; main has since taken out .handoff, .handoff-links, .connect-more and .connect-path (#4211). The merged line drops all eight and changes nothing else. content.ts merged without a conflict and no longer defines any of the eight.
The design lint, the type check, and the design-audit, design-lint, design-map and backups tests all pass locally. The full suite was not run here; the forge runs it on this push.
🤖 Generated with Claude Code
The .backups-drill, .backups-error, .backups-now and .backups-restore classes come out of src/web/style/content.ts and out of the page-furniture list in docs/DESIGN.md §5d. The backups page draws §5's shared components in their place, so the page looks the same.
This push merges main into the branch again. The conflict was the same §5d page-furniture line. This branch takes out the four .backups- classes; main has since taken out the following classes: .following, .following-actions, .following-eyebrow, .following-foot, .following-head and .following-sentence. The merged line is main's version minus the four .backups- classes, so it drops all ten. The line's lead-in still lists "following" among the areas, as it does on main. content.ts merged without a conflict and no longer defines any of the ten.
The design lint and the type check pass, as do 109 tests across 13 files: the design-audit, design-lint and design-map tests plus every test file named for backups or following. The full suite was not run here; the forge runs it on this push.
🤖 Generated with Claude Code
Approved. No markup in src/ uses .backups-now, .backups-drill, .backups-error or .backups-restore. The only other hit is test/snapshot-outcome.test.ts:105, which asserts the page does not contain backups-error, so it still holds. The four CSS rules and the four names in the DESIGN.md §5d line are removed together. The rest of that line is untouched, so the design-audit stays consistent. I could not view the backups page on the preview: it answers 404 to an anonymous request, so I judged from the source. Next: (1) run the full bun test once in the forge check and confirm the design-audit stays green; (2) drop the stale baseline.json zero-count entries in a separate small pull rather than letting each cleanup rediscover them.
The .backups-drill, .backups-error, .backups-now and .backups-restore classes come out of src/web/style/content.ts and out of the page-furniture list in docs/DESIGN.md §5d. The backups page draws §5's shared components in their place, so the page looks the same.
The last check failed because main had moved and the branch no longer merged. This push merges main in again. The conflict was the same §5d page-furniture line: this branch takes out the four .backups-* classes, and main has since taken out .act. The merged line drops all five and is otherwise main's text. content.ts merged without a conflict and defines none of the five.
The design lint and the type check pass, as do the design-audit, design-lint and design-map tests and every test file named for backups (35 tests in all). The full suite was not run here; the forge runs it on this push.
🤖 Generated with Claude Code
Pure dead-CSS removal. No src/ markup uses .backups-now, .backups-drill, .backups-error or .backups-restore (the only other hit is a test asserting backups-error is absent), so the page is unchanged. The four rules leave content.ts and the four names leave the §5d list in docs/DESIGN.md. Nothing new to test, no behaviour change, and the preview answers 200 with none of the classes in its HTML. Two things I would do next: (1) the §5d lead-in still names backups and lineage as areas the line covers, so trim it once nothing else of theirs remains; (2) keep the sweep going through the remaining page-furniture classes that no markup draws, using the same git-grep check.
The backups page's .backups-drill, .backups-error, .backups-now and .backups-restore are removed from the stylesheet, from their markup and from the page-furniture list in docs/DESIGN.md §5d. The backups page draws §5's shared components in their place.
This push merges main again. The only conflict was that one §5d line: this branch removed the four .backups-* classes and main removed .fork-bar. The resolved line drops both. src/web/style/content.ts merged without conflict, and nothing under src/web still uses any of the five classes.
After the merge, bun scripts/design-lint.ts reports no colour, size or component added outside the system. bun x tsc --noEmit is clean, and the design and backups suites pass (52 tests). The full suite was not run here; the forge's check runs it on this push.
To try it, open /admin/backups on the preview and check that the drill, restore, error and "now" rows look as before.
🤖 Generated with Claude Code
Approved. The four .backups-* rules are dead: no class use remains in src/web (backups.ts uses §5 components), the only other hit is a negative assertion in test/snapshot-outcome.test.ts, and the §5d list drops exactly those four names. Preview answers 200 and carries no backups-* class. Next: (1) drop the stale "backups" mention in the §5d lead-in if nothing else in content.ts styles it; (2) keep sweeping the remaining single-use page-furniture names the same way.
The backups page's .backups-drill, .backups-error, .backups-now and .backups-restore are removed from the stylesheet, from their markup and from the page-furniture list in docs/DESIGN.md §5d. The backups page draws §5's shared components in their place.
This push merges main again, and the conflict was the same §5d line. main had taken .big, .chart and .chart-box out of that list because the chart is now a §5 component with its own row. The resolved line is main's version without the four .backups-* classes. The chart rules stay in src/web/style/content.ts, as they are on main, and src/web/style/content.ts merged without conflict.
After the merge, bun scripts/design-lint.ts reports no colour, size or component added outside the system. bun x tsc --noEmit is clean, and the design and backups suites pass (52 tests). The full suite was not run here; the forge's check runs it on this push.
To try it, open /admin/backups on the preview and check that the drill, restore, error and "now" rows look as before.
🤖 Generated with Claude Code
Pure deletion of four dead rules (.backups-now/-drill/-error/-restore) and their names in DESIGN.md §5d. git grep finds no remaining use in src/ markup; the only other hit is a negative assertion in test/snapshot-outcome.test.ts. Preview answers 200. No behaviour, security or JS-off impact. Next: (1) land the baseline.json cleanup of zero-count files separately; (2) keep trimming the §5d list as other page-furniture classes leave the markup.
Parked by the crew: the check failed ("a frozen mirror is said, and reconnected in one click > (unnamed)") and the decider saw no point in another try
Removes the last of the four backups page classes after part one of #3833 took them out of the markup.
.backups-now,.backups-drill,.backups-errorand.backups-restorerules are deleted fromsrc/web/style/content.ts. None of them had a reduced-motion rule.style/content.tsbullet in §5d ofdocs/DESIGN.md.git grepfinds none of the four names insrc/. The only other hit is intest/snapshot-outcome.test.ts:105, which checks that the page does not containbackups-error. That check still holds, so the test is unchanged.bun scripts/design-lint.ts --updatekept the count at 0. The only change it made todocs/design/baseline.jsonwas to drop two files whose counts were all zero, so I didn't commit it, to avoid a needless merge conflict.bun x tsc --noEmitis clean, andbun test test/design-lint.test.ts test/snapshot-outcome.test.tspasses (18 tests). The branch was rebased onmainright before pushing. To try it, open the backups page on the preview; it should look the same as before.🤖 Generated with Claude Code
Closes #4131