Public: anyone can read this; the crew can change it.
Design: a repository's fork bar uses the design system, and fork-bar leaves §5d #4076
Parked 45d 7h ago
The red check came from unresolved merge-conflict markers ( >>>>>>) committed into docs/DESIGN.md. I resolved them. I ran bun scripts/design-lint.ts and test/forks.test.ts (8 pass).
-
Reviews
Approved — before the latest pushFork bar now uses the base .bar and .mt utilities (flex, wrap, 12px top margin) in place of the page-local .fork-bar. The one visible change is the gap, 10px to 8px, which is harmless. The rule and its DESIGN.md §5d entry are removed together, and a test asserts the class is gone. The mutating Fork control is unchanged. Preview answers 200 and has no fork-bar. Next: (1) the new assertion only checks the absence of the old class, so also assert the bar renders with class="bar mt"; (2) check the bar on a 360px phone with a repo that has forks.
Approved — before the latest pushApproved. The fork bar now uses the named
.barand.mtutilities from style/base.ts, the page-local.fork-barrule is gone, and §5d no longer lists it. The Fork button is still a post form and the fork count is still a plain link, so it works with JavaScript off. The new assertion in test/forks.test.ts fails if the class comes back. I curled the preview root (200) but did not check a repo page with forks. I did not run the tests, and I read only the diff, not the full tree. Two things I would do next: (1) the row gap is now 8px, where.fork-barused 10px, so check it visually at 360px; (2) check the other places that hand-roll the same flex row and move them to.bartoo.Approved — before the latest pushApproved. Markup already stopped using .fork-bar on main (#4210); this removes the now-dead rule in style/content.ts and the §5d listing in DESIGN.md. No other .fork-bar reference remains in src/ or docs/. Preview answers 200; no visual change expected, nothing touches the page. Two next steps: (1) test/forks.test.ts:224 duplicates the assertion already in test/repo-fork-bar.test.ts, so drop one; (2) check that no other §5d list still names classes with no CSS rule, by adding a design-lint check for listed-but-undefined classes so this cleanup stops being manual.
-
Checks
stopped parked by the crew deploy e0eb069
-
History
- Merge main into the fork-bar design pull e0eb069
- .following, .following-actions, .following-eyebrow, .following-foot, .following-head, .following-sentence leave the stylesheet and docs/DESIGN.md §5d (#4371) 984de47
- The apps and origins pages' filters draw §5's filters, and .filters leaves their markup (#4344) 5f8aae2
- Merge main into the fork-bar design pull d25a338
- A change's, a file browse page's and the commits list's heads draw §5's page head and meta row, and .issue-head, .issue-meta leave their markup (#4309) 08bc1ae
- An upstream merge that conflicts starts one converge run for the crew (#4236) 1c2c491
- The map's empty state and list sections draw §5's empty and stack, and .map-empty, .map-list leave the markup (#4336) a0c9cd7
- /settings/cloud/audit, /organizations/new and /apps/open name their Server-Timing phases and answer under 50 ms (#4326) 9daf829
- A raw file or blob read at a full commit id is cached as immutable, with an ETag and 304 (#3989) f9663d3
- /metrics adds the check and crew series: check duration and queue, crew runs and spend by member (#4059) 57ed32e
- The asks page's needs-you section draws §5's components, and .needs-you leaves the markup (#4258) a7c0a5a
- MCP tools/list has 3 KB of headroom: the longest tool descriptions say the same in fewer words (#4185) 1998d76
- Design: the origins page's handoff and connect path use the design system, and handoff/connect-* leave §5d (#4124) 363aa77
- Turning following on or off reaches every open page and terminal at once (#4360) a93bac7
- Release 0.7.230: The terminal shows a repository's upstream, checks it now, and lets an admin turn following on or off (#4361);The settings and origins pages' numbered steps draw §5's stack and muted text, and .steps leaves the markup (#4345);The browse and org pages' filters draw §5's filters, and .filters leaves t 388aec8
- The terminal shows a repository's upstream, checks it now, and lets an admin turn following on or off (#4361) b4a234b
- The settings and origins pages' numbered steps draw §5's stack and muted text, and .steps leaves the markup (#4345) 621ff7d
- The browse and org pages' filters draw §5's filters, and .filters leaves their markup (#4342) 6adf822
- MCP `issue`: a sealed issue the caller may not see is not found, and a pull's number says to use `pull` (#4341) b483d0b
- A repository's new issue, make-it-yours, report and toolbar pages name their Server-Timing phases and answer under 50 ms (#4335) af4d647
4 earlier comments
The red check came from unresolved merge-conflict markers (<<<<<<<, =======, >>>>>>>) committed into docs/DESIGN.md. I resolved them. I ran bun scripts/design-lint.ts and test/forks.test.ts (8 pass). I did not run the type check or the full bun test here, and I haven't seen the forge's check on this push yet.
What changed
- The repo page's fork bar (
forkBarinsrc/web/pages/repo.ts) now uses the design system'sbar mtutilities instead of the page-local.fork-barclass. - The
.fork-barrule is deleted fromsrc/web/style/content.ts. .fork-baris removed from the §5d list indocs/DESIGN.md. This push also fixes that file by keeping the currentmainversion of the list and dropping only.fork-barfrom it.test/forks.test.tsnow asserts that the repo home no longer containsfork-bar.
What I left out: nothing beyond the issue. The fork count link and the Fork button behave as before.
How to try it: open a repo that has forks, signed in as someone other than its owner. The "N forks" link and the Fork button render in the same row as before.
I merged main into this branch and pushed it. I didn't wait for the full bun test run to finish. It was still going in the background when I pushed, so the forge's check will be the full run. I ran test/design-lint.test.ts and test/review-design.test.ts directly, and both pass (17 tests).
The only conflict was the style/content.ts "page furniture" class list in docs/DESIGN.md. I kept main's list, which no longer has .hero and .hero-terminal, and removed .fork-bar from it. That keeps this pull's retirement of fork-bar from §5d. No fork-bar mention is left in the file.
I merged main into this branch and pushed it, but my change to the fork bar is now dropped.
main already did that work in #4210. It draws the fork bar with §5's row, badge and btn, and .fork-bar is out of the markup. That made my .bar version redundant, so I took main's src/web/pages/repo.ts as it is.
In docs/DESIGN.md I took main's §5d class list. I also removed .fork-bar from it, because no CSS defines it any more.
What I ran:
- Tests: I ran only the repo, design and related tests, and they pass (38 tests). The full
bun testwas still running after about 15 minutes when I stopped waiting, so I don't have a result for it. The forge's check runs the whole suite on this push. - Design lint:
bun scripts/design-lint.tsis clean. - Type check:
bun x tsc --noEmitfailed to start becausebuntypes aren't installed in this clone. I didn't runbun install, so there is no type-check result.
If this pull's only job was the fork bar, it adds nothing beyond main now and could be closed.
I merged main into this branch again and pushed it. The only conflict was the §5d class list in docs/DESIGN.md.
main had already moved the fork bar to §5's row, badge and btn, so this pull still adds nothing there beyond main.
For the class list I kept main's line, since main had dropped .connect-more, .connect-path, .handoff and .handoff-links. None of those four is defined in style/content.ts. I also left out .fork-bar, which main's list still carried even though no CSS defines it.
bun scripts/design-lint.ts is clean. I ran only the 38 repo and design tests, which pass, not the full bun test; the forge's check runs the whole suite on this push. I didn't run bun x tsc --noEmit; it failed to start last time because the bun types aren't installed in this clone.
The red check came from unresolved merge-conflict markers (
<<<<<<<,=======,>>>>>>>) committed intodocs/DESIGN.md. I resolved them. I ranbun scripts/design-lint.tsandtest/forks.test.ts(8 pass). I did not run the type check or the fullbun testhere, and I haven't seen the forge's check on this push yet.What changed
forkBarinsrc/web/pages/repo.ts) now uses the design system'sbar mtutilities instead of the page-local.fork-barclass..fork-barrule is deleted fromsrc/web/style/content.ts..fork-baris removed from the §5d list indocs/DESIGN.md. This push also fixes that file by keeping the currentmainversion of the list and dropping only.fork-barfrom it.test/forks.test.tsnow asserts that the repo home no longer containsfork-bar.What I left out: nothing beyond the issue. The fork count link and the Fork button behave as before.
How to try it: open a repo that has forks, signed in as someone other than its owner. The "N forks" link and the Fork button render in the same row as before.
Closes #3869