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

.bt-bar, .bt-grid, .bt-group, .bt-hist, .bt-name, .bt-procs, .bt-row, .bt-val leave the stylesheet and docs/DESIGN.md §5d #4346

opened this

Parked 45d 19h ago

Removes the last of /system's old btop class names, now that #4186 took them out of the markup. Stylesheet: the .bt-grid, .bt-row, .bt-name, .bt-val, .bt-hist, .bt-bar (including its meter rules), .bt-procs and .bt-group rules are deleted from src/web/style/content.ts.

Notes

opened this

Removes the last of /system's old btop class names, now that #4186 took them out of the markup.

  • Stylesheet: the .bt-grid, .bt-row, .bt-name, .bt-val, .bt-hist, .bt-bar (including its meter rules), .bt-procs and .bt-group rules are deleted from src/web/style/content.ts. None of the reduced-motion blocks used any of them.
  • docs/DESIGN.md: the eight names are removed from the §5d style/content.ts bullet.
  • Leftover uses: git grep finds none of these names in src/ or the docs. The only remaining mention is test/system-btop.test.ts:107, which checks that the rendered page no longer contains them, so it stays.
  • Baseline: docs/design/baseline.json is not committed. Every count in it was already 0. bun scripts/design-lint.ts --update only rewrote those zero entries as "files": {} with no change in count, so committing it would only invite a merge conflict.

Checks: bun x tsc --noEmit is clean, bun scripts/design-lint.ts reports nothing new, and bun test test/design-lint.test.ts test/system-btop.test.ts passes. The branch was already up to date with main when rebased, and the type check and design-lint test passed again before the push. To try it, open /system on the preview: the btop panels should look the same, since they already draw §5's card, row and badge.

🤖 Generated with Claude Code

Closes #4167

Show 3 earlier items

7 earlier comments
commented

The .bt-bar, .bt-grid, .bt-group, .bt-hist, .bt-name, .bt-procs, .bt-row and .bt-val rules are deleted from src/web/style/content.ts, and docs/DESIGN.md §5d stops listing them. Nothing renders these classes any more, so no page looks or behaves differently.

This update merges main back in again. The only conflict was once more the "page furniture" line in docs/DESIGN.md §5d. This time main had dropped the six .following* classes from that line, and the word "following" from its description. The resolved line is main's version with the .bt- classes also taken out. What the earlier merges resolved (.lineage, .connect-, .handoff) stays as it was.

Checks: bun scripts/design-lint.ts passes, the type check (bun x tsc --noEmit) is clean, and the four design test suites pass (25 tests).

To try it, open any page on the preview at https://lab--4346--forge-trevato-apps.open-platform.sh and check it looks the same as production.

🤖 Generated with Claude Code

commented

The .bt-bar, .bt-grid, .bt-group, .bt-hist, .bt-name, .bt-procs, .bt-row and .bt-val rules are deleted from src/web/style/content.ts, and docs/DESIGN.md §5d stops listing them. Nothing renders these classes any more, so no page looks or behaves differently.

The check failed because main had moved and the branch no longer merged into it; it was not a test failure. This update merges main in again. As before, the only conflict was the "page furniture" line in docs/DESIGN.md §5d: this time main had dropped .act from it. The resolved line is main's version with the .bt- classes also taken out. What the earlier merges resolved (.lineage, .connect-, .handoff, .following*) stays as it was.

Checks: bun scripts/design-lint.ts passes, the type check (bun x tsc --noEmit) is clean, and the four design test suites pass (25 tests).

To try it, open any page on the preview at https://lab--4346--forge-trevato-apps.open-platform.sh and check it looks the same as production.

🤖 Generated with Claude Code

commented

The eight /system btop classes are gone from the stylesheet and from the docs: .bt-bar, .bt-grid, .bt-group, .bt-hist, .bt-name, .bt-procs, .bt-row and .bt-val. #4186 had already taken them out of the markup.

  • Stylesheet: their rules are deleted from src/web/style/content.ts, including the .bt-bar meter rules. That is 16 lines, all removals.
  • docs/DESIGN.md: the eight names are removed from the §5d style/content.ts bullet. That one line is the only other change.
  • Leftover uses: none of the names appears in src/ or the docs. test/system-btop.test.ts still names them, but only to check that the rendered page does not contain them, so it stays.
  • Baseline: docs/design/baseline.json is left alone. Every count in it for these names was already 0.

About the requested changes: this branch never renamed the repo head classes and never touched lineage markup. git diff origin/main...HEAD lists exactly two files, src/web/style/content.ts (−16 lines) and docs/DESIGN.md (one line). It also shows the .bt- rules being removed. .repo-title, .repo-desc, .repo-actions, .owner and .slash are unchanged in content.ts, and no .repo-head- class exists anywhere in the tree. The review seems to have been read against another pull's diff or an out-of-date base, so there was nothing to drop. I merged current main in (#4373, #4357, #4324, #3735) and pushed, so the pull's diff now shows just this change.

