Public: anyone can read this; the crew can change it.
A repository tree's rows and total line draw §5's row, and .tree-row, .tree-total leave the markup #4203
Merged 45d 13h ago, live in production
A repository tree's rows and total line now use §5's markup, and .tree-row and .tree-total no longer appear in the page's HTML. bun x tsc --noEmit is clean. test/tree-listing.test.ts, test/design-lint.test.ts, test/tokens.test.ts, test/web-browse.test.ts and test/web-code.test.ts pass (78 tests).
-
Reviews
ApprovedRows now come from row() and the total is the listing card's foot, so the page-local markup is gone. Escaping is intact (the test checks a<b>.md), nothing mutates, and it works with JavaScript off. The empty-trail and no-files cases are handled and tested, and the new test would fail without the change. I did not read the preview's tree page: the one URL I tried returned nothing matching, so this rests on the source and the tests.
Two things I would do next:
- Part two: delete the now-dead .tree-row and .tree-total rules in style/content.ts. Folder icons have lost their accent colour and the total line sits differently until then. Give folder icons a token-based rule on the row's data-kind, which now sits on the <li>.
- Check the foot at 360px, where the three-part total line should wrap inside the card without overflowing.
-
Checks
shipped production is serving it deploy f698c54
-
History
- A repository tree's rows and total line draw §5's row and card foot (#4164) 5c3685a
- Release 0.7.227: A client's first screen offers "Ask for something" on each app, opening the tell form for that app (#3371);The OpenAPI document describes starting a migration and reading its job (#3349);An issue's thread with 200 comments renders in under 15 ms (#3338);A migrated repository shows its trail: "migrat cddcb79
- A client's first screen offers "Ask for something" on each app, opening the tell form for that app (#3371) 8f2956f
- The OpenAPI document describes starting a migration and reading its job (#3349) 9ad48ad
- An issue's thread with 200 comments renders in under 15 ms (#3338) d4ac2e9
- A migrated repository shows its trail: "migrated from github.com/Trevato/SO-ARM100, a fork of TheRobotStudio/SO-ARM100", each a link up - hideable per repository (#3312) dac8451
- Release 0.7.226: The merge queue gates in parallel: bisect a red batch two halves at once, and speculatively gate the next batch on top of the current one (#4058);Design: the make-it-yours page's key and value list uses the design system, and kv leaves §5d (#3896);GET /metrics serves forge_http_request_duration_seco dc572ff
- The merge queue gates in parallel: bisect a red batch two halves at once, and speculatively gate the next batch on top of the current one (#4058) bc6bb89
- Design: the make-it-yours page's key and value list uses the design system, and kv leaves §5d (#3896) 44f94c4
- GET /metrics serves forge_http_request_duration_seconds to an admin or an admin's token, listed as not-a-page (#3883) 7b7a9d5
- The terminal lists, grants and revokes an app's private destinations, through the same actions as the page (#3882) f8d4648
- An agent run reuses its repository's bun install cache from the run before, instead of downloading every package again (#3738) 6869110
- Sentinel: queue:check was degraded 75 minutes today: 9 checks wait behind one lane; the oldest since 04:44; the lane runs #4032 for 2 min (limit 60). (#4062) 31ac3e3
- Design: the quiet disclosure becomes a §5 component used by its four pages, and quiet-details leaves §5d (#3933) 7c9233d
- On a client's first screen each app row says "Working on: …" or "Last change: …, 3 days ago" (#4056) b101086
- MCP `pulls`: list a repository's open pulls, briefly, with each one's check and review state (#4055) 70c9dc3
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:39d89j4f7b is past its budget: trevato/forge: "a pull whose review loop is spent is the planner's (#1655) > the planner is asked for it and its brief … (#4054) cc1a58e
- Design: the home KPIs are §5 stat tiles, and the kpi* classes leave §5d (#4048) 89d8dcc
- Checking an upstream fetches only the vetted address, sends a token only to its exact https origin, and runs one check at a time (#4046) eb96540
- forge_http_request_duration_seconds only grows, so rate() and histogram_quantile() read it correctly (#4034) 9633874
A repository tree's rows and total line now use §5's markup, and .tree-row and .tree-total no longer appear in the page's HTML. bun x tsc --noEmit is clean. test/tree-listing.test.ts, test/design-lint.test.ts, test/tokens.test.ts, test/web-browse.test.ts and test/web-code.test.ts pass (78 tests). I haven't looked at the page in a browser.
- Rows:
treeListinginsrc/web/pages/repo.tsbuilds each entry withrow()fromsrc/web/ui.ts, so it gets.row,.row-lead,.row-titleand.row-trail. Links, the..row, folder and file icons,j/knavigation and the size-with-tokens trail are unchanged. The tree-or-blob kind still rides on the row asdata-kind. - Total: the "N files here · size · tokens" line is now the listing card's
.card-foot, with the same tooltip. With no files, the foot is not drawn. - Forms: the tree listing has none, so there are no fields to preserve.
- Test:
test/tree-listing.test.tsasserts the old class names are absent. It also asserts the links, the escaped names, the sizes and the total line are present, and that there is no foot when there are no files. - Left alone:
src/web/style/content.tsanddocs/DESIGN.mdare untouched, as the issue says. - Visual change until part two: the two
.tree-rowicon rules no longer match anything, so folder icons lose their accent colour. The total line also sits in the card foot rather than below the card, so its spacing and alignment will look different.
A repository tree's rows and total line now use §5's markup, and
.tree-rowand.tree-totalno longer appear in the page's HTML.bun x tsc --noEmitis clean.test/tree-listing.test.ts,test/design-lint.test.ts,test/tokens.test.ts,test/web-browse.test.tsandtest/web-code.test.tspass (78 tests). I haven't looked at the page in a browser.treeListinginsrc/web/pages/repo.tsbuilds each entry withrow()fromsrc/web/ui.ts, so it gets.row,.row-lead,.row-titleand.row-trail. Links, the..row, folder and file icons,j/knavigation and the size-with-tokens trail are unchanged. The tree-or-blob kind still rides on the row asdata-kind..card-foot, with the same tooltip. With no files, the foot is not drawn.test/tree-listing.test.tsasserts the old class names are absent. It also asserts the links, the escaped names, the sizes and the total line are present, and that there is no foot when there are no files.src/web/style/content.tsanddocs/DESIGN.mdare untouched, as the issue says..tree-rowicon rules no longer match anything, so folder icons lose their accent colour. The total line also sits in the card foot rather than below the card, so its spacing and alignment will look different.Closes #4164