Skip to content

experimental theme: states Core marks, open parts drawn open, and picture inputs and flyouts - #12498

Closed
josephfarina wants to merge 55 commits into
theme-r15-p01from
theme-r15-p02
Closed

josephfarina wants to merge 55 commits into
theme-r15-p01from
theme-r15-p02

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary: experimental theme: states Core marks, open parts drawn open, and picture inputs and flyouts. Editor-only (experimental theme editor in packages/cli); No spec record or official-theme change. No Core change.

Part 2 of 25 of round 15, landing as a stack: based on theme-r15-p01; merge in order (the next part retargets onto main after this one merges).

What changes

  • experimental theme how: a part word right before a noun the editor knows as nothing begins a compound subject
  • experimental theme: how gives a text color for every variant only where it reads, in each mode, on the variant's own fill or the fill asked with it; a tint is the color at a low strength; a rule with its own verb after a part's clause is the theme's
  • experimental theme: a one-mode theme's text color on an image fill is written for both modes
  • experimental theme how: rows said of a part are its own rows; a part word that names what a product is about names no part
  • experimental theme: a border on a bar is the bar's own unless its pieces draw the borders
  • experimental theme pictures: a page wider than the window is pictured whole; no closed drawer cell on any page; an overlay drawn after its part sits under its opener; sub-pixel cut text gets room
  • experimental theme pictures: a sample's plain text field drawn as the theme's input; a flyout drawn once beside its menu; a pressed control at the moment of its press; a highlighted command palette; a drawer's panel held in its cell
  • experimental theme how: one reader for a color with a shape, so a selected item's pill keeps its state
  • experimental theme: a faint link keeps its own hue in its fix line, a light-only border reports nothing about dark, one fill on a group says each kind of cover once, a state fill is measured against the text that state draws in its own variant, and the placeholder as faint as the base drew it is no new problem
  • fix(cli): --only always works as an escape from a group and a menu radio keeps its circle apart
  • experimental theme: a part Core marks open is drawn open, so --state expanded reaches a submenu row and a top nav menu
  • experimental theme: the states Core marks on a part's own element are the part's to set

Phrase rules

  • _how-question.mjs line delta: +668/-58.
  • Phrase rules added: the tint, paint and wash fill words; compound subjects (a part word before a noun the editor knows as nothing, as the subject of more words); a part word that begins a longer part name belongs to that longer part; rows of a part; and "never use …" as a rule for the whole theme. No mood or feel words are added.

Test plan

  • Every commit here was gated in the round-15 integration branch: full Node suite with CI=1, the five cli typechecks, check-cli-structure, check:changesets, and the held-out how answer key (252 right, 0 wrong writes).
  • CI has not run on this head: a stacked part gets CI once it targets main. Before each push the head is checked offline with the astracat preflight (lint, build, typecheck, the node and ui tests the change reaches).
  • Look gate (a Bootstrap-style site built from the top of this stack, live render): no new blocking finding vs main. The tab, pager and phone blocks are gone; only the theme's own white-on-pale label text remains, as that theme sets it.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 20, 2026 1:02pm UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 20, 2026, 6:17 AM UTC

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested. The code is the same as at the previous head, so four fixes are still needed; the test plan's CI sentence is now accurate.

Blocking:

  • experimental-theme-editor-show.doc.mjs drops requires: ['themes.compile'], so in a project whose base is not Core the editor counts as served and astryx theme help and suggestions point at editor new, which that base refuses; clients/cli/bases.test.mjs fails 5 tests here and passes on the base, so restore the line.
  • _how-question.mjs:25279 copies a text color to each variant a fill reaches without that fill's mode, so "buttons with a navy background in dark mode and white text" also writes white text on the secondary and ghost buttons in light mode; carry each fill's mode.
  • The tint pass (_how-question.mjs:25355-25374) turns every solid fill in a "tinted" clause into a 15% mix, so "cards tinted blue with a navy header" tints the header while the answer's own lines for the colored card variants stay solid; tint only the color the word modifies, on every line that writes it.
  • .changeset/theme-round15-part-02.md:18 and the description list "a light-only theme reads --mode light as no --mode" as new, but the base branch already does this and both new tests for it pass against the base code; drop the sentence.

Approval also waits on the direction: no current record settles this round's new how readings, set behavior, reports and pictures, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on the pull request, and the author may do so as an engineering owner. Three new tests also pass against the base code (the faint-link fix, the one-note-per-cause fill and the placeholder key); a case the base gets wrong would let them prove their change.

Claims and files checked

Review mode: carry-forward; reason: none

Claims (release notes and description):

  • A border asked of a part that draws none goes to its inner pieces only where they draw borders. Verified: theme-bar-border.test.mjs fails on the base code and passes here.
  • A role text color too faint is fixed in its own hue. Unverified: its test passes on the base code too.
  • A light-only border reports nothing about dark. Verified: its test fails on the base code.
  • One fill on a group is noted once per kind of cover. Unverified: its test passes on the base code too.
  • A color with a pill shape keeps the selected item's state. Verified: theme-how-plain-words.test.mjs fails on the base code.
  • A text color for every variant goes only where and when it reads. Partly false: verified for white button text, but a fill given for one mode drops its mode (blocking).
  • A tinted color fills at low strength. Partly false: verified for a selected nav item, but it tints fills the word does not modify and leaves follow-up lines solid (blocking).
  • A rule with its own verb after a part clause is theme-wide. Verified: theme-how-list-items.test.mjs fails on the base code.
  • --only on a part styled on its own is taken and said; a group still refuses it. Verified for the first; the group refusal already held on the base.
  • A menu radio keeps its circle, and a round ask offers the undo. Verified: both tests fail on the base code; the offered undo runs.
  • A light-only theme reads its own --mode as none. False: the base already does this, and both tests pass on the base code (blocking).
  • A part Core marks open is drawn open, so --state expanded reaches a submenu row and a top nav menu. Verified: theme-open-state-drawn.test.mjs and the new layers.test.mjs case fail on the base code.
  • States Core marks on a part are settable: a list item's selected, a checkbox or radio box's hover from its holder, a container's state named on its inner part. Verified: theme-part-states-marked.test.mjs and theme-under-input.test.mjs fail on the base code.
  • show draws sample inputs as the theme's text input, a flyout once beside its menu, a press at its moment, a highlighted palette and the drawer in its cell. Verified: theme-pictures-open-layers-samples.test.mjs fails on the base code; the pictures show the flyout and drawer.
  • Pictures show their whole page, no MobileNav cell on any page, an overlay under its opener and sub-pixel cut text whole. Verified: theme-pictures-whole-page.test.mjs fails on the base code; the base navigation sheet has the empty MobileNav picture.
  • Rows said of a part are its own rows, and a part word before an unknown noun is a compound subject. Verified: theme-rows-and-product-words.test.mjs fails on the base code.
  • A state's fill is measured against its own variant's text, and a part without text gets no text problem. Verified: both tests fail on the base code.
  • A placeholder as faint as the base drew it is no new problem. Unverified: its test passes on the base code too.
  • A one-mode theme's text color on an image fill is written for both modes. Verified: two of its three tests fail on the base code.
  • A tall family picture is cut between rows into pictures of about 1,600px. Verified against cutTall and its caller in _context.mjs.
  • The overlays picture shows about five to a row and a panel cropped to its top. Verified against the overlays sheet styles in _catalog.mjs.
  • Editor-only, with no Core, record or official-theme change. Partly false: it also drops editor show's base-step declaration (blocking).
  • _how-question.mjs changes by +328/-56. Verified.
  • It adds mood or feel phrase matches. Unverified: no added hunk reads a mood or feel ask (non-blocking).
  • Each commit was gated in an integration branch with the full suite, typechecks and an answer key. Unverified: that branch cannot be read here.
  • CI has not run on this head, since a stacked part gets CI only once it targets main. Verified: CI runs only for pull requests into main and release branches, and none ran.
  • Any failure found only at this head is fixed here. False while bases.test.mjs fails; restoring the base step makes it true.
  • A look gate on a sample site found no new blocking finding. Unverified.

