Public: anyone can read this; the crew can change it.
.tree-row and .tree-total leave the stylesheet #4641
Merged 45d 4h ago, live in production
The .tree-row and .tree-total rules are gone from the stylesheet and from the design doc. Since #4203, the repository tree listing draws its rows and its total line with §5's .row, .row-trail and .card-foot, so nothing used these four rules any more.
-
Reviews
ApprovedPure dead-CSS removal: no markup in src/ emits .tree-row or .tree-total (only the rules themselves matched), the preview answers 200, and the doc list matches the stylesheet. No visual change expected; DESIGN.md is kept in step. Two things next: (1) look at /<owner>/<repo>/tree/main/src on the 360px phone once to confirm the .row and .card-foot spacing is what you want, since the builder did not check a browser; (2) keep sweeping the remaining unused names left in the §5d content.ts list the same way.
-
Checks
shipped production is serving it deploy f698c54
-
History
- Merge main into mason/4601-tree-row-and-tree-total-leave-the-styles 109d911
- .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
- .tree-row and .tree-total leave the stylesheet and DESIGN.md §5d (#4601) 83878c8
- 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
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2ks1dt3lq8 was degraded 62 minutes today: trevato/forge: "a frozen mirror is said, and reconnected in one click > (unnamed)" failed on 4 pulls in the last hour —… (#4561) c449eef
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1uelmre57z was degraded 58 minutes today: trevato/forge: "migrate: after > mirror: the crew's work branches never go to the source" failed on 3 pulls in the last… (#4564) 86c6228
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1uelmre57z is past its budget: trevato/forge: "migrate: after > mirror: the crew's work branches never go to the source" failed on 4 pulls in the last… (#4532) 479d484
The .tree-row and .tree-total rules are gone from the stylesheet and from the design doc. Since #4203, the repository tree listing draws its rows and its total line with §5's .row, .row-trail and .card-foot, so nothing used these four rules any more.
src/web/style/content.ts: the four rules for.tree-rowand.tree-totalare deleted.docs/DESIGN.md: both names are removed from thestyle/content.tsclass list in §5d.docs/design/baseline.json: not changed. It is already empty, so there is no count to lower.test/tree-listing.test.ts: not changed. It already asserts that the tree page's markup contains neither name, which is the form the issue allows. Because of that,grep -rnundertest/still finds both names on that test's two absence assertions; undersrc/it finds nothing.
The tree page should render the same as before, since only rules that no markup matched were removed. I did not check it in a browser. test/tree-listing.test.ts still passes, so the tree listing's rows, links, sizes and total are all still there.
bun scripts/design-lint.ts is clean, and bun test passes on test/design-lint.test.ts, test/tree-listing.test.ts and the other design tests (design-audit, design-map, og-designs, review-design).
To try it: open any repository's tree in the preview, for example /<owner>/<repo>/tree/main/src.
🤖 Generated with Claude Code
The .tree-row and .tree-total rules are gone from the stylesheet and from the design doc. Since #4203, the repository tree listing draws its rows and its total line with §5's .row, .row-trail and .card-foot, so nothing used these four rules any more.
src/web/style/content.ts: the four rules for.tree-rowand.tree-totalare deleted.docs/DESIGN.md: both names are removed from thestyle/content.tsclass list in §5d.docs/design/baseline.json: not changed. It is already empty, so there is no count to lower.test/tree-listing.test.ts: not changed. It already asserts that the tree page's markup contains neither name, which is the form the issue allows. Because of that,grep -rnundertest/still finds both names on that test's two absence assertions; undersrc/it finds nothing.
main has been merged in. The one conflict was that same §5d line in docs/DESIGN.md, because main had meanwhile dropped the .explore-* names from it. The resolution keeps main's line with .tree-row and .tree-total also removed. Against main, the diff is still just these two files (1 insertion, 5 deletions).
The tree page should render the same as before, since only rules that no markup matched were removed. I did not check it in a browser.
bun scripts/design-lint.ts is clean after the merge. bun test passes on test/design-lint.test.ts, test/tree-listing.test.ts, test/design-audit.test.ts and test/design-map.test.ts.
To try it: open any repository's tree in the preview, for example /<owner>/<repo>/tree/main/src.
🤖 Generated with Claude Code
The
.tree-rowand.tree-totalrules are gone from the stylesheet and from the design doc. Since #4203, the repository tree listing draws its rows and its total line with §5's.row,.row-trailand.card-foot, so nothing used these four rules any more.src/web/style/content.ts: the four rules for.tree-rowand.tree-totalare deleted.docs/DESIGN.md: both names are removed from thestyle/content.tsclass list in §5d.docs/design/baseline.json: not changed. It is already empty, so there is no count to lower.test/tree-listing.test.ts: not changed. It already asserts that the tree page's markup contains neither name, which is the form the issue allows. Because of that,grep -rnundertest/still finds both names on that test's two absence assertions; undersrc/it finds nothing.The tree page should render the same as before, since only rules that no markup matched were removed. I did not check it in a browser.
test/tree-listing.test.tsstill passes, so the tree listing's rows, links, sizes and total are all still there.bun scripts/design-lint.tsis clean, andbun testpasses ontest/design-lint.test.ts,test/tree-listing.test.tsand the other design tests (design-audit,design-map,og-designs,review-design).To try it: open any repository's tree in the preview, for example
/<owner>/<repo>/tree/main/src.🤖 Generated with Claude Code
Closes #4601