Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
Generated by PR Enrichment workflow | View current CI run |
# Conflicts: # docs/architecture/public-component-api.md
There was a problem hiding this comment.
Approval is on hold for an owner decision: INV26 (with DEC-4) and INV27 (with DEC-5) add requirements to architecture:public-component-api that no current record states yet, and INV27 changes what family:layout-primitives FR7 currently says. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, on a head that carries the fixes below; the author may do so if they are an engineering owner.
To settle with the decision:
- Miss: Grid's
columnsalready accepts a responsive object,{minWidth, max?, repeat?}, and INV27 does not say whether a width-keyed object joins it, replaces it, or stays out ofcolumns. - INV27's object form has no key for widths below
sm(640 px), so which value applies on phones is not stated.
Required changes:
- Amend
family:layout-primitivesFR7, AV5 and its responsiveness row in this pull request, because they still say responsiveness has no shared breakpoint and is component-specific, which INV27 contradicts. - State in INV27 that the object carries a base value below
smand that each key applies from its point up, inclusive. - Add a
## Writing rubric resultssection to the description, whicharchitecture:knowledge-contractsrequires for a record change. - Add INV26 and INV27 entries to Known verification gaps, because the sticky and grow recipes, the responsive type tests and the browser checks the new rows name do not exist yet.
- Cite
family:layout-primitivesFR6 beside AV4 for StackItem'ssize="fill", because AV4 covers only scroll behavior.
[Automated review]
# Conflicts: # docs/architecture/public-component-api.md
There was a problem hiding this comment.
Approval is on hold for an owner decision: INV26 (with DEC-4) and INV27 (with DEC-5) add requirements to architecture:public-component-api that no current record states yet, and INV27 changes what family:layout-primitives FR7 currently says. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, on a head that carries the fixes below; the author may do so if they are an engineering owner.
To settle with the decision:
- Miss: Grid's
columnsalready accepts a responsive object,{minWidth, max?, repeat?}, and INV27 does not say whether a width-keyed object joins it, replaces it, or stays out ofcolumns. - INV27's object form has no key for widths below
sm(640 px), so which value applies on phones is not stated.
Required changes:
- Amend
family:layout-primitivesFR7, AV5 and its responsiveness row in this pull request, because they still say responsiveness has no shared breakpoint and is component-specific, which INV27 contradicts. - State in INV27 that the object carries a base value below
smand that each key applies from its point up, inclusive. - Add a
## Writing rubric resultssection to the description, whicharchitecture:knowledge-contractsrequires for a record change. - Add INV26 and INV27 entries to Known verification gaps, because the sticky and grow recipes, the responsive type tests and the browser checks the new rows name do not exist yet.
- Cite
family:layout-primitivesFR6 beside AV4 for StackItem'ssize="fill", because AV4 covers only scroll behavior.
[Automated review]
There was a problem hiding this comment.
Approval is on hold for an owner decision: INV26 (with DEC-4) and INV27 (with DEC-5) add requirements to architecture:public-component-api that no current record states yet. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, on a head that carries the fixes below; the author may do so as an engineering owner. The decision should also settle whether Grid's existing {minWidth, max?, repeat?} form for columns sits beside a width-keyed object or gives way to it, and which value applies below sm (640 px).
Required changes:
- Amend
family:layout-primitivesFR7, AV5 and its responsiveness row in this pull request, because they still say responsiveness has no shared breakpoint and is component-specific, which INV27 contradicts. - State in INV27 that the object form carries a base value below
smand that each key applies from its point up, inclusive. - Add a
## Writing rubric resultssection to the description, whicharchitecture:knowledge-contractsrequires for a record change. - Add INV26 and INV27 entries to Known verification gaps, because the sticky and grow recipes, the responsive type tests and the browser checks the new rows name do not exist yet.
- Cite
family:layout-primitivesFR6 beside AV4 for StackItem'ssize="fill", because AV4 covers only scroll behavior. - Miss: Name Stack's shipped
isScrollable(overflow: auto) andwrapbeside StackItem in INV26, or list them under Known verification gaps, because INV26 otherwise marks them as violations. - Newly live check: Correct "No open pull request claims these lines", because #10102 rewrites the same 24 Verification rows, or shorten the two new Evidence cells to 120 characters so those rows stay untouched.
Claims and files checked
- Claim: the change adds one test for when a layout behavior earns a prop and one shared width-keyed value form: verified (INV26, INV27).
- Claim: the decisions are INV26 with DEC-4 and INV27 with DEC-5, with DEC-3 left to #10102: verified (#10102 adds DEC-3).
- Claim: the record changes INV26, INV27, two verification rows, DEC-4 and DEC-5: verified; the rest of the Verification table is re-padded with unchanged text.
- Claim: the layout-primitives family's FR7 is updated here if DEC-5 is accepted: not done at this head, and AV5 and the responsiveness row also need it.
- Claim: no code or API changes: verified (one record file).
- Claim: no open pull request claims these lines: false for the Verification table (#10102).
- Claim: template builders hand-write media queries: the repository's page templates do, for grid columns and panel hiding, not for headlines.
- Claim: an explainer is kept with the owner review: not checkable in the repository.
- File
docs/architecture/public-component-api.md: the findings above.
| with something it owns: scroll ownership, region geometry, a gap between | ||
| regions, the page shell, or the theme's width points. A behavior that is one | ||
| CSS declaration on the component's own box, such as `position: sticky`, | ||
| `overflow`, or `flex-grow`, stays in `xstyle`, and the component's docs show |
There was a problem hiding this comment.
Miss: Stack, HStack and VStack ship isScrollable, which is exactly overflow: auto, and wrap, which is flex-wrap; family:layout-primitives AV4 gives them their scroll behavior alongside StackItem. As written, this sentence marks those shipped props as violations while only StackItem is carved out. Consider naming them beside StackItem, or listing them under Known verification gaps as shipped props INV21a keeps.
| the recipe. StackItem keeps its existing `size="fill"` and `isScrollable` | ||
| (`family:layout-primitives` AV4) (DEC-4). | ||
| - **INV27 — Responsive values use one form.** A visual prop that varies by | ||
| width, such as Heading's `type`, Text's `size`, Grid's `columns`, or a |
There was a problem hiding this comment.
family:layout-primitives still says the opposite for Grid columns and gaps: FR7 "The family does not promise a shared breakpoint", AV5 "consumer-authored responsive styles remain component-specific", and the responsiveness row is "component-owned". Please amend all three in this pull request so the two current records agree once INV27 is approved.
main reworded the public-component-api INV18 verification row (catalog message rewords) and reflowed the table. Take main's table and keep this branch's INV26/DEC-4 and INV27/DEC-5 rows.
There was a problem hiding this comment.
Approval is on hold for an owner decision: INV26 (with DEC-4) and INV27 (with DEC-5) add requirements to architecture:public-component-api that no current record states yet. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, on a head that carries the fixes below; the author may do so as an engineering owner. The decision should also settle whether Grid's existing {minWidth, max?, repeat?} form for columns sits beside a width-keyed object or gives way to it, and which value applies below sm (640 px).
Required changes:
- Amend
family:layout-primitivesFR7, AV5 and its responsiveness row in this pull request, because they still say responsiveness has no shared breakpoint and is component-specific, which INV27 contradicts. - Miss: Amend
component:GridDEC-1 and its non-goal with INV27, or dropcolumnsfrom INV27's examples, because DEC-1 makes{minWidth, max?, repeat?}Grid's responsive contract and keeps numericcolumnsfixed. - State in INV27 that the object form carries a base value below
smand that each key applies from its point up, inclusive. - Add a
## Writing rubric resultssection to the description, whicharchitecture:knowledge-contractsrequires for a record change. - Add INV26 and INV27 entries to Known verification gaps, because the sticky and grow recipes, the responsive type tests and the browser checks the new rows name do not exist yet.
- Miss: Name Stack's shipped
isScrollable(overflow: auto) andwrapbeside StackItem in INV26, or list them under Known verification gaps, because INV26 otherwise marks them as violations. - Cite
family:layout-primitivesFR6 beside AV4 for StackItem'ssize="fill", because AV4 covers only scroll behavior. - Newly live check: Correct "No open pull request claims these lines", because #10102 rewrites the same Verification rows and inserts DEC-3 at the same point, and shorten the two new Evidence cells to 120 characters so those rows stay untouched.
Claims and files checked
Review mode: full; reason: merge-touches-pr-files
- Claim: template builders ask for layout props and hand-write media queries for responsive headlines: the page templates hand-write width queries for grid columns and panel hiding, none for headlines.
- Claim: an explainer is kept with the owner review: not checkable in the repository.
- Claim: two owner decisions, each with a recommended option and two alternatives: verified (DEC-4 and DEC-5 and their rejected options).
- Claim: the record changes INV26, INV27, two verification rows, DEC-4 and DEC-5, with DEC-3 left to #10102 and DEC-2 already on main: verified; the rest of the Verification table is re-padded with unchanged text.
- Claim: the layout-primitives family's FR7 is updated here if DEC-5 is accepted: not done at this head, and AV5, the responsiveness row and Grid's DEC-1 also need it.
- Claim: no code or API changes: verified (one record file).
- Claim: no open pull request claims these lines: false (#10102).
- File
docs/architecture/public-component-api.md: the findings above.
| the recipe. StackItem keeps its existing `size="fill"` and `isScrollable` | ||
| (`family:layout-primitives` AV4) (DEC-4). | ||
| - **INV27 — Responsive values use one form.** A visual prop that varies by | ||
| width, such as Heading's `type`, Text's `size`, Grid's `columns`, or a |
There was a problem hiding this comment.
Miss: component:Grid DEC-1 (current) makes {minWidth, max?, repeat?} Grid's responsive contract and keeps numeric columns fixed, and its non-goals exclude a shared breakpoint. Naming columns here for an object keyed by width points contradicts that decision. Please amend component:Grid DEC-1 and its non-goal together with this invariant, or drop columns from these examples.
Main now carries DEC-1 to DEC-10 in public-component-api, and DEC-11 is reserved for the composite-naming record, so this record's decisions move from DEC-4 and DEC-5 to DEC-12 and DEC-13, with their INV26 and INV27 citations and verification rows. INV26 and INV27 keep their numbers. The verification table takes main's rows plus this record's two rows.
There was a problem hiding this comment.
Approval is on hold for an owner decision: INV26 (with DEC-12) and INV27 (with DEC-13) add requirements to architecture:public-component-api that no current record states yet. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, on a head that carries the fixes below; the author may do so as an engineering owner. The decision should also settle whether Grid's existing {minWidth, max?, repeat?} form for columns sits beside a width-keyed object or gives way to it, and which value applies below sm (640 px).
Required changes:
- Amend
family:layout-primitivesFR7, AV5 and its responsiveness row in this pull request, because they still say responsiveness has no shared breakpoint and is component-specific, which INV27 contradicts. - Miss: Amend
component:GridDEC-1 and its non-goal with INV27, or dropcolumnsfrom INV27's examples, because DEC-1 makes{minWidth, max?, repeat?}Grid's responsive contract and keeps numericcolumnsfixed. - State in INV27 that the object form carries a base value below
smand that each key applies from its point up, inclusive. - Add a
## Writing rubric resultssection to the description, whicharchitecture:knowledge-contractsrequires for a record change. - Add INV26 and INV27 entries to Known verification gaps, because the sticky and grow recipes, the responsive type tests and the browser checks the new rows name do not exist yet.
- Miss: Name Stack's shipped
isScrollable(overflow: auto) andwrapbeside StackItem in INV26, or list them under Known verification gaps, because INV26 otherwise marks them as violations. - Cite
family:layout-primitivesFR6 beside AV4 for StackItem'ssize="fill", because AV4 covers only scroll behavior. - Newly live check: Correct Current-state impact, because #10102 rewrites the same Verification rows and inserts DEC-11 at the same point and main holds DEC-1, DEC-2, DEC-6 and DEC-10 rather than DEC-1 to DEC-10, and shorten the two new Evidence cells to 120 characters so the existing rows stay untouched.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: template builders ask for layout props and hand-write media queries for responsive headlines: the page templates hand-write width queries for grid columns and panel hiding, none for headlines.
- Claim: an explainer is kept with the owner review: not checkable in the repository.
- Claim: two owner decisions, each with a recommended option and two alternatives: verified (DEC-12 and DEC-13 and their rejected options).
- Claim: the record adds INV26, INV27, two verification rows, DEC-12 and DEC-13: verified; the rest of the Verification table is re-padded with unchanged text.
- Claim: main holds DEC-1 to DEC-10 and DEC-11 is left to #10102: partly false; main holds DEC-1, DEC-2, DEC-6 and DEC-10, and #10102 does add DEC-11.
- Claim: the layout-primitives family's FR7 is updated here if DEC-13 is accepted: not done at this head, and AV5, the responsiveness row and Grid's DEC-1 also need it.
- Claim: no code or API changes: verified (one record file).
- Claim: no open pull request claims these lines: false (#10102).
- File
docs/architecture/public-component-api.md: the findings above.
| CSS declaration on the component's own box, such as `position: sticky`, | ||
| `overflow`, or `flex-grow`, stays in `xstyle`, and the component's docs show | ||
| the recipe. StackItem keeps its existing `size="fill"` and `isScrollable` | ||
| (`family:layout-primitives` AV4) (DEC-12). |
There was a problem hiding this comment.
family:layout-primitives AV4 covers StackItem's scroll behavior only; size="fill" is FR6's modifier contract. Suggest citing FR6 and AV4.
| (`family:layout-primitives` AV4) (DEC-12). | ||
| - **INV27 — Responsive values use one form.** A visual prop that varies by | ||
| width, such as Heading's `type`, Text's `size`, Grid's `columns`, or a | ||
| layout gap, accepts one shared form: a value, or an object keyed by the |
There was a problem hiding this comment.
The object form has no key for widths below sm: spec:AST-012 FR1 makes root values the implicit base below sm with no xs point, so DEC-13's phone case has no stated spelling. Consider stating that the object carries a base value that applies below sm, and that each key applies from its point up, inclusive.
| | INV26, DEC-12 | Public-API review of new layout props against the coordination test, plus docs checks for the sticky, overflow, and grow recipes | A one-declaration layout prop, or a missing recipe | | ||
| | INV27, DEC-13 | Type tests for the shared responsive form plus real-browser checks of Heading `type` and Grid `columns` across the theme's width points | A responsive value that renders per breakpoint in JavaScript, a structural prop that accepts the form, or a breakpoint not taken from the theme | |
There was a problem hiding this comment.
These rows name docs checks for sticky, overflow and grow recipes, type tests for a shared responsive form, and browser checks that do not exist yet. Please add INV26 and INV27 entries to Known verification gaps so the record does not read as verified.
Summary
Template builders keep asking for sticky, overflow, grow, and hide props on layout primitives, and they hand-write media queries for responsive headlines. This draft adds one test for when a layout behavior earns a prop, and one shared shape for values that change with screen width, keyed by the theme's width points.
Spec explainer (human view): kept internally with the owner review.
Owner decisions (draft until decided; parked, not yet queued)
architecture:public-component-apiINV26, DEC-12). Recommended A: a prop only when Astryx coordinates the behavior (scroll ownership, region geometry, region gaps, the page shell, width points). Single CSS declarations stay inxstyle, with documented recipes. Alternatives: B, a prop for each common need; C, case by case.spec:AST-012/DEC-1) and resolved in CSS. Alternatives: B, caller CSS; C, a shape per component.Current-state impact
architecture:public-component-api: INV26, INV27, two verification rows, DEC-12, and DEC-13. Main holds DEC-1 to DEC-10, and DEC-11 is left to draft docs(spec): the interactive element owns a composite's accessible name #10102.family:layout-primitivesFR7 ("no shared breakpoint") is updated in this PR before merge.