Files:

  • packages/cli/clients/cli/commands/experimental-theme-editor-show.doc.mjs: drops the themes.compile base step (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: a paired text color loses its fill's mode; the tint pass rewrites the wrong fills (both blocking).
  • .changeset/theme-round15-part-02.md: the one-mode --mode sentence describes base behavior (blocking).
  • packages/cli/api/theme-edit/_check.mjs: the under-input refusal's holder list is now always empty (non-blocking).
  • .changeset/experimental-theme-pictures-agents-open-overlays.md, .changeset/experimental-theme-sheet-cells-b.md: clear.
  • packages/cli/api/theme-edit/_catalog.mjs, _context.mjs, _edit.mjs, _parts.mjs, _preview.mjs, _settings.mjs: clear.
  • packages/cli/foundation/render/layers.mjs, page-worker.mjs, picture-chrome.mjs, picture-playwright.mjs, picture-window.mjs: clear.
  • theme-fix-lines-keep-role.test.mjs, theme-state-fill-text-scope.test.mjs: pass here; three of their cases also pass on the base code (non-blocking).
  • theme-bar-border.test.mjs, theme-edit-only-escape-and-light-only-mode.test.mjs, theme-edit.test.mjs, theme-how-clause-scope.test.mjs, theme-how-draws-modes-clearly-light.test.mjs, theme-how-list-items.test.mjs, theme-how-plain-words.test.mjs, theme-how-variant-looks.test.mjs, theme-open-state-drawn.test.mjs, theme-options-written-loosely-words.test.mjs, theme-part-states-marked.test.mjs, theme-pictures-fit-cut-text.test.mjs, theme-pictures-open-layers-samples.test.mjs, theme-pictures-whole-page.test.mjs, theme-refusal-runs-label-swapped.test.mjs, theme-rows-and-product-words.test.mjs, theme-under-input.test.mjs, theme-whole-fill-text.test.mjs (all under packages/cli/api/theme-edit/), packages/cli/foundation/render/layers.test.mjs: clear; they pass here.

Automated review (maintainer link)

Comment thread .changeset/theme-round15-part-02.md Resolved

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested. The branch was rebased onto the updated base with no change to its own patch, so the same four fixes are still needed.

Blocking:

  • experimental-theme-editor-show.doc.mjs drops requires: ['themes.compile'], so in a project whose base is not Core the editor counts as served and astryx theme help and suggestions point at editor new, which that base refuses; clients/cli/bases.test.mjs fails 5 tests here and passes on the base, so restore the line.
  • _how-question.mjs:25279 copies a text color to each variant a fill reaches without that fill's mode, so "buttons with a navy background in dark mode and white text" also writes white text on the secondary and ghost buttons in light mode; carry each fill's mode.
  • The tint pass (_how-question.mjs:25355-25374) turns every solid fill in a "tinted" clause into a 15% mix, so "cards tinted blue with a navy header" tints the header while the answer's own lines for the colored card variants stay solid; tint only the color the word modifies, on every line that writes it.
  • .changeset/theme-round15-part-02.md:18 and the description list "a light-only theme reads --mode light as no --mode" as new, but the base branch already does this and both new tests for it pass against the base code; drop the sentence.

Approval also waits on the direction: no current record settles this round's new how readings, set behavior, reports and pictures, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on the pull request, and the author may do so as an engineering owner. Three new tests also pass against the base code (the faint-link fix, the one-note-per-cause fill and the placeholder key); a case the base gets wrong would let them prove their change.

Claims and files checked

Review mode: carry-forward; reason: none

Claims (release notes and description):

  • A border asked of a part that draws none goes to its inner pieces only where they draw borders. Verified: theme-bar-border.test.mjs fails on the base code and passes here.
  • A role text color too faint is fixed in its own hue. Unverified: its test passes on the base code too.
  • A light-only border reports nothing about dark. Verified: its test fails on the base code.
  • One fill on a group is noted once per kind of cover. Unverified: its test passes on the base code too.
  • A color with a pill shape keeps the selected item's state. Verified: theme-how-plain-words.test.mjs fails on the base code.
  • A text color for every variant goes only where and when it reads. Partly false: verified for white button text, but a fill given for one mode drops its mode (blocking).
  • A tinted color fills at low strength. Partly false: verified for a selected nav item, but it tints fills the word does not modify and leaves follow-up lines solid (blocking).
  • A rule with its own verb after a part clause is theme-wide. Verified: theme-how-list-items.test.mjs fails on the base code.
  • --only on a part styled on its own is taken and said; a group still refuses it. Verified for the first; the group refusal already held on the base.
  • A menu radio keeps its circle, and a round ask offers the undo. Verified: both tests fail on the base code; the offered undo runs.
  • A light-only theme reads its own --mode as none. False: the base already does this, and both tests pass on the base code (blocking).
  • A part Core marks open is drawn open, so --state expanded reaches a submenu row and a top nav menu. Verified: theme-open-state-drawn.test.mjs and the new layers.test.mjs case fail on the base code.
  • States Core marks on a part are settable: a list item's selected, a checkbox or radio box's hover from its holder, a container's state named on its inner part. Verified: theme-part-states-marked.test.mjs and theme-under-input.test.mjs fail on the base code.
  • show draws sample inputs as the theme's text input, a flyout once beside its menu, a press at its moment, a highlighted palette and the drawer in its cell. Verified: theme-pictures-open-layers-samples.test.mjs fails on the base code; the pictures show the flyout and drawer.
  • Pictures show their whole page, no MobileNav cell on any page, an overlay under its opener and sub-pixel cut text whole. Verified: theme-pictures-whole-page.test.mjs fails on the base code; the base navigation sheet has the empty MobileNav picture.
  • Rows said of a part are its own rows, and a part word before an unknown noun is a compound subject. Verified: theme-rows-and-product-words.test.mjs fails on the base code.
  • A state's fill is measured against its own variant's text, and a part without text gets no text problem. Verified: both tests fail on the base code.
  • A placeholder as faint as the base drew it is no new problem. Unverified: its test passes on the base code too.
  • A one-mode theme's text color on an image fill is written for both modes. Verified: two of its three tests fail on the base code.
  • A tall family picture is cut between rows into pictures of about 1,600px. Verified against cutTall and its caller in _context.mjs.
  • The overlays picture shows about five to a row and a panel cropped to its top. Verified against the overlays sheet styles in _catalog.mjs.
  • Editor-only, with no Core, record or official-theme change. Partly false: it also drops editor show's base-step declaration (blocking).
  • _how-question.mjs changes by +328/-56. Verified.
  • It adds mood or feel phrase matches. Unverified: no added hunk reads a mood or feel ask (non-blocking).
  • Each commit was gated in an integration branch with the full suite, typechecks and an answer key. Unverified: that branch cannot be read here.
  • CI has not run on this head, since a stacked part gets CI only once it targets main. Verified: CI runs only for pull requests into main and release branches, and none ran.
  • Any failure found only at this head is fixed here. False while bases.test.mjs fails; restoring the base step makes it true.
  • A look gate on a sample site found no new blocking finding. Unverified.

Files:

  • packages/cli/clients/cli/commands/experimental-theme-editor-show.doc.mjs: drops the themes.compile base step (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: a paired text color loses its fill's mode; the tint pass rewrites the wrong fills (both blocking).
  • .changeset/theme-round15-part-02.md: the one-mode --mode sentence describes base behavior (blocking).
  • packages/cli/api/theme-edit/_check.mjs: the under-input refusal's holder list is now always empty (non-blocking).
  • .changeset/experimental-theme-pictures-agents-open-overlays.md, .changeset/experimental-theme-sheet-cells-b.md: clear.
  • packages/cli/api/theme-edit/_catalog.mjs, _context.mjs, _edit.mjs, _parts.mjs, _preview.mjs, _settings.mjs: clear.
  • packages/cli/foundation/render/layers.mjs, page-worker.mjs, picture-chrome.mjs, picture-playwright.mjs, picture-window.mjs: clear.
  • theme-fix-lines-keep-role.test.mjs, theme-state-fill-text-scope.test.mjs: pass here; three of their cases also pass on the base code (non-blocking).
  • theme-bar-border.test.mjs, theme-edit-only-escape-and-light-only-mode.test.mjs, theme-edit.test.mjs, theme-how-clause-scope.test.mjs, theme-how-draws-modes-clearly-light.test.mjs, theme-how-list-items.test.mjs, theme-how-plain-words.test.mjs, theme-how-variant-looks.test.mjs, theme-open-state-drawn.test.mjs, theme-options-written-loosely-words.test.mjs, theme-part-states-marked.test.mjs, theme-pictures-fit-cut-text.test.mjs, theme-pictures-open-layers-samples.test.mjs, theme-pictures-whole-page.test.mjs, theme-refusal-runs-label-swapped.test.mjs, theme-rows-and-product-words.test.mjs, theme-under-input.test.mjs, theme-whole-fill-text.test.mjs (all under packages/cli/api/theme-edit/), packages/cli/foundation/render/layers.test.mjs: clear; they pass here.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested. The branch was rebased onto the updated base with no change to its own patch, so the same four fixes are still needed.

Blocking:

  • experimental-theme-editor-show.doc.mjs drops requires: ['themes.compile'], so in a project whose base is not Core the editor counts as served and astryx theme help and suggestions point at editor new, which that base refuses; clients/cli/bases.test.mjs fails 5 tests here and passes on the base, so restore the line.
  • _how-question.mjs:25279 copies a text color to each variant a fill reaches without that fill's mode, so "buttons with a navy background in dark mode and white text" also writes white text on the secondary and ghost buttons in light mode; carry each fill's mode.
  • The tint pass (_how-question.mjs:25355-25374) turns every solid fill in a "tinted" clause into a 15% mix, so "cards tinted blue with a navy header" tints the header while the answer's own lines for the colored card variants stay solid; tint only the color the word modifies, on every line that writes it.
  • .changeset/theme-round15-part-02.md:18 and the description list "a light-only theme reads --mode light as no --mode" as new, but the base branch already does this and both new tests for it pass against the base code; drop the sentence.

Approval also waits on the direction: no current record settles this round's new how readings, set behavior, reports and pictures, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on the pull request, and the author may do so as an engineering owner. Three new tests also pass against the base code (the faint-link fix, the one-note-per-cause fill and the placeholder key); a case the base gets wrong would let them prove their change.

Claims and files checked

Review mode: carry-forward; reason: none

Claims (release notes and description):

  • A border asked of a part that draws none goes to its inner pieces only where they draw borders. Verified: theme-bar-border.test.mjs fails on the base code and passes here.
  • A role text color too faint is fixed in its own hue. Unverified: its test passes on the base code too.
  • A light-only border reports nothing about dark. Verified: its test fails on the base code.
  • One fill on a group is noted once per kind of cover. Unverified: its test passes on the base code too.
  • A color with a pill shape keeps the selected item's state. Verified: theme-how-plain-words.test.mjs fails on the base code.
  • A text color for every variant goes only where and when it reads. Partly false: verified for white button text, but a fill given for one mode drops its mode (blocking).
  • A tinted color fills at low strength. Partly false: verified for a selected nav item, but it tints fills the word does not modify and leaves follow-up lines solid (blocking).
  • A rule with its own verb after a part clause is theme-wide. Verified: theme-how-list-items.test.mjs fails on the base code.
  • --only on a part styled on its own is taken and said; a group still refuses it. Verified for the first; the group refusal already held on the base.
  • A menu radio keeps its circle, and a round ask offers the undo. Verified: both tests fail on the base code; the offered undo runs.
  • A light-only theme reads its own --mode as none. False: the base already does this, and both tests pass on the base code (blocking).
  • A part Core marks open is drawn open, so --state expanded reaches a submenu row and a top nav menu. Verified: theme-open-state-drawn.test.mjs and the new layers.test.mjs case fail on the base code.
  • States Core marks on a part are settable: a list item's selected, a checkbox or radio box's hover from its holder, a container's state named on its inner part. Verified: theme-part-states-marked.test.mjs and theme-under-input.test.mjs fail on the base code.
  • show draws sample inputs as the theme's text input, a flyout once beside its menu, a press at its moment, a highlighted palette and the drawer in its cell. Verified: theme-pictures-open-layers-samples.test.mjs fails on the base code; the pictures show the flyout and drawer.
  • Pictures show their whole page, no MobileNav cell on any page, an overlay under its opener and sub-pixel cut text whole. Verified: theme-pictures-whole-page.test.mjs fails on the base code; the base navigation sheet has the empty MobileNav picture.
  • Rows said of a part are its own rows, and a part word before an unknown noun is a compound subject. Verified: theme-rows-and-product-words.test.mjs fails on the base code.
  • A state's fill is measured against its own variant's text, and a part without text gets no text problem. Verified: both tests fail on the base code.
  • A placeholder as faint as the base drew it is no new problem. Unverified: its test passes on the base code too.
  • A one-mode theme's text color on an image fill is written for both modes. Verified: two of its three tests fail on the base code.
  • A tall family picture is cut between rows into pictures of about 1,600px. Verified against cutTall and its caller in _context.mjs.
  • The overlays picture shows about five to a row and a panel cropped to its top. Verified against the overlays sheet styles in _catalog.mjs.
  • Editor-only, with no Core, record or official-theme change. Partly false: it also drops editor show's base-step declaration (blocking).
  • _how-question.mjs changes by +328/-56. Verified.
  • It adds mood or feel phrase matches. Unverified: no added hunk reads a mood or feel ask (non-blocking).
  • Each commit was gated in an integration branch with the full suite, typechecks and an answer key. Unverified: that branch cannot be read here.
  • CI has not run on this head, since a stacked part gets CI only once it targets main. Verified: CI runs only for pull requests into main and release branches, and none ran.
  • Any failure found only at this head is fixed here. False while bases.test.mjs fails; restoring the base step makes it true.
  • A look gate on a sample site found no new blocking finding. Unverified.

Files:

  • packages/cli/clients/cli/commands/experimental-theme-editor-show.doc.mjs: drops the themes.compile base step (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: a paired text color loses its fill's mode; the tint pass rewrites the wrong fills (both blocking).
  • .changeset/theme-round15-part-02.md: the one-mode --mode sentence describes base behavior (blocking).
  • packages/cli/api/theme-edit/_check.mjs: the under-input refusal's holder list is now always empty (non-blocking).
  • .changeset/experimental-theme-pictures-agents-open-overlays.md, .changeset/experimental-theme-sheet-cells-b.md: clear.
  • packages/cli/api/theme-edit/_catalog.mjs, _context.mjs, _edit.mjs, _parts.mjs, _preview.mjs, _settings.mjs: clear.
  • packages/cli/foundation/render/layers.mjs, page-worker.mjs, picture-chrome.mjs, picture-playwright.mjs, picture-window.mjs: clear.
  • theme-fix-lines-keep-role.test.mjs, theme-state-fill-text-scope.test.mjs: pass here; three of their cases also pass on the base code (non-blocking).
  • theme-bar-border.test.mjs, theme-edit-only-escape-and-light-only-mode.test.mjs, theme-edit.test.mjs, theme-how-clause-scope.test.mjs, theme-how-draws-modes-clearly-light.test.mjs, theme-how-list-items.test.mjs, theme-how-plain-words.test.mjs, theme-how-variant-looks.test.mjs, theme-open-state-drawn.test.mjs, theme-options-written-loosely-words.test.mjs, theme-part-states-marked.test.mjs, theme-pictures-fit-cut-text.test.mjs, theme-pictures-open-layers-samples.test.mjs, theme-pictures-whole-page.test.mjs, theme-refusal-runs-label-swapped.test.mjs, theme-rows-and-product-words.test.mjs, theme-under-input.test.mjs, theme-whole-fill-text.test.mjs (all under packages/cli/api/theme-edit/), packages/cli/foundation/render/layers.test.mjs: clear; they pass here.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 4846c24

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested. An engineering owner approved the direction of this round at this head, and the four fixes asked for last time are in; two more are needed.

Blocking:

  • A tinted fill with a text color writes that text where it cannot be read: how "buttons tinted blue with white text" gives white text on primary, secondary and ghost in both modes on a 15% blue tint (1.38:1 on the light page), because the text pairing at _how-question.mjs:25493-25514 never measures and the tint pass runs after it; tint first and measure the paired text on the tint, writing it only in the modes where it reads.
  • The description's bullet "… and a light-only theme reads its own --mode as none" claims a fix the base already has (_check.mjs:4766 reads a one-mode theme's own --mode as none, and both one-mode tests pass on the base code), so drop that clause or say the tests now cover it.

Three tests for claimed fixes (the faint link, the one-note-per-cause fill and the loading placeholder) also pass on the base code; a case the base gets wrong would let them prove their change. CI has not run on this head, since it runs only on pull requests into main.

Claims and files checked

Review mode: full; reason: rebase

Claims (release notes and description):

  • A border asked of a bar goes on the bar unless its pieces draw borders. Verified: its test fails on the base code and passes here.
  • A too-faint role text color is fixed in its own hue. Unverified: its test passes on the base code too.
  • A light-only border reports nothing about dark. Verified: its test fails on the base code.
  • One fill on a group is noted once per kind of cover. Unverified: its test passes on the base code too.
  • A color with a pill shape keeps the selected item's state. Verified: its test fails on the base code.
  • A text color for every variant goes only where and when it reads, measured on the fill the answer gives. Partly false: verified for plain fills and a fill given for dark mode, but a tint gets white text at 1.38:1 (blocking).
  • A tinted color fills at low strength, on the color the tint word modifies. Verified: the tint tests fail on the base code; the header in "cards tinted blue with a navy header" stays solid.
  • A rule with its own verb after a part clause applies to the whole theme. Verified: its test fails on the base code.
  • --only on a part styled on its own is taken and said; a group still refuses it. Verified for the first; the group refusal already held.
  • A menu radio keeps its circle, and a round ask offers the undo. Verified: both tests fail on the base code; the offered undo runs.
  • A part Core marks open is drawn open, so --state expanded reaches a submenu row and a top nav menu. Verified: its tests fail on the base code.
  • States Core marks on a part are settable, a checkbox or radio box's hover is shown from its holder, and a container's state names the inner part. Verified: those tests fail on the base code.
  • show draws sample inputs as the theme's text input, a flyout once beside its menu, a press at its moment, a highlighted palette and the drawer in its cell. Verified: those tests fail on the base code, and the pictures show the flyout and the palette.
  • Pictures show their whole page, no empty mobile navigation cell, an overlay under its opener and slightly cut text whole. Verified: those tests fail on the base code; the navigation family is 2 pictures instead of 4 and the toolbar menu sits under its opener.
  • Rows said of a part are its own rows, and a part word before an unknown noun starts a compound subject. Verified: those tests fail on the base code.
  • A state's fill is measured against its own variant's text. Verified: those tests fail on the base code.
  • A placeholder as faint as the base drew it is no new problem. Unverified: its test passes on the base code too.
  • A one-mode theme's text color on an image fill is written for both modes. Verified: two of its three tests fail on the base code.
  • The overlays picture shows about five to a row with a panel cropped to its top. Verified against the overlays sheet styles.
  • A tall family picture is cut between rows into pictures of about 1,600px. Verified against the picture cutter.
  • Editor-only, with no Core, record or official-theme change. Verified: every file is in the CLI or a release note, and editor show keeps its base step.
  • A light-only theme reads its own --mode as none (description bullet). False: the base already does this (blocking).
  • _how-question.mjs changes by +441/-58. Verified.
  • It adds mood or feel phrase matches. Unverified: no added hunk reads a mood or feel ask (non-blocking).
  • Each commit was gated in an integration branch with the full suite and an answer key. Unverified: that branch cannot be read here.
  • CI has not run on this head. Verified: no workflow ran.
  • Any failure found only at this head is fixed here. Verified for the pull request's tests and the base-gate tests, which all pass.
  • A look gate on a sample site found no new blocking finding. Unverified.

Files:

  • packages/cli/api/theme-edit/_how-question.mjs: a paired text color is never measured and is tinted under (blocking).
  • packages/cli/api/theme-edit/_check.mjs: the under-input refusal's holder list is always empty (non-blocking).
  • packages/cli/api/theme-edit/theme-fix-lines-keep-role.test.mjs, theme-state-fill-text-scope.test.mjs: three cases pass on the base code (non-blocking).
  • .changeset/theme-round15-part-02.md, .changeset/experimental-theme-pictures-agents-open-overlays.md, .changeset/experimental-theme-sheet-cells-b.md: clear.
  • packages/cli/api/theme-edit/_catalog.mjs, _context.mjs, _edit.mjs, _parts.mjs, _preview.mjs, _settings.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-show.doc.mjs: clear (keeps its base step).
  • packages/cli/foundation/render/layers.mjs, page-worker.mjs, picture-chrome.mjs, picture-playwright.mjs, picture-window.mjs: clear.
  • theme-bar-border.test.mjs, theme-edit-only-escape-and-light-only-mode.test.mjs, theme-edit.test.mjs, theme-how-clause-scope.test.mjs, theme-how-draws-modes-clearly-light.test.mjs, theme-how-list-items.test.mjs, theme-how-plain-words.test.mjs, theme-how-tint-and-mode-pairs.test.mjs, theme-how-variant-looks.test.mjs, theme-open-state-drawn.test.mjs, theme-options-written-loosely-words.test.mjs, theme-part-states-marked.test.mjs, theme-pictures-fit-cut-text.test.mjs, theme-pictures-open-layers-samples.test.mjs, theme-pictures-whole-page.test.mjs, theme-refusal-runs-label-swapped.test.mjs, theme-rows-and-product-words.test.mjs, theme-under-input.test.mjs, theme-whole-fill-text.test.mjs (all under packages/cli/api/theme-edit/), packages/cli/foundation/render/layers.test.mjs: clear; they pass here.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision, and three fixes are needed. The direction of this round of experimental theme editor changes was approved for the previous head; the branch has since been rebased and gained a commit that deepens a tint until the text asked with it reads, so an engineering owner needs to record the decision for this head by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner). The tint fix works for buttons and badges.

Blocking:

  • A tint still writes unreadable white text on cards and on a selected nav item: how "cards tinted blue with white text" writes white text tokens over a 15% blue tint (1.38:1 on the light page) and how "selected nav items tinted forest green with white text" writes white over a 15% green tint (set then reports 1.28:1), because the new pass at _how-question.mjs:25720-25726 measures only per-variant color lines.
  • The description bullet "… and a light-only theme reads its own --mode as none" claims a fix the base already has (_check.mjs:4766-4777 is unchanged and both one-mode tests pass on the base code), so drop that clause or say the tests now cover it.
  • The description's "_how-question.mjs line delta: +441/-58" is stale: the file changes by +567/-58 at this head.

Three tests for claimed fixes still pass on the base code, and the tint release note does not mention that a text color asked with the tint now deepens it.

Claims and files checked

Review mode: full; reason: rebase

Claims (release notes and description):

  • A border asked of a bar goes on the bar unless its pieces draw borders. Verified: its test fails on the base code and passes here.
  • A too-faint role text color is fixed in its own hue. Unverified: its test passes on the base code too.
  • A light-only border reports nothing about dark. Verified: its test fails on the base code.
  • One fill on a group is noted once per kind of cover. Unverified: its test passes on the base code too.
  • A color with a pill shape keeps the selected item's state. Verified: its test fails on the base code.
  • A text color for every variant goes only where and when it reads, measured on the fill the answer gives. Partly false: verified for button-style variants, but cards and a selected nav item get white over a tint unmeasured (blocking).
  • A tinted color fills at low strength over what is beneath. Verified for a tint alone; with a text color the tint now deepens, to 95% for white on blue, which the note does not say (non-blocking).
  • A rule with its own verb after a part clause applies to the whole theme. Verified: its test fails on the base code.
  • --only on a part styled on its own is taken and said; a group still refuses it. Verified for the first; the group refusal already held.
  • A menu radio keeps its circle, and a round ask offers the undo. Verified: both tests fail on the base code; the offered undo runs.
  • A part Core marks open is drawn open, so --state expanded reaches a submenu row and a top nav menu. Verified: its test fails on the base code.
  • States Core marks on a part are settable, a checkbox or radio box's hover is shown from its holder, and a container's state names the inner part. Verified: those tests fail on the base code.
  • show draws sample inputs as the theme's text input, a flyout once beside its menu, a press at its moment, a highlighted palette and the drawer in its cell. Verified: those tests fail on the base code, and the overlays picture shows the flyout once.
  • Pictures show their whole page, no empty navigation drawer cell, an overlay under its opener and slightly cut text whole. Verified: those tests fail on the base code; the navigation family is 2 pictures instead of 4 and the toolbar menu sits under its opener.
  • Rows said of a part are its own rows, and a part word before an unknown noun starts a compound subject. Verified: those tests fail on the base code.
  • A state's fill is measured against its own variant's text. Verified: those tests fail on the base code.
  • A placeholder as faint as the base drew it is no new problem. Unverified: its test passes on the base code too.
  • A one-mode theme's text color on an image fill is written for both modes. Verified: two of its three tests fail on the base code.
  • The overlays picture shows about five to a row with a panel cropped to its top. Verified against the overlays sheet styles.
  • A tall family picture is cut between rows into pictures of about 1,600px. Verified: the head's navigation pictures are 1,301 and 1,176px tall.
  • Editor-only, with no Core, record or official-theme change. Verified: every file is in the CLI or a release note.
  • A light-only theme reads its own --mode as none (description bullet). False: the base already does this (blocking).
  • _how-question.mjs changes by +441/-58. False: +567/-58 at this head (blocking).
  • It adds mood or feel phrase matches. Unverified: no added hunk matches a mood or feel phrase.
  • Each commit was gated in an integration branch with the full suite, typechecks and an answer key. Unverified: that branch cannot be read here.
  • CI has not run on this head. Verified: no CI workflow ran.
  • Any failure found only at this head is fixed here. Verified for the pull request's tests, which all pass.
  • A look gate on a sample site found no new blocking finding. Unverified.

Files:

  • packages/cli/api/theme-edit/_how-question.mjs: white text over a tint on cards and a selected nav item is not measured (blocking).
  • packages/cli/api/theme-edit/_check.mjs: the under-input refusal's holder list is always empty (non-blocking).
  • packages/cli/api/theme-edit/theme-fix-lines-keep-role.test.mjs, theme-state-fill-text-scope.test.mjs: three cases pass on the base code (non-blocking).
  • .changeset/theme-round15-part-02.md: the tint note leaves out the deepening (non-blocking).
  • .changeset/experimental-theme-pictures-agents-open-overlays.md, .changeset/experimental-theme-sheet-cells-b.md: clear.
  • packages/cli/api/theme-edit/_catalog.mjs, _context.mjs, _edit.mjs, _parts.mjs, _preview.mjs, _settings.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-show.doc.mjs: clear (keeps its base step).
  • packages/cli/foundation/render/layers.mjs, page-worker.mjs, picture-chrome.mjs, picture-playwright.mjs, picture-window.mjs: clear.
  • theme-bar-border.test.mjs, theme-edit-only-escape-and-light-only-mode.test.mjs, theme-edit.test.mjs, theme-how-clause-scope.test.mjs, theme-how-draws-modes-clearly-light.test.mjs, theme-how-list-items.test.mjs, theme-how-plain-words.test.mjs, theme-how-tint-and-mode-pairs.test.mjs, theme-how-variant-looks.test.mjs, theme-open-state-drawn.test.mjs, theme-options-written-loosely-words.test.mjs, theme-part-states-marked.test.mjs, theme-pictures-fit-cut-text.test.mjs, theme-pictures-open-layers-samples.test.mjs, theme-pictures-whole-page.test.mjs, theme-refusal-runs-label-swapped.test.mjs, theme-rows-and-product-words.test.mjs, theme-under-input.test.mjs, theme-whole-fill-text.test.mjs (all under packages/cli/api/theme-edit/), packages/cli/foundation/render/layers.test.mjs: clear; they pass here.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision, and one fix is needed. The direction of this round of experimental theme editor changes was approved only for an earlier head, before the commit that deepens a tint until the text asked with it reads; the branch has since been rebased with its own patch unchanged, so an engineering owner needs to record the decision for this head by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner). The two description claims flagged last time are fixed.

