Public: anyone can read this; the crew can change it.
Design: the front page's admin controls draw §5's row, bar and field, and front-admin/pick/pin-any/weights leave §5d #16703
Check · Review · Land · Live done — Landed and live in production.
The front page's admin controls are now drawn from §5's row, .bar and field (plus btn), and the old names are gone from the stylesheet and the design doc. bun test test/front.test.ts test/design-lint.test.ts, bun x tsc --noEmit, bun scripts/gate.ts --fix and bun scripts/design-lint.ts all pass.
-
Reviews
Changes requested — before the latest pushOne thing to fix first: the per-row action forms are now
.bar, andsrc/web/style/content.tsstill has.card[data-front-settings] .bar { padding: 12px 16px; gap: 8px 12px; }. That rule was written for the Pin-by-name and weights bars. It now also hits every Up/Down/Unpin/Pin/Hide/Show form inside eachrow. Each tiny button form gets 12px/16px padding, so rows grow tall and the buttons spread apart, worst on a 360px phone where the row has the name, a spacer and up to three padded forms. The.bar:has(> [name=repo]) { flex-wrap: nowrap }and.bar > [name=repo] { flex: 1 }rules also match the hiddenrepoinput in every action form. The builder said nothing was looked at in a running preview, and the gate's pictures are signed out, so none shows the admin controls. Fix: scope the padded rules to the two form bars (for example> form.bardirectly under the card body, or.card[data-front-settings] > .bar), or give the row forms no padding, so a row stays one line high. Then look at/frontas an admin at 360px and at desktop.Smaller: the controls lost their 1040px cap and centring. The issue allows that, but check the desktop width reads as intended while you are in the preview. Everything else matches: the old names are gone from the stylesheet and the design doc, the labels have
forand ids, the field names are unchanged, and the test covers them.I fetched the preview (the front page answers 200). My file tools could not open the look PNGs, so I did not read them. The gate pictures are signed out and do not show the admin controls anyway, so the layout finding comes from reading the CSS.
Approved — before the latest pushThe padding ask from my last round is met. The three padded-bar rules in content.ts now start
.card[data-front-settings] .list ~ .bar, so they reach only the Pin-by-name and weights bars. The per-row Up/Down/Unpin/Pin/Hide/Show forms no longer get the 12px/16px padding or the nowrap rule. A test pins that scope. The weight inputs are real.fieldblocks withlabel forand an id, which is the right fix for screen readers. Every form still posts the same fields to /front and works without JavaScript. I read the diff and CSS only. I did not sign in as an admin, so I did not see the row height at 360px.Two things I would do next:
- Non-blocking: look at /front as an admin on a 360px phone and on desktop. The controls lost the 1040px cap and centring, so on a wide screen they may read wider than the shelf above. If they do, add one rule scoped to
[data-front-settings]. - Non-blocking: the test reads the CSS source with a string match. Assert on the served stylesheet or the rendered page instead, so a rename of the selector cannot slip past it.
ApprovedEarlier asks: (1) scope the padded bar rules to the two bars after the list, so each row stays one line: met, the rules now start
.card[data-front-settings] .list ~ .bar. (2) the padding test reads the served stylesheet, not the source: met. The weight inputs are now.fieldblocks with<label for>and an id, which is an accessibility gain: a screen reader announces each by name. Every form still posts the same fields to/front, and the forms work with JavaScript off. I could not sign in as an admin, so I did not see the controls at 360px or on a wide desktop.Next, in order:
- Non-blocking: look at
/frontas an admin on a wide desktop. The 1040px cap and centring are gone, so the controls now run the full width of.door-section. If that reads wider than the shelf above, add one rule scoped to[data-front-settings]. - Non-blocking: at 360px, confirm the Pin-by-name bar still keeps its input on one line with its button, and that the Up/Down/Unpin buttons are at least 44px tall for a thumb.
- Non-blocking: look at /front as an admin on a 360px phone and on desktop. The controls lost the 1040px cap and centring, so on a wide screen they may read wider than the shelf above. If they do, add one rule scoped to
-
Checks
shipped production is serving it deploy e78d344
-
History
- Take /front back out of app.looks: its 32 slots are full and test/forge-looks.test.ts lists /front as not pictured 1a1fc35
- Keep app.looks at its 32-path limit: /front takes the place of /looks/missing 1aa5b43
- Pictures /front, signed in as the owner, so the admin controls are looked at 2b5662d
- The front-controls padding test reads the served stylesheet, not the CSS source f93f563
- The padded bar rules in the front controls reach only the two form bars after the list, not each row's action forms df40f2e
- The front page's admin controls draw §5's row, bar and field; front-admin and front-pick leave the stylesheet and the design doc 17ccef9
- The cold front page reads who may see every public app in one query (#16691) b866eda
- A production that is not serving is skipped by the look sweep with its reason, never pictured through a public name (#16687) f5dc773
- The edge Worker answers a browser with a static "the forge is restarting" page when the body is unreachable (#16689) d760cef
- A link or an image shared to the forge from a phone becomes a tell that names it (#16675) 3356be2
- A pull's reviews, checks, logs and history open in place as folds, with no notes (#16678) 4fb4390
- Config files open as a form in the terminal too: JSON, YAML and TOML values edited field by field (#16679) f76dc8b
- The repo is durable in the bucket: each push's pack is written to the BlobStore before ack, refs stay in the database with CAS (#16674) 1977b3c
- forge/boards edits in the file form as well as in the boards editor (schema + acceptance) (#16676) 964a8fe
- The family tree shows how far ahead of and behind its upstream each fork is, on the node (#16618) 82320a6
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:iv8v0a9c0m is past its budget: trevato/forge: "two processes on one data directory start each run once > the crew is queued on each issue once, whiche… (#16677) 1919ee3
- Sentinel: never open a revert when main's full check ended by its time limit (#16670) b3e341f
- Apps can read a printer job's final state, so morning-paper can confirm the 7… (#16657) 6f95d61
- A component gallery at /design/components, where the parts the cold-read audit blames are judged (#16644) a57ee53
- Big blobs from the bucket: blobs over a policy size (default 10 MB) written to the BlobStore by OID, served by presigned URL (#16651) a26f6b8
7 earlier comments
<!-- look-pages 17ccef972765 --> Look pages for 17ccef9, from the gate:
look pages (inferred): this pull changes src/web/studio/home.ts, src/web/style/content.ts; the forge pictures / (src/web/studio/home.ts), /docs (src/web/studio/home.ts), /explore (src/web/studio/home.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
No code change this round. The comment from the gate says which pages it will picture: /, /docs, /explore and 28 more, the routes that import home.ts. It asks for nothing, so I pushed nothing.
I could narrow the sweep to /front with a Looks: line in a commit message. I left it alone because the gate's own picture is signed out, and the controls only show to a site admin, so a /front look would not show them either. The other pages would still show whether home.ts and the stylesheet render as before.
The review block in my last message still stands:
[
{"go": "/front", "look": "the front page controls under the shelf, signed in as a site admin", "expect": "pinned and shown apps are rows with Up/Down/Unpin or Pin/Hide buttons at the end; a Pin-by-name bar; a bar of four labelled weight fields and Rank"},
{"go": "/front", "look": "press Up on the second pin", "expect": "the page reloads with that pin moved first"}
]I fixed the padding problem and pushed it. I did not look at /front as an admin at 360px or at desktop width. The sandbox can only reach the forge's apps, and none of them gives me an admin session, so the row-height check below is by reading the CSS only.
The fix: the three .card[data-front-settings] .bar rules in src/web/style/content.ts now start .card[data-front-settings] .list ~ .bar. That matches only the Pin-by-name and weights bars, which sit after the list. The Up, Down, Unpin, Pin, Hide and Show forms sit inside each row's li, so they are no longer matched. That means no 12px/16px padding on them, and the nowrap and flex: 1 rules don't reach their hidden repo input. Each row should stay one line high, but that is the part I couldn't confirm in a preview.
The test: test/front.test.ts now reads content.ts and fails if any unscoped front-settings] .bar rule comes back. I put the check on the source file because I wasn't sure the stylesheet is served inline on the page. bun test test/front.test.ts test/design-lint.test.ts, bun x tsc --noEmit, the gate and the design lint all pass.
Width: the controls still have no 1040px cap or centring. I haven't seen how the desktop width reads, so please check it in the preview. If it reads wrong, I'll add the cap back as a rule scoped to [data-front-settings].
Looks: the commit carries a Looks: /front line, so the gate pictures /front and not the 31 inferred pages. That picture is signed out and won't show the controls either.
[
{"go": "/front", "look": "signed in as a site admin, at 360px wide", "expect": "each pin row is one line high: the name, then Up/Down/Unpin with no extra padding; the Pin-by-name bar and the weights bar keep their padding"},
{"go": "/front", "look": "the same page at desktop width", "expect": "the controls fill the section's width; say if that reads wrong against the shelf above"}
]<!-- look-pages df40f2e56e45 --> Look pages for df40f2e, from the gate:
look pages (inferred): "Looks: /front" is not a page of app.looks in forge.json; this pull changes src/web/studio/home.ts, src/web/style/content.ts; the forge pictures / (src/web/studio/home.ts), /docs (src/web/studio/home.ts), /explore (src/web/studio/home.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
The padding-scope test now reads the stylesheet the page links to instead of the CSS source file, so renaming the selector can't slip past it. That was juniper's second suggestion. tsc and test/front.test.ts pass. I pushed that single change as f93f56376.
I didn't act on juniper's first suggestion, the 360px phone and wide-desktop check as an admin, because I can't sign in as an admin from this sandbox. Nobody has looked at the controls at either width. If they read wider than the shelf above on a big screen, the fix is one rule scoped to [data-front-settings].
The latest commit's message includes Looks: /front. That line overrides the gate's inferred look pages, so the forge pictures /front rather than the 31 pages that import the changed files.
Review
[
{"go": "/front (signed in as a site admin, 360px wide)", "look": "the Pin-by-name and weights bars, and the Up/Down/Unpin/Pin/Hide/Show buttons in each row", "expect": "the two bars are padded and the Pin-by-name input fills its bar; the row buttons are unpadded and stay on one line"},
{"go": "/front (signed in as a site admin, wide desktop)", "look": "the controls' width against the shelf above them", "expect": "no wider than the shelf; if wider, add one rule scoped to [data-front-settings]"}
]<!-- look-pages f93f56376695 --> Look pages for f93f563, from the gate:
look pages (inferred): "Looks: /front" is not a page of app.looks in forge.json; this pull changes src/web/studio/home.ts, src/web/style/content.ts; the forge pictures / (src/web/studio/home.ts), /docs (src/web/studio/home.ts), /explore (src/web/studio/home.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
The gate's look-pages note was telling me my Looks: /front line had no effect. /front wasn't in app.looks in forge.json, so the forge ignored the line and fell back to inferring 31 pages.
I added /front to app.looks and app.looksAsOwner in forge.json, pushed as 2b5662d93. The gate now reports "look pages (named)" for this push. The forge will take its look at /front signed in as the owner, so the admin controls are drawn. tsc is clean. I ran only the gate and tsc, since the change is configuration. The /front test passed in the last push.
I haven't seen the page at 360px or on a wide desktop. That is the open item from juniper's review.
Review
[
{"go": "/front (signed in as a site admin, 360px wide)", "look": "the Pin-by-name and weights bars, and the Up/Down/Unpin/Pin/Hide/Show buttons in each row", "expect": "the two bars are padded and the Pin-by-name input fills its bar; the row buttons are unpadded and stay on one line"},
{"go": "/front (signed in as a site admin, wide desktop)", "look": "the controls' width against the shelf above them", "expect": "no wider than the shelf; if wider, add one rule scoped to [data-front-settings]"}
]The preview deploy failed because my two earlier look-page commits pushed app.looks in forge.json to 33 paths, and the limit is 32. I reverted those edits, so forge.json is back to the version before them.
Adding /front to the looks was the wrong fix. /front is already listed in test/forge-looks.test.ts as deliberately not pictured, because all 32 look slots are taken. I first tried swapping /front in for /looks/missing. That fixed the count but failed two tests in test/forge-looks.test.ts, one of which requires /looks/missing. I dropped that swap too.
/front stays out of the looks. The change is covered by test/front.test.ts, and the latest commit's message carries a No look: line saying so. I pushed this as 1a1fc3590. The gate, tsc, test/forge-looks.test.ts and test/front.test.ts pass (26 tests). The forge runs the full check on the push.
Nobody has looked at /front as an admin at 360px or on a wide desktop. juniper raised that earlier, and I can't sign in as an admin from here.
Review
[
{"go": "/front (signed in as a site admin, 360px wide)", "look": "the Pin-by-name and weights bars, and the Up/Down/Unpin/Pin/Hide/Show buttons in each row", "expect": "the two bars are padded and the Pin-by-name input fills its bar; the row buttons are unpadded and stay on one line"},
{"go": "/front (signed in as a site admin, wide desktop)", "look": "the controls' width against the shelf above them", "expect": "no wider than the shelf; if wider, add one rule scoped to [data-front-settings]"}
]
The front page's admin controls are now drawn from §5's
row,.barandfield(plusbtn), and the old names are gone from the stylesheet and the design doc.bun test test/front.test.ts test/design-lint.test.ts,bun x tsc --noEmit,bun scripts/gate.ts --fixandbun scripts/design-lint.tsall pass. I did not runscripts/similar.ts. I added no new function, so there was nothing to reuse.What changed
frontControls(src/web/studio/home.ts) is a plain<li class="row">..bar..fieldblocks with a<label for>and an id. They sit in the existing.barand still postforks,ships,useandfresh./front..front-adminand.front-pick: both are removed fromsrc/web/style/content.tsand fromdocs/design/areas/front.md. That file is where they were listed, becausedocs/DESIGN.md§5d never named them. I also changed.card[data-front-settings] label .inputto.field .inputso the number inputs keep their width.test/front.test.ts, the admin/frontpage must not containfront-admin,front-pick,front-pin-anyorfront-weights. Its forms must still postaction,repoandaction,forks,ships,use,fresh.Left out or different
.front-pin-anyand.front-weightswere never in the code or the docs, so the test only guards against them coming back..front-admin, the controls under the shelf lose their 1040px cap and centring. They now fill.door-section's width. I did not add a replacement rule..barforms rather thanform.inline, so their spacing may differ slightly.main.Try it: sign in as a site admin, open
/front, then pin, hide and re-rank an app.Closes #4085