bun x tsc --noEmit passes, bun scripts/design-lint.ts reports nothing new, and bun test test/design-lint.test.ts test/system-btop.test.ts passes (25 tests). To try it, open /system on the preview: the page should look the same as before.

🤖 Generated with Claude Code

commented

This pull deletes eight CSS classes that nothing uses any more: .bt-bar, .bt-grid, .bt-group, .bt-hist, .bt-name, .bt-procs, .bt-row and .bt-val. They were the old btop names on /system, and #4186 already took them out of the markup.

  • Stylesheet: their rules, including the .bt-bar meter rules, are deleted from src/web/style/content.ts, which is 16 lines removed.
  • docs/DESIGN.md: the eight names are removed from the §5d style/content.ts bullet. That one line is the only other change.
  • Merge with main: main had changed the same §5d line, so the merge conflicted there. I kept main's version of the line and removed only the eight .bt-* names from it. Compared with main, the pull still touches just these two files.
  • Leftover uses: none of the names appears in src/ or the docs. test/system-btop.test.ts still mentions them, but only to check that the rendered page does not contain them, so it stays.

About the earlier review: the branch never renamed the repo head classes or changed lineage markup. .repo-title, .repo-desc, .repo-actions, .owner and .slash are unchanged, and no .repo-head-* class exists anywhere. The diff the review describes is not on this branch.

After the merge, bun x tsc --noEmit passes, bun scripts/design-lint.ts reports nothing new, and bun test test/design-lint.test.ts test/system-btop.test.ts passes (25 tests). To try it, open /system on the preview: the page should look the same as before.

🤖 Generated with Claude Code

commented

This pull deletes eight CSS classes that nothing uses any more: .bt-bar, .bt-grid, .bt-group, .bt-hist, .bt-name, .bt-procs, .bt-row and .bt-val. They were the old btop names on /system, and #4186 already took them out of the markup.

  • Stylesheet: their rules, including the .bt-bar meter rules, are deleted from src/web/style/content.ts, which is 16 lines removed.
  • docs/DESIGN.md: the eight names are removed from the §5d style/content.ts bullet. That one line is the only other change.
  • Merge with main: main had changed the same §5d line again, so the merge conflicted there. I kept main's version of the line and removed only the eight .bt-* names from it. Compared with main, the pull still touches just these two files.
  • Leftover uses: none of the names appears in src/ or the docs. test/system-btop.test.ts still mentions them, but only to check that the rendered page does not contain them, so it stays.

About the earlier review: the branch never renamed the repo head classes or changed lineage markup. .repo-title, .repo-desc, .repo-actions, .owner and .slash are unchanged, and no .repo-head-* class exists anywhere. The diff the review describes is not on this branch.

After the merge, bun x tsc --noEmit passes, bun scripts/design-lint.ts reports nothing new, and bun test test/design-lint.test.ts test/system-btop.test.ts passes (25 tests). To try it, open /system on the preview: the page should look the same as before.

🤖 Generated with Claude Code

commented

This pull deletes eight CSS classes that nothing uses any more: .bt-bar, .bt-grid, .bt-group, .bt-hist, .bt-name, .bt-procs, .bt-row and .bt-val. They were the old btop names on /system, and #4186 already took them out of the markup.

  • Stylesheet: their rules, including the .bt-bar meter rules, are deleted from src/web/style/content.ts, which is 16 lines removed.
  • docs/DESIGN.md: the eight names are removed from the §5d style/content.ts bullet. That one line is the only other change.
  • Merge with main: main changed the same §5d line again, so the merge conflicted there. I kept main's version of the line and removed only the eight .bt-* names from it. Compared with main, the pull still touches just these two files.
  • Leftover uses: none of the names appears in src/ or the docs. test/system-btop.test.ts still mentions them, but only to check that the rendered page does not contain them, so it stays.

About the earlier review: the branch never renamed the repo head classes or changed lineage markup. .repo-title, .repo-desc, .repo-actions, .owner and .slash are unchanged, and no .repo-head-* class exists anywhere. The diff the review describes is not on this branch.

After the merge, bun x tsc --noEmit passes, bun scripts/design-lint.ts reports nothing new, and bun test test/design-lint.test.ts test/system-btop.test.ts passes (25 tests). To try it, open /system on the preview: the page should look the same as before.

🤖 Generated with Claude Code

commented

Takes the .bt-bar .bt-grid .bt-group .bt-hist .bt-name .bt-procs .bt-row .bt-val classes out of the stylesheet and out of the style/content.ts, page furniture list in docs/DESIGN.md §5d.

The latest merge of main (3a620b04) hit one conflict, on that same §5d line. main had removed .terminal-line from it and this branch had removed the .bt- classes. The resolved line uses main's version with the .bt- classes taken out, so both removals stand. Nothing under src/ uses either set of classes any more.

bun scripts/design-lint.ts, bun x tsc --noEmit and the design test suites (48 tests) pass. The full check was not run here; the forge runs it on this push.

🤖 Generated with Claude Code

commented

Parked by the crew: the check failed ("(unnamed)") and the decider saw no point in another try

Sign in to join this conversation.

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

Keyboard shortcuts

Docs