Blocking:

  • A tint still writes unreadable white text on cards and on a selected nav item: how "cards tinted blue with white text" writes white text tokens over a 15% blue tint (1.38:1 on the light page) and how "selected nav items tinted forest green with white text" writes white over a 15% green tint (set then reports 1.28:1), because the pass at _how-question.mjs:25720-25726 measures only per-variant color lines.

Three tests for claimed fixes still pass on the base code, and the tint release note does not mention that a text color asked with the tint now deepens it.

Claims and files checked

Review mode: carry-forward; reason: none

Claims (release notes and description):

  • A border asked of a bar goes on the bar unless its pieces draw borders. Verified: its test fails on the base code and passes on this patch.
  • A too-faint role text color is fixed in its own hue. Unverified: its test passes on the base code too.
  • A light-only border reports nothing about dark. Verified: its test fails on the base code.
  • One fill on a group is noted once per kind of cover. Unverified: its test passes on the base code too.
  • A color with a pill shape keeps the selected item's state. Verified: its test fails on the base code.
  • A text color for every variant goes only where and when it reads, measured on the fill the answer gives. Partly false: verified for button-style variants, but cards and a selected nav item get white over a tint unmeasured (blocking).
  • A tinted color fills at low strength over what is beneath. Verified for a tint alone; with a text color the tint now deepens, to 95% for white on blue, which the note does not say (non-blocking).
  • A rule with its own verb after a part clause applies to the whole theme. Verified: its test fails on the base code.
  • --only on a part styled on its own is taken and said; a group still refuses it. Verified for the first; the group refusal already held.
  • A menu radio keeps its circle, and a round ask offers the undo. Verified: both tests fail on the base code; the offered undo runs.
  • A part Core marks open is drawn open, so --state expanded reaches a submenu row and a top nav menu. Verified: its test fails on the base code.
  • States Core marks on a part are settable, a checkbox or radio box's hover is shown from its holder, and a container's state names the inner part. Verified: those tests fail on the base code.
  • show draws sample inputs as the theme's text input, a flyout once beside its menu, a press at its moment, a highlighted palette and the drawer in its cell. Verified: those tests fail on the base code, and the overlays picture shows the flyout once.
  • Pictures show their whole page, no empty navigation drawer cell, an overlay under its opener and slightly cut text whole. Verified: those tests fail on the base code; the navigation family is 2 pictures instead of 4 and the toolbar menu sits under its opener.
  • Rows said of a part are its own rows, and a part word before an unknown noun starts a compound subject. Verified: those tests fail on the base code.
  • A state's fill is measured against its own variant's text. Verified: those tests fail on the base code.
  • A placeholder as faint as the base drew it is no new problem. Unverified: its test passes on the base code too.
  • A one-mode theme's text color on an image fill is written for both modes. Verified: two of its three tests fail on the base code.
  • The overlays picture shows about five to a row with a panel cropped to its top. Verified against the overlays sheet styles.
  • A tall family picture is cut between rows into pictures of about 1,600px. Verified: the head's navigation pictures are 1,301 and 1,176px tall.
  • Editor-only, with no Core, record or official-theme change. Verified: every file is in the CLI or a release note.
  • The phrase-rule file changes by +567/-58. Verified: that is its line count change at this head.
  • It adds mood or feel phrase matches. Unverified: no added hunk matches a mood or feel phrase.
  • Each commit was gated in an integration branch with the full suite, typechecks and an answer key. Unverified: that branch cannot be read here.
  • CI has not run on this head. Verified: no CI workflow ran.
  • Any failure found only at this head is fixed here. Verified for the pull request's tests, which pass on this patch.
  • A look gate on a sample site found no new blocking finding. Unverified.

