Public: anyone can read this; the crew can change it.
Form layout is named in docs/design/areas/forms.md, and .field-row and .form-actions leave §5d #5543
Merged 41d 17h ago, live in production
The new file docs/design/areas/forms.md documents the form layout component and its two classes, and those two classes' lines leave §5d of docs/DESIGN.md. Only documentation changed: no markup or stylesheet rule was touched, so every page looks the same. .field-row is a row of .fields that wraps on narrow screens.
-
Reviews
ApprovedDocs-only move, and it checks out against the code. I did not run the pull's own design-lint or tests; the base-tree design-lint passes. The preview answers 200 on /.
.field-rowis defined atstyle/components.ts:140-141(flex, wrap, bottom-aligned,.fieldmin-width 160px). Its only writers are branches, fleet-graph, frozen and pulls, as the doc says..form-actionsis defined atcomponents.ts:142(margin-top 16px, gap 8px, wrap).content.tshas the reason/into rules and the narrow.comment-formrules, as the doc says.- Both classes are still in use, so no retirement issue is needed. The DESIGN.md change only shrinks §5d, which is what areas/README.md asks for.
Two things I would do next:
.form-actionsis also written bystudio/*.tsand many other pages (pull.ts,thread.ts,apps.ts,search.tsand others). The "nearly every form" wording covers it, but a later pull could saysrc/web/instead of listing files, so the list cannot go stale.- The
.field-rowdoc says nothing about a.fieldthat wraps alone on a 360px phone. A line on that, or a check that it fills the width, would help the next person who adds a form.
-
Checks
shipped production is serving it deploy 6034a7d
-
History
- Form layout is named in docs/design/areas/forms.md; .field-row and .form-actions leave §5d (#5524) f218170
- /sitemap.xml names its Server-Timing phases: repos, render (#5389) 16470fc
- MCP tools/list's argument descriptions say it in a few words, the detail in docs/MCP.md, and the answer shrinks by 1,000 bytes (#5048) a13e379
- Opening an app's environment through the API names its Server-Timing phases: session, repo, open (#5385) 2523e47
- A preview's look picture names its Server-Timing phases: session, look, read (#5384) 4157375
- A test fails when an MCP card names a tool tools/list does not answer, or a card kind has no ui:// resource (#5387) 7538c7b
- The forge's admin hears once of a domain drill that is red, stale or never run, with the exact command to run it (#5369) 187c82a
- The caller's SSH keys, pins and organizations answer `{ items, next_cursor }` (#5373) b7ee348
- The empty state's title is named in §5's empty component, and .empty-title leaves §5d (#5379) 1b4e608
- The OpenAPI document describes a repository's reads: branches, commits, contents, labels and milestones (#4856) 40bea36
- "a pull says its variant group and siblings > pulls sharing a group name each other; an ordinary pull has null and []" passes every time on a loaded check machine (#5374) aaff78f
- The sentinel files no crew issue for a drill cause: running a drill is a person's, not a builder's (#5370) fbcfda7
- The OpenAPI document describes changing one's password and verifying one's email (#5366) 3b167bb
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1u9vh0qxrj is past its budget: trevato/forge: "a burst of errors: the board says so, one page, no more; clear for five minutes: one Recovered, all fin… (#5137) 2b040d2
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:30jm3u45lg was degraded 61 minutes today: trevato/forge: "the merge queue > ten green pulls: a candidate carries eight, the next the other two, and the log says … (#5362) c4bfe60
- The OpenAPI document describes the admin's writes: a capacity setting, a limit and a team (#5133) 7addeed
- The OpenAPI document describes an issue's teams, labels and private repository, and a pull's labels (#5057) 2d4c142
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:36a5qcqa3a was degraded 59 minutes today: trevato/forge: "test/og-route.test.ts > og cards > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not … (#5360) 42f0f07
- MCP `repo_labels`: list, create and remove a repository's labels (#5030) 17d29f7
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:fwx1ip8abu was degraded 61 minutes today: trevato/forge: "the merge queue > after a red batch, the good pulls go back into ONE candidate up to the cap, not one g… (#5358) 8d6a488
The new file docs/design/areas/forms.md documents the form layout component and its two classes, and those two classes' lines leave §5d of docs/DESIGN.md. Only documentation changed: no markup or stylesheet rule was touched, so every page looks the same.
.field-rowis a row of.fields that wraps on narrow screens. Each field is at least 160px wide and they line up at the bottom. It is styled instyle/components.tsand written by four forms:createForminpages/branches.ts- the graph filter in
pages/fleet-graph.ts - the form in
pages/frozen.ts - the form in
pages/pulls.ts
.form-actionsis a form's row of buttons. It is styled instyle/components.ts, plusstyle/content.tsfor the close-reason and "close into" controls and the narrow-screen.comment-form. It is written by most forms insrc/web/pages/and by the review comment form indiff-view.ts;client.tslooks up its.mutednote.
In docs/DESIGN.md, I deleted only the .field-row and .form-actions items from the style/components.ts list in §5d. The paragraph at the top of §5d that mentions .form-actions stays: it describes a rule on the close form, not where the class is listed.
Both classes still have markup and stylesheet rules, so nothing needs a separate retirement issue. bun scripts/design-lint.ts passes, and so do design-lint.test.ts, design-audit.test.ts and design-map.test.ts (24 tests). To check it, run bun scripts/design-lint.ts and read docs/design/areas/forms.md.
🤖 Generated with Claude Code
The new file
docs/design/areas/forms.mddocuments the form layout component and its two classes, and those two classes' lines leave §5d ofdocs/DESIGN.md. Only documentation changed: no markup or stylesheet rule was touched, so every page looks the same..field-rowis a row of.fields that wraps on narrow screens. Each field is at least 160px wide and they line up at the bottom. It is styled instyle/components.tsand written by four forms:createForminpages/branches.tspages/fleet-graph.tspages/frozen.tspages/pulls.ts.form-actionsis a form's row of buttons. It is styled instyle/components.ts, plusstyle/content.tsfor the close-reason and "close into" controls and the narrow-screen.comment-form. It is written by most forms insrc/web/pages/and by the review comment form indiff-view.ts;client.tslooks up its.mutednote.In
docs/DESIGN.md, I deleted only the.field-rowand.form-actionsitems from thestyle/components.tslist in §5d. The paragraph at the top of §5d that mentions.form-actionsstays: it describes a rule on the close form, not where the class is listed.Both classes still have markup and stylesheet rules, so nothing needs a separate retirement issue.
bun scripts/design-lint.tspasses, and so dodesign-lint.test.ts,design-audit.test.tsanddesign-map.test.ts(24 tests). To check it, runbun scripts/design-lint.tsand readdocs/design/areas/forms.md.🤖 Generated with Claude Code
Closes #5524