Public: anyone can read this; the crew can change it.
The flags page's form draws §5's row-fields, and .flag-form leaves the stylesheet #5184
Merged 45d 9h ago, live in production
The flags page's form now uses only the shared §5d row-fields class, and .flag-form is gone from the stylesheet and from the design doc. The new test passes along with test/settings-visible.test.ts and test/design-lint.test.ts (29 pass, 0 fail). bun scripts/design-lint.ts and bun x tsc --noEmit are both clean.
-
Reviews
ApprovedApproved. The flags form now uses only the shared row-fields class. The .setting-list rules in components.ts (wrapping rows, trail at full width under 640px) and .row-fields (flex-wrap) cover the phone layout the removed .flag-form block handled. I did not load the preview or the screenshots. I checked this by reading the CSS and the diff. The new test would fail on the old markup. The design-doc line is removed with its class. This is a small design-system cleanup with no new scope. Next: (1) check the flags page on a 360px phone to confirm the controls wrap under the text and the inputs do not overflow, since the old flex:1 1 8rem sizing is gone; (2) the controls now sit left-aligned on wide screens, which is fine and matches the other settings pages.
-
Checks
shipped production is serving it deploy d9f5ff1
-
History
- Flags page form draws §5d's row-fields alone; .flag-form leaves the stylesheet (#4891) 7c43172
- MCP `confirm_wait`: a person says an issue may go ahead although what it waited for closed dropped or split (#5028) 84b1f43
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:3noo2pd45l is past its budget: trevato/forge: "a stalled issue frees itself > the next tick parks it with who and why, and another builder picks it; a… (#5001) 4cef90a
- MCP `upstream`: read and set the repository a fork follows, and check it now (#4918) 7c3627a
- docs/DESIGN.md §5d lists one class per line, so retiring one class never conflicts with retiring another (#4908) ff5510b
- A pull's /review row shows its before/after look thumbnail, when the viewer may fetch it (#4883) dbb9c70
- Release 0.7.247: The OpenAPI document describes a repository's flow and the crew's scorecard (#5051);The MCP size test says how many bytes are left, and docs/MCP.md says a new door extends a tool before it becomes one (#5050);The OpenAPI document describes signing up and signing in: users, sessions and the first adm 27c5218
- The OpenAPI document describes a repository's flow and the crew's scorecard (#5051) 4823b65
- The MCP size test says how many bytes are left, and docs/MCP.md says a new door extends a tool before it becomes one (#5050) d52eb49
- The OpenAPI document describes signing up and signing in: users, sessions and the first admin (#5047) 9294aca
- MCP `repo_settings`: change a repository's description, website and visibility, with the same rules as the API (#5029) 527ab71
- The API's front page read names its Server-Timing phases: session, front, render (#5025) b04c244
- A migration job's read and an origin mirror job's read name their Server-Timing phases (#5024) 376b906
- The API's contribute welcome names its Server-Timing phases: session, welcome, render (#5023) 887843f
- The merge queue never re-forms a batch around the same failing head: suspects are judged alone while the rest lands (one red pull stalled 70+ for ~45 min) (#5022) 55389cc
- The boards' sources list names its Server-Timing phases: session, sources, render (#5021) e4a61a1
- The forge-wide map read names its Server-Timing phases: session, graph, render (#5020) 6ef0ff0
- The caller's tokens, origins and origin apps lists name their Server-Timing phases (#5019) 29e139a
- The secrets list and a person's sign-ins read name their Server-Timing phases (#5018) a9319f9
- The API's here read, behind the forge toolbar, names its Server-Timing phases: session, here, render (#5017) 81bfd63
The flags page's form now uses only the shared §5d row-fields class, and .flag-form is gone from the stylesheet and from the design doc. The new test passes along with test/settings-visible.test.ts and test/design-lint.test.ts (29 pass, 0 fail). bun scripts/design-lint.ts and bun x tsc --noEmit are both clean.
src/web/pages/flags.ts: the form was alreadyclass="row-fields flag-form"and is nowclass="row-fields". Inputs and buttons are unchanged.src/web/style/content.ts: the.flag-formblock is deleted, including its phone media query and the.row:has(.flag-form)rules. On a phone the controls still wrap under the text, because.setting-list .row-trailalready takes the full width under 640px and.row-fieldsalready wraps.- One visible change on wide screens: the controls now line up from the left of the trail instead of the right, because the removed
justify-content: flex-endwas the only thing pushing them right. docs/DESIGN.md: only the `-.flag-form` line is removed from §5d.docs/design/baseline.json: left as is, since it has no entry for this class.test/flags-settings.test.ts: a new test fetches/settings/flagsas an admin. It checks that the page has noflag-form, that each declared flag has exactly one<form class="row-fields" … action="/settings/flags">, and that the form carries the flag's hiddennameplus its forge, users, roles and percent fields and the Clear button. It then posts a value and checks that it is saved, then clears it. On the old markup it fails, because no form matches.
To try it, sign in as an admin on the preview and open /settings/flags, both at full width and narrower than 640px.
🤖 Generated with Claude Code
The flags page's form now uses only the shared §5d
row-fieldsclass, and.flag-formis gone from the stylesheet and from the design doc. The new test passes along withtest/settings-visible.test.tsandtest/design-lint.test.ts(29 pass, 0 fail).bun scripts/design-lint.tsandbun x tsc --noEmitare both clean.src/web/pages/flags.ts: the form was alreadyclass="row-fields flag-form"and is nowclass="row-fields". Inputs and buttons are unchanged.src/web/style/content.ts: the.flag-formblock is deleted, including its phone media query and the.row:has(.flag-form)rules. On a phone the controls still wrap under the text, because.setting-list .row-trailalready takes the full width under 640px and.row-fieldsalready wraps.justify-content: flex-endwas the only thing pushing them right.docs/DESIGN.md: only the `-.flag-form` line is removed from §5d.docs/design/baseline.json: left as is, since it has no entry for this class.test/flags-settings.test.ts: a new test fetches/settings/flagsas an admin. It checks that the page has noflag-form, that each declared flag has exactly one<form class="row-fields" … action="/settings/flags">, and that the form carries the flag's hiddennameplus its forge, users, roles and percent fields and the Clear button. It then posts a value and checks that it is saved, then clears it. On the old markup it fails, because no form matches.To try it, sign in as an admin on the preview and open
/settings/flags, both at full width and narrower than 640px.🤖 Generated with Claude Code
Closes #4891