Repository navigation
docs(cli): a short form keeps its own 640 column inside a wide template frame - #12676
josephfarina wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, because the pull request is a draft; it runs once the pull request is marked ready for review.
Both doc lines restate the layout guide's existing 640 rule for forms, and the docs graph, golden reads and doc-quality tests pass on this head. One optional wording suggestion:
- The new don't line in
scaffold.doc.mjsputs its remedy ("keep the frame") behind thexprefix and does not say how to cap the form; leading with the anti-pattern and namingLayout contentWidth={640}would remove the ambiguity (see the inline comment).
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: the changeset says
astryx docs layoutand the scaffold guide keep a short form in its own 640 column inside a wide frame or grid: verified (layout.doc.mjs:41,scaffold.doc.mjs:50). - Claim: the layout rule already caps forms at 640: verified (
layout.doc.mjs:41on the base,scaffold.doc.mjs:90-95). - Claim: a full preferences template carries a 1440 frame and a three-column grid: verified (
settings/page.tsx:76,:126). - Claim:
astryx docs layoutadds one sentence to its scaffold step: verified from the command's output. - Claim:
astryx docs scaffoldshows one new don't item: verified; the command opens the layout scaffold guide. - Claim: no routes, keywords or behavior change: verified (placement and keywords unchanged; the docs graph test passes).
- Claim: core-doc-quality, docs-graph and golden-reads pass: verified on this head.
- Claim: the experimental-isolation failure also occurs on main: not reproduced; all 54 tests pass on this head and on main, so the change causes no failure there.
- Claim: the blind agent result is pending: noted; there is no result to check yet.
- File:
.changeset/short-form-own-column.md: clear. - File:
packages/cli/assets/docs/tree/layout.doc.mjs: clear. - File:
packages/cli/assets/docs/tree/scaffold.doc.mjs: one optional wording suggestion.
|
/approve-spec 4fa9fcf |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet. The head commit's message carries [skip ci], so the CI, Lint and CLI Smoke Test workflows did not start on it; push a commit without that marker so they run before merge.
Both doc lines restate the layout guide's existing 640 cap for forms, the earlier wording suggestion on the scaffold guide's don't item is addressed, and the docs graph, golden reads and doc-quality tests pass on this head.
Claims and files checked
Review mode: incremental; reason: none
- Claim: the changeset says
astryx docs layoutand the scaffold guide keep a short form in its own 640 column inside a wide frame or multi-column grid: verified (layout.doc.mjs:41,scaffold.doc.mjs:50, and both commands' output). - Claim: a short form keeps its own 640 column when the page starts from a wide-frame template: verified (the same two lines).
- Claim: a full preferences template carries a 1440 frame and a three-column grid: verified (
settings/page.tsx:76,:126). - Claim: the layout rule already caps forms at 640: verified (
layout.doc.mjs:41on the base,scaffold.doc.mjs:73and:90-95). - Claim:
astryx docs layoutadds one sentence to its scaffold step: verified from the command's output, base against head. - Claim:
astryx docs scaffoldshows one new don't item: verified from the command's output, base against head. - Claim: no routes, keywords or behavior change: verified (placement and keywords unchanged; the docs graph test passes).
- Claim: readers often keep a template's wide frame, and the blind agent run went from 9 of 12 to 10 of 12: not verifiable from the pull request, which reports but does not attach the run; no shipped behavior rests on it.
- Claim: core-doc-quality, docs-graph and golden-reads pass with
CI=1: verified on this head. - Claim: experimental-isolation has one failure that also fails on main: not reproduced; all its tests pass on this head and on the base, so the change causes no failure there.
- File:
.changeset/short-form-own-column.md: clear. - File:
packages/cli/assets/docs/tree/layout.doc.mjs: clear. - File:
packages/cli/assets/docs/tree/scaffold.doc.mjs: clear; the earlier wording suggestion is addressed.
- #12635 fix(cli): export loads and gives back a page whose modules import TypeScript files by .js names Author: @josephfarina - #12727 fix(cli): export loads a served package's subpath exported only to imports Author: @josephfarina - #12224 fix(cli): a {@link} in a template description resolves as astryx docs resolves it Author: @josephfarina - #12278 fix(core): a Theme given a value that is not a theme keeps the page running Author: @josephfarina - #12751 feat(Layout): LayoutContent names its container, so a theme styles a dialog's body apart from its header and footer Author: @josephfarina - #12168 fix(templates): header, footer and toolbar rows wrap for longer translated labels Author: @josephfarina - #12399 [experimental] export: the dropped-text warning checks Core's docs, and text not drawn yet inside Core components that take children no longer warns Author: @josephfarina - #12541 [docs] Core: list the props ComplexSelector, Selector, Toast and ContextMenuItem take Author: @josephfarina - #12676 docs(cli): a short form keeps its own 640 column inside a wide template frame Author: @josephfarina - #12458 fix(core): Field labels use the primary text colour Author: @josephfarina - #12373 [experimental] export: a link to a place in the page stays in the file in a srcdoc viewer frame Author: @josephfarina
|
Landed in #12827. |
Primary intent
A short form keeps its own 640 column even when the page starts from a template with a wide frame. Documentation change.
User impact
When a reader builds a small form (a few fields and one Save button) from a template made for a full preferences page, they often keep the template's 1440 frame and three-column grid for the form itself, so the form stretches across the page. The layout rule already says forms cap at 640; this states that the rule still holds inside a template's wide frame.
astryx docs layout: the scaffold step adds one sentence: a short form keeps its own 640 column even inside a wide template frame or a multi-column grid.astryx docs scaffold: one new "don't" item: carrying a template's 1440 frame or three-column grid over to a single short form.No routes, keywords or behavior change.
Change and evidence
packages/cli/assets/docs/tree/layout.doc.mjs,packages/cli/assets/docs/tree/scaffold.doc.mjs: the two lines above.Testing
With
CI=1:core-doc-quality,docs-graph,golden-readspass.experimental-isolationhas one failure, "doctor reports an invalid installed set", which fails the same way on main without this change.preflight: pass b60d93a