Files:

  • packages/cli/api/theme-edit/_how-question.mjs: white text over a tint on cards and a selected nav item is not measured (blocking).
  • packages/cli/api/theme-edit/_check.mjs: the under-input refusal's holder list is always empty (non-blocking).
  • packages/cli/api/theme-edit/theme-fix-lines-keep-role.test.mjs, theme-state-fill-text-scope.test.mjs: three cases pass on the base code (non-blocking).
  • .changeset/theme-round15-part-02.md: the tint note leaves out the deepening (non-blocking).
  • .changeset/experimental-theme-pictures-agents-open-overlays.md, .changeset/experimental-theme-sheet-cells-b.md: clear.
  • packages/cli/api/theme-edit/_catalog.mjs, _context.mjs, _edit.mjs, _parts.mjs, _preview.mjs, _settings.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-show.doc.mjs: clear (keeps its base step).
  • packages/cli/foundation/render/layers.mjs, page-worker.mjs, picture-chrome.mjs, picture-playwright.mjs, picture-window.mjs: clear.
  • theme-bar-border.test.mjs, theme-edit-only-escape-and-light-only-mode.test.mjs, theme-edit.test.mjs, theme-how-clause-scope.test.mjs, theme-how-draws-modes-clearly-light.test.mjs, theme-how-list-items.test.mjs, theme-how-plain-words.test.mjs, theme-how-tint-and-mode-pairs.test.mjs, theme-how-variant-looks.test.mjs, theme-open-state-drawn.test.mjs, theme-options-written-loosely-words.test.mjs, theme-part-states-marked.test.mjs, theme-pictures-fit-cut-text.test.mjs, theme-pictures-open-layers-samples.test.mjs, theme-pictures-whole-page.test.mjs, theme-refusal-runs-label-swapped.test.mjs, theme-rows-and-product-words.test.mjs, theme-under-input.test.mjs, theme-whole-fill-text.test.mjs (all under packages/cli/api/theme-edit/), packages/cli/foundation/render/layers.test.mjs: clear; they pass on this patch.

Automated review (maintainer link)

… keeps its circle apart, and a light-only theme reads its own --mode as none
… light-only border reports nothing about dark, one fill on a group says each kind of cover once, a state fill is measured against the text that state draws in its own variant, and the placeholder as faint as the base drew it is no new problem
… theme's input; a flyout drawn once beside its menu; a pressed control at the moment of its press; a highlighted command palette; a drawer's panel held in its cell
… whole; no closed drawer cell on any page; an overlay drawn after its part sits under its opener; sub-pixel cut text gets room
…ces draw the borders

- borderParts hands a part's border to the pieces inside it only where those pieces draw a border of their own (a border style or width that is not none or zero), as a date and time field's two boxes do. A top nav's items and a sidebar's links are rounded but draw no border, so the bar keeps it.
- The ask reader moves a border to inner pieces through borderParts too (corners still through cornerParts), so "top nav with a 1px bottom border" writes border-bottom on top-nav and "sidebar with a 1px right border" border-right on side-nav, never one under or beside each item.
- New theme-bar-border.
…word that names what a product is about names no part

- Rows said of a part that holds no table rows are that part's own rows: the parts inside it that ride an Item, the element Core draws every list and menu row with (found from the census, where the row carries Item's own attributes). "menus with 32px rows" sizes the menu items, never every table row; rows alone, or a table's, stay the table's.
- A part word followed by at most two words that name no part and then a product noun (site, app, view, page, screen, portal, dashboard, platform, store, shop, layout) names what the product is about, never that part: "podcast and radio station site: …" reads no radios, and the rest of the ask is the whole theme's.
- New theme-rows-and-product-words.
…re it reads, in each mode, on the variant's own fill or the fill asked with it; a tint is the color at a low strength; a rule with its own verb after a part's clause is the theme's
…ows as nothing begins a compound subject

- Replaces the list of product nouns: a part word right before a word the editor knows as no property, state, part, value or joining word, with no asking word after it before the clause's next stop, is one half of a compound subject ("radio station", "button factory", "card game"), never that part. The clause keeps the compound, which the unknown-subject guard names, writing nothing for it.
- One knownWord reader holds what the editor knows as a word; the unknown-slot guard and the clause reader both use it. A word an asking word follows ("links turn red", "the card zorp border") stays the ask's verb or a word between, as before.
- "radio buttons bold", "button text" and "card border" read as before; a table test covers them with the compounds.
Its assertions read the drawn open states page (a submenu's flyout drawn beside its menu), which the render stand-in does not draw.
…its fill's mode; a tint tints only the color it modifies
… deepens along its hue until the text reaches 4.5:1, else the text keeps to the modes it reads in
…e tint fills, scoped to the variants the fill reaches; a sharper ask on a menu radio offers no rounding line; a part with one unknown word keeps the part
… cell (pagination-item, selected) on main's Core; Button's current state no longer appears in Pagination

Main's Core (Pagination theme targets) gives the pager's cells their own target, pagination-item, whose current page reflects selected. The expectation follows: the answer is right on main's Core. Expectation only, no reader change.
… switch takes focus-within from its field

- The census never records a disabled rule under an element drawn open
  (aria-expanded="true"): what opens is enabled, so Core's own pairs decide
  what several states at once paint, and a button is never painted
  disabled and expanded at once (theme-states-core-paints-aria). Its
  disabled rules are recorded where Core draws it closed.
- theme-list-end-corners-scale: a switch's track takes focus-within from
  its field, which holds the input (main's Core: the field matches
  :focus-within while its input has focus), as this part made a radio's
  box do; the refusal for a part nothing inside of takes focus is checked
  on a progress bar.
…states to itself (moved down from P09); the selected-page example names the item it points to
…r part's element keeps its states to itself (moved down from P09); the selected-page example names the item it points to
…r part's element keeps its states to itself (moved down from P09); the selected-page example names the item it points to
…r part's element keeps its states to itself (moved down from P09); the selected-page example names the item it points to
…hat radius, no unreachable editor branch, and each Core note says what its part adds
…ames no part

"white text on thumbs", "on triggers", "on overflows" wrote the text
color for the whole theme. Any piece of a hyphenated part name
(slider-thumb, collapsible-trigger, avatar-group-overflow), and any CSS
property's name (overflow), counted as a word how knows, so the
unknown-subject guard let the clause read as the theme's. A piece is known
only right before a part word, as a modifier ("the close button"), and a
property's name only after a part ("cards transform"), never as the part a
change is put on; alone, each is said as no part and nothing is written.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision, and three fixes are needed. No current spec decides what the experimental theme editor reads, writes or pictures, and the earlier /approve-spec named a previous head. An engineering owner needs to provide or identify the governing spec, or record the decision for this head by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking:

  • The pull request still targets theme-r15-p01, but part 1 has landed on main (#12497) and this head sits on main, so the diff shows 222 files (179 of them from 25 commits already on main), the description's base line and "no Core change, no spec record" no longer hold, and it neither merges cleanly into that branch nor lands anything on main: retarget it onto main, where the diff is this part's 43 files, and update the description.
  • Regression: this part adds the sheet pictures' cut-text sizing whole (packages/cli/foundation/render/picture-window.mjs:107-144), and because it caps a widened item at the sheet's width rather than its cell's (:127-136), the sheet's fixed, clipping cells cut the Popover form panel and the DateInput, DateRangeInput and DateTimeInput fields and calendars in sheet-overlays.png; drop the sizing, its two calls, its test and the release note's sub-pixel sentence from this part as part 1 intends, or cap the growth at the item's cell and describe it in the release note.
  • Miss: packages/cli/api/theme-edit/_how-question.mjs:23530 makes the part-slot guard (:23702) treat any unknown word ending in -er, -ing or -ed as known, so how "make the trigger rounder" writes corners more for the whole theme and how "remove the shadow from the trigger" removes every shadow, where main answers no part is called "trigger"; keep that suffix rule and the other compound-subject word lists out of the part-slot test and add singular and suffixed cases to theme-how-slot-guards.test.mjs.

Also worth a look (non-blocking): the earlier points still apply, namely the mode-free note key at _how-question.mjs:26125, the stale comment above knownWord at :23452-23458, the empty holder list at _check.mjs:5239-5243, the stale comment at theme-part-states-marked.test.mjs:116, and three test cases that pass on main too.

Claims and files checked

Review mode: carry-forward; reason: none

Claims (description and release notes):

  • The change is editor-only, with no spec record, official-theme or Core change. True for this part's own commits; false against its current base, whose diff carries Core, spec-record and other changes already on main (blocking).
  • It is part 2 of a stack based on part 1's branch, merged in order. False at this head: part 1 has landed on main and this head sits on main, not on that branch, and does not merge cleanly into it (blocking).
  • The phrase-rule file changes by +668/−58 and adds the listed phrase rules and no mood or feel words. Verified; the newest part-name rule is not listed, which leaves the claim narrower than the change.
  • Each commit was gated in an integration branch with an answer key. Unverified: that branch is not in this repository.
  • CI has not run on this head. Verified: no workflow ran.
  • Each head is checked offline before a push (lint, build, typecheck, tests). Verified for lint of the changed source files, the Core build, the release-note and CLI-structure checks and the focused tests; the strict CLI typecheck stops only on two imports of an unbuilt theme in untouched templates.
  • A look gate on a sample site found no new blocking finding. Unverified.
  • A part word before a noun the editor does not know starts a compound subject. Verified.
  • A text colour for every variant goes to each variant only in the modes it reads in; a tint is the colour at low strength, deepened until asked text reads, else a readable ink is named; a rule with its own verb after a part's clause applies to the whole theme. Verified.
  • A one-mode theme's text colour on an image fill is written for both modes. Verified.
  • Rows said of a part are its own rows, and a part word that names what a product is about names no part. Verified.
  • A border asked of a bar goes on the bar unless its pieces draw borders. Verified.
  • Pictures show their whole page, the drawer has no empty cell, and an overlay sits under its opener. Verified: the clip takes the page's width, the navigation sheet has no drawer cell, and the toolbar's menu moves under its trigger.
  • A step name cut by less than a pixel is shown whole too. Misleading: the part adds all of the cut-text sizing, which main does not have, and that sizing cuts controls on the sheet's cells (blocking).
  • Sample text fields are drawn as the theme's input, a flyout once beside its menu, a press at its moment, a highlighted palette and the drawer in its cell. Verified: the overlays picture and those tests.
  • A colour with a pill shape keeps the selected item's state. Verified.
  • A faint link keeps its own hue in its fix line. Unproven: the test's case passes on main too.
  • A light-only border reports nothing about dark. Verified: its test fails on main and passes on the head.
  • One fill on a group is noted once per kind of cover. Verified in the code; the test's bound passes on main too.
  • A state fill is measured against its own variant's text. Verified. A page change that leaves the placeholder as faint as the base drew it reports nothing new: the code change is there; its test passes on main too.
  • --only on a part styled on its own is taken and noted, a group still refuses it, and a menu radio keeps its circle. Verified.
  • A part Core marks open is drawn open and takes --state expanded. Verified.
  • A list item takes --state selected, and a checkbox's or radio's box takes hover from the part holding its input. Verified.
  • The overlays picture shows about five to a row with a panel cropped to its top, and a tall family picture is cut between rows into pictures of about 1600px. Verified against the sheet styles and the head's navigation pictures.

Files:

  • packages/cli/foundation/render/picture-window.mjs: the cut-text sizing widens items past their cells (blocking).
  • packages/cli/foundation/render/picture-chrome.mjs and picture-playwright.mjs: run that sizing before each picture (see the blocking finding).
  • packages/cli/api/theme-edit/theme-pictures-fit-cut-text.test.mjs and theme-pictures-whole-page.test.mjs: pin that sizing with stub geometry only (see the blocking finding).
  • packages/cli/api/theme-edit/_how-question.mjs: an unknown part word ending in -er, -ing or -ed is answered for the whole theme (blocking); the ink note names one mode, and an old comment block is left above knownWord (non-blocking).
  • packages/cli/api/theme-edit/theme-how-slot-guards.test.mjs: covers plural cases only (see the blocking finding).
  • packages/cli/api/theme-edit/_check.mjs: the under-input holder list is always empty (non-blocking).
  • packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: one stale comment (non-blocking).
  • packages/cli/api/theme-edit/theme-fix-lines-keep-role.test.mjs and theme-state-fill-text-scope.test.mjs: three cases pass on main too (non-blocking).
  • .changeset/theme-round15-part-02.md: the sub-pixel sentence misdescribes the cut-text sizing (see the blocking finding); the rest is clear.
  • _color.mjs, _catalog.mjs, _context.mjs, _edit.mjs, _parts.mjs, _preview.mjs, _settings.mjs: clear.
  • packages/cli/foundation/render/layers.mjs, layers.test.mjs, page-worker.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-show.doc.mjs: clear.
  • The other two release notes under .changeset/ that this part edits: clear.
  • The other 17 changed test files under packages/cli/api/theme-edit/ and theme-pictures-open-layers-samples.test.mjs: clear; each fails on main and passes on the head.
  • The 179 files from 25 commits already on main (Core, Lab, Charts, other CLI commands, stories, knowledge records, release notes and test timings): identical to main, and they leave the diff once it targets main (blocking finding above); not reviewed again here.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed via the round-15 combined PR #13054/#13049/#13048.

This branch was successfully deployed

1 active deployment
Preview — fac75de8 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants