Skip to content

experimental theme how: a top nav's links are its items - #12513

Closed
josephfarina wants to merge 21 commits into
theme-r15-p16from
theme-r15-p17
Closed

josephfarina wants to merge 21 commits into
theme-r15-p16from
theme-r15-p17

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary: experimental theme how: a top nav's links are its items. Editor-only (experimental theme editor in packages/cli); no Core, spec record or official-theme change.

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

What changes

  • experimental theme how: a top nav's links are its items; a part's own piece taken away is not drawn; a display heading sizes from its token; a look named after a product is asked for, never guessed; one variant made to look like another takes its look

Phrase rules

  • _how-question.mjs line delta: +522/-33.
  • Adds no mood/feel phrase matches.

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 yet: a stacked part gets CI only once it targets main. Each head is also checked locally before that (typechecks, structure, its own test files, the held-out key), and any failure found only at this head is fixed in this PR.
  • 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.

Pre-existing (main does the same; follow-up): "…isn't useful so hide it" still hides nothing (the statement gate keeps it as "not sure"); round 15 no longer reads the earlier negation as ruling the hide out.

Moved out to a follow-up (both readings back to main's here): a pronoun after a named look ("…is ugly, hide it") and a nav bar said beside a side nav: #13044

@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, 1:13 PM 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.

Approval waits on an engineering owner's decision, because no current record says how experimental theme editor how should read these asks, so an engineering owner needs to approve or amend the six readings this pull request adds: top nav items and the longest part phrase, a piece said before its part, display none for a part's own piece, display-1 headings, product-named looks, and one variant copying another's resting look. An engineering owner records the decision by commenting /approve-spec 9ce43cf998f660da965d9632d0dce2f42759de6d on this pull request, and the author may do so as an engineering owner. These need fixing either way:

  • "don't hide the code block copy button", "don't remove the code block copy button" and "never hide the tab underline" now return display none on that element, the opposite of the ask, because the new branch at _how-question.mjs:17905 fires on any "hide" and on negations such as "don't" and "never".
  • "make the cards look like before" now also gets the answer that how does not know what "before" looks like, because the new look like X trigger at _how-question.mjs:29668 takes "before" as a product name, and the guard test at theme-how-reads-pieces-and-whole-looks.test.mjs:123 only checks for variant:.
  • The test plan says this part's CI runs on this exact head, but the CI, lint and CLI smoke workflows run only for pull requests into main (CI also into release branches), so no check has run on this head.

Non-blocking: the changeset lists three readings, and adding the hidden-piece and display-heading readings would complete the release note.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Changeset: a top nav's links or items are its items, and a longer part phrase wins: verified (_part-words.mjs:67-72, _how-question.mjs:3510-3529; the new test fails on the base and passes here).
  • Changeset: a look named after a product is never guessed, and the answer asks for its colors, font, corners and spacing, or a picture whose colors how reads: verified (_how-question.mjs:29779; how reads PNG colors, as its command doc says).
  • Changeset: one variant made to look like another takes that variant's look on the asked variant only, no longer as a reset, and "the default" is the variant given when none is: verified (_how-question.mjs:18144-18243; new test).
  • Description: editor-only, with no Core, spec record or official theme change: verified (file list).
  • Description: based on the previous part of the stack: verified (base branch).
  • Description: the five readings under "What changes": verified (new tests, and each ask run on the base and on this head).
  • Description: _how-question.mjs changes by +213/-4 lines: verified.
  • Description: no mood or feel phrase matches are added: verified (the feel words are untouched).
  • Description: every commit was gated on the round's integration branch, answer key included: not verifiable here; on this head, all 59 theme-how test files and the CLI structure, changeset and README checks pass.
  • Description: this part's own CI runs on this exact head: false (see above).
  • Description: the look gate built from the top of the stack: not verifiable here.
  • .changeset/experimental-theme-how-pieces-whole-looks.md: non-blocking note (two readings missing).
  • packages/cli/api/theme-edit/_how-question.mjs: two findings (negated hide asks, "look like before").
  • packages/cli/api/theme-edit/_part-words.mjs: clear (in the owner decision).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: the "look like before" guard misses the named-look answer; no negated hide asks.
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear (the empty-answer case moves to an ask with no reading).
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

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: no current record says how experimental theme editor how should read these asks, so an engineering owner needs to approve or amend the six readings this pull request adds (top nav items and the longest part phrase, a piece said before its part, display none for a part's own piece, display-1 headings, product-named looks, and one variant copying another's resting look). An engineering owner records the decision by commenting /approve-spec 2da36d54c94bac315fb5b90e92bb1548c115151b on this pull request, and the author may do so as an engineering owner. These need fixing either way:

  • "don't hide the code block copy button", "don't remove the code block copy button" and "never hide the tab underline" now return display none on that element, the opposite of the ask, because the new branch at _how-question.mjs:17905 fires on any "hide" and on negations such as "don't" and "never".
  • "make the cards look like before" now also gets the answer that how does not know what "before" looks like, because the new look like X trigger at _how-question.mjs:29668 takes "before" as a product name, and the guard test at theme-how-reads-pieces-and-whole-looks.test.mjs:123 only checks for variant:.

Non-blocking: the changeset lists three readings, and adding the hidden-piece and display-heading readings would complete the release note.

Claims and files checked

Review mode: carry-forward; reason: none

  • Changeset: a top nav's links or items are its items, and a longer part phrase wins: verified (_part-words.mjs:67-72, _how-question.mjs:3510-3529; the new test fails on the base and passes with this patch).
  • Changeset: a look named after a product is never guessed, and the answer asks for its colors, font, corners and spacing, or a picture whose colors how reads: verified (_how-question.mjs:29779; how reads PNG colors, as its command doc says).
  • Changeset: one variant made to look like another takes that variant's look on the asked variant only, no longer as a reset, and "the default" is the variant given when none is: verified (_how-question.mjs:18136-18243; new test).
  • Description: editor-only, with no Core, spec record or official theme change: verified (file list).
  • Description: based on the previous part of the stack: verified (base branch).
  • Description: the five readings under "What changes": verified (new tests, and each ask run on the base and with this patch).
  • Description: _how-question.mjs changes by +213/-4 lines: verified.
  • Description: no mood or feel phrase matches are added: verified (the feel words are untouched).
  • Description: every commit was gated on the round's integration branch, answer key included: not verifiable here; with this patch, all 59 theme-how test files and the CLI structure, changeset and README checks pass.
  • Description: CI has not run on this head, and a stacked part gets CI once it targets main: verified (no workflow has run on this head; the CI, lint and CLI smoke workflows run only for pull requests into main, CI also into release branches).
  • Description: each head is checked locally, and a failure found only at this head is fixed here: not verifiable here.
  • Description: the look gate built from the top of the stack: not verifiable here.
  • .changeset/experimental-theme-how-pieces-whole-looks.md: non-blocking note (two readings missing).
  • packages/cli/api/theme-edit/_how-question.mjs: two findings (negated hide asks, "look like before").
  • packages/cli/api/theme-edit/_part-words.mjs: clear (in the owner decision).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: the "look like before" guard misses the named-look answer; no negated hide asks.
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear (the empty-answer case moves to an ask with no reading).
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

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: no current record says how experimental theme editor how should read these asks, so an engineering owner needs to approve or amend the six readings this pull request adds (top nav items and the longest part phrase, a piece said before its part, display none for a part's own piece, display-1 headings, product-named looks, and one variant copying another's resting look). An engineering owner records the decision by commenting /approve-spec 6188ba4b0bb1a961255cd0e504a5303e56278060 on this pull request, and the author may do so as an engineering owner. These need fixing either way:

  • "don't hide the code block copy button", "don't remove the code block copy button" and "never hide the tab underline" now return display none on that element, the opposite of the ask, because the new branch at _how-question.mjs:17905 fires on any "hide" and on negations such as "don't" and "never".
  • "make the cards look like before" now also gets the answer that how does not know what "before" looks like, because the new look like X trigger at _how-question.mjs:29668 takes "before" as a product name, and the guard test at theme-how-reads-pieces-and-whole-looks.test.mjs:123 only checks for variant:.

Non-blocking: the changeset lists three readings, and adding the hidden-piece and display-heading readings would complete the release note.

Claims and files checked

Review mode: carry-forward; reason: none

  • Changeset: a top nav's links or items are its items, and a longer part phrase wins: verified (_part-words.mjs:67-72, _how-question.mjs:3510-3529; the new test fails on the base and passes with this patch).
  • Changeset: a look named after a product is never guessed, and the answer asks for its colors, font, corners and spacing, or a picture whose colors how reads: verified (_how-question.mjs:29779; how reads PNG colors, as its command doc says).
  • Changeset: one variant made to look like another takes that variant's look on the asked variant only, no longer as a reset, and "the default" is the variant given when none is: verified (_how-question.mjs:18136-18243; new test).
  • Description: editor-only, with no Core, spec record or official theme change: verified (file list).
  • Description: based on the previous part of the stack: verified (base branch).
  • Description: the five readings under "What changes": verified (new tests, and each ask run on the base and with this patch).
  • Description: _how-question.mjs changes by +213/-4 lines: verified.
  • Description: no mood or feel phrase matches are added: verified (the feel words are untouched).
  • Description: every commit was gated on the round's integration branch, answer key included: not verifiable here; with this patch, all 59 theme-how test files and the CLI structure, changeset and README checks pass.
  • Description: CI has not run on this head, and a stacked part gets CI once it targets main: verified (no workflow has run on this head; the CI, lint and CLI smoke workflows run only for pull requests into main, CI also into release branches).
  • Description: each head is checked locally, and a failure found only at this head is fixed here: not verifiable here.
  • Description: the look gate built from the top of the stack: not verifiable here.
  • .changeset/experimental-theme-how-pieces-whole-looks.md: non-blocking note (two readings missing).
  • packages/cli/api/theme-edit/_how-question.mjs: two findings (negated hide asks, "look like before").
  • packages/cli/api/theme-edit/_part-words.mjs: clear (in the owner decision).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: the "look like before" guard misses the named-look answer; no negated hide asks.
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear (the empty-answer case moves to an ask with no reading).
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

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: no current record says how experimental theme editor how should read these asks, so an engineering owner needs to approve or amend the six readings this pull request adds (top nav items and the longest part phrase, a piece said before its part, display none for a part's own piece, display-1 headings, product-named looks, and one variant copying another's resting look). An engineering owner records the decision by commenting /approve-spec 82fbb74db1a12e79b4c3aaa6d5e86bed0ae590b8 on this pull request, and the author may do so as an engineering owner. These need fixing either way:

  • "don't hide the code block copy button", "don't remove the code block copy button" and "never hide the tab underline" now return display none on that element, the opposite of the ask, because the new branch at _how-question.mjs:17905 fires on any "hide" and on negations such as "don't" and "never".
  • "make the cards look like before" now also gets the answer that how does not know what "before" looks like, because the new look like X trigger at _how-question.mjs:29668 takes "before" as a product name, and the guard test at theme-how-reads-pieces-and-whole-looks.test.mjs:123 only checks for variant:.

Non-blocking: the changeset lists three readings, and adding the hidden-piece and display-heading readings would complete the release note.

Claims and files checked

Review mode: carry-forward; reason: none

  • Changeset: a top nav's links or items are its items, and a longer part phrase wins: verified (_part-words.mjs:67-72, _how-question.mjs:3510-3529; the new test fails on the base and passes with this patch).
  • Changeset: a look named after a product is never guessed, and the answer asks for its colors, font, corners and spacing, or a picture whose colors how reads: verified (_how-question.mjs:29779; how reads PNG colors, as its command doc says).
  • Changeset: one variant made to look like another takes that variant's look on the asked variant only, no longer as a reset, and "the default" is the variant given when none is: verified (_how-question.mjs:18136-18243; new test).
  • Description: editor-only, with no Core, spec record or official theme change: verified (file list).
  • Description: based on the previous part of the stack: verified (base branch).
  • Description: the five readings under "What changes": verified (new tests, and each ask run on the base and with this patch).
  • Description: _how-question.mjs changes by +213/-4 lines: verified.
  • Description: no mood or feel phrase matches are added: verified (the feel words are untouched).
  • Description: every commit was gated on the round's integration branch, answer key included: not verifiable here; with this patch, all 59 theme-how test files and the CLI structure, changeset and README checks pass.
  • Description: CI has not run on this head, and a stacked part gets CI once it targets main: verified (no workflow has run on this head; the CI, lint and CLI smoke workflows run only for pull requests into main, CI also into release branches).
  • Description: each head is checked locally, and a failure found only at this head is fixed here: not verifiable here.
  • Description: the look gate built from the top of the stack: not verifiable here.
  • .changeset/experimental-theme-how-pieces-whole-looks.md: non-blocking note (two readings missing).
  • packages/cli/api/theme-edit/_how-question.mjs: two findings (negated hide asks, "look like before").
  • packages/cli/api/theme-edit/_part-words.mjs: clear (in the owner decision).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: the "look like before" guard misses the named-look answer; no negated hide asks.
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear (the empty-answer case moves to an ask with no reading).
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

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: no current record says how experimental theme editor how should read these asks, and the last approval named an earlier head. An engineering owner records it by commenting /approve-spec d79923796bdfd2038255695ced03a3187369f6ca on this pull request; the author may do so as an engineering owner.

Two fixes are needed either way:

  • The changeset says a piece that holds a control is never hidden whole, but the guard reads only the editor's drawn sample, so "hide the top nav heading" (and "hide the side nav heading") still writes display none on a heading that holds the menu trigger or is the home link when the app passes menu or headingHref, and "hide the table header" hides a sortable column's sort button: word the sentence as what the code checks, and preferably name those controls in the answer, with a test.
  • The description still says the nav-bar-beside-a-side-nav reading moved to the follow-up and gives _how-question.mjs as +522/-33, but this head carries that reading ("nav bar links bold and the side nav items red" bolds top-nav-item) and the file is +561/-35.

Smaller points, not blocking: "make the side navigation bar items bigger" still reaches the top nav, "Tropical theme" and "Make it Industrial" get the never-guess-a-brand reply, and "make everything rounder" or "turn it blue" add a stray "not taken" line.

Claims and files checked

Review mode: full; reason: rebase

  • Description, editor-only change in the CLI's experimental theme editor with no Core, record or official-theme change: verified (every changed file is under packages/cli or .changeset).
  • Description, part of a series based on the previous part's branch: verified (the base branch).
  • Description, a top nav's links are its items, a piece taken away is not drawn, a display heading sizes from its token, a product look is asked for, a variant takes another's look: verified (new tests pass; answers checked on head and base).
  • Description, _how-question.mjs line delta +522/-33: false (+561/-35 at this head).
  • Description, adds no mood or feel phrase matches: verified (the diff adds none).
  • Description, gated in the round's integration branch with a held-out answer key: unverified (not in the repository); the four changed test files pass here.
  • Description, CI has not run on this head: verified (no workflow runs).
  • Description, the look gate on a sample site: unverified (not reproducible here).
  • Description, "…isn't useful so hide it" still hides nothing: verified (a lookup only, as on the base).
  • Description, a pronoun after a named look reads as on main: verified (same answer on head and base).
  • Description, a nav bar said beside a side nav reads as on main: false (the head bolds top-nav-item; the base bolds the header and every link).
  • Changeset, top nav links or items are its items and a longer part phrase wins: verified (test and answers).
  • Changeset, a product look is never guessed, "look like before" goes back, "use the default theme" points to the theme commands: verified (tests).
  • Changeset, one variant takes another's look, the default is the doc's default variant, a negated likeness writes nothing: verified (tests and answers).
  • Changeset, kept, shown and ruled-out removals, a likeness with a state or mode, "not" before other looks, negations that name no piece, an icon inside a button, a background hidden: verified (tests).
  • Changeset, a piece that holds a control is never hidden whole: false ("hide the top nav heading", "hide the side nav heading", "hide the table header").
  • Changeset, the base theme is added before it is used, and a theme with no base says so: verified (tests and answers).
  • Changeset, a top nav said beside a side nav stays the top nav: verified (test and answers).
  • Changeset, going back needs going-back words, and a product name is a capitalized name: verified (tests).
  • .changeset/experimental-theme-how-pieces-whole-looks.md: the holds-a-control sentence is false (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: the control guard reads only the drawn sample (blocking, with the changeset); smaller notes above.
  • packages/cli/api/theme-edit/_part-words.mjs: clear (side navigation bar note above).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-family-named.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

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: no current record says how experimental theme editor how should read these asks, and the last approval named an earlier head. An engineering owner records it by commenting /approve-spec 30394412fb083354c477904afb3f46543a030936 on this pull request; the author may do so as an engineering owner.

Three fixes are needed either way:

  • The changeset says a piece that holds a control is never hidden whole, but the guard reads only the editor's drawn sample, so "hide the top nav heading" (and "hide the side nav heading") still writes display none on a heading that holds the menu trigger or is the home link when the app passes menu or headingHref, and "hide the table header" hides a sortable column's sort button: word the sentence as what the code checks, and preferably name those controls in the answer, with a test.
  • Miss: the changeset says a variant likeness is no longer read as a reset and that "the default" is the part's default variant, but "make the default button look like ghost buttons" and "make the default button look like the primary button" still get the undo note, because only the copied side resolves "the default": resolve it on the asked side too, with a test, or narrow the sentence.
  • The description still says the nav-bar-beside-a-side-nav reading moved to the follow-up and gives _how-question.mjs as +522/-33, but this head carries that reading ("nav bar links bold and the side nav items red" bolds top-nav-item) and the file is +561/-35.

Smaller points, not blocking: "make the side navigation bar items bigger" still reaches the top nav, "Tropical theme" and "Make it Industrial" get the never-guess-a-brand reply, and "make everything rounder" or "turn it blue" add a stray "not taken" line.

Claims and files checked

Review mode: full; reason: rebase

  • Description, editor-only change in the CLI's experimental theme editor with no Core, record or official-theme change: verified (every changed file is under packages/cli or .changeset).
  • Description, part of a series based on the previous part's branch: verified (the base branch).
  • Description, a top nav's links are its items, a piece taken away is not drawn, a display heading sizes from its token, a product look is asked for, a variant takes another's look: verified (new tests pass; answers checked on head and base).
  • Description, _how-question.mjs line delta +522/-33: false (+561/-35 at this head).
  • Description, adds no mood or feel phrase matches: verified (the diff adds none).
  • Description, gated in the round's integration branch with a held-out answer key: unverified (not in the repository); the four changed test files pass here.
  • Description, CI has not run on this head: verified (no workflow runs).
  • Description, the look gate on a sample site: unverified (not reproducible here).
  • Description, "…isn't useful so hide it" still hides nothing: verified (a lookup only, as on the base).
  • Description, a pronoun after a named look reads as on main: verified (same answer on head and base).
  • Description, a nav bar said beside a side nav reads as on main: false (the head bolds top-nav-item; the base bolds the header and every link).
  • Changeset, top nav links or items are its items and a longer part phrase wins: verified (test and answers).
  • Changeset, a product look is never guessed, "look like before" goes back, "use the default theme" points to the theme commands: verified (tests and answers).
  • Changeset, one variant takes another's look for the asked variant only: verified (tests and answers).
  • Changeset, such a likeness is no longer read as a reset and "the default" is the part's default variant: false when "the default" is the asked variant ("make the default button look like ghost buttons").
  • Changeset, a negated likeness writes nothing; kept, shown and ruled-out removals; a likeness with a state or mode; "not" before other looks; negations that name no piece; an icon inside a button; a background hidden: verified (tests and answers).
  • Changeset, a piece that holds a control is never hidden whole: false ("hide the top nav heading", "hide the side nav heading", "hide the table header").
  • Changeset, the base theme is added before it is used, and a theme with no base says so: verified (tests and answers).
  • Changeset, a top nav said beside a side nav stays the top nav: verified (test and answers).
  • Changeset, going back needs going-back words, and a product name is a capitalized name: verified (tests).
  • .changeset/experimental-theme-how-pieces-whole-looks.md: the holds-a-control and default-variant sentences are false (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: the control guard reads only the drawn sample, and the likeness reader resolves "the default" on the copied side only (blocking, with the changeset); smaller notes above.
  • packages/cli/api/theme-edit/_part-words.mjs: clear (side navigation bar note above).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-family-named.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

Automated review (maintainer link)

/** @param {string} side */
const valueIn = side =>
[...values].filter(v => new RegExp(`\\b${v}\\b`).test(side));
const from = valueIn(said[1]);

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.

Miss: the asked variant is read only from a variant name before "look like", and "the default" is resolved only on the copied side (lines 19439-19447). So "make the default button look like ghost buttons", "default buttons look like ghost buttons" and "make the default button look like the primary button" return null here and fall to the reset reader, which answers "the undo names more than one change, so none is taken back": the reading the changeset says no longer happens. Resolve from to def when the words before "look like" say "default" and name no variant, as to does, and add these asks to the test; or say in the changeset that "the default" names only the variant copied from.

@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: no current record says how experimental theme editor how should read these asks, and the last approval named an earlier head; this head's last commit also changes when a piece is taken away. An engineering owner records it by commenting /approve-spec e8b5251e751cbd655f3c244e3bca3f690fd84042 on this pull request; the author may do so as an engineering owner.

Four fixes are needed either way:

  • Regression: the base branch's own test in theme-how-part-said-readings.test.mjs (lines 137-148) expects "make ghost buttons look like primary buttons on hover" to write a hover fill under --state hover, as the base does, but this head writes nothing for that ask and its own new test asserts the opposite, so the node suite fails until the two readings are reconciled.
  • The changeset says a piece that holds a control is never hidden whole, but the guard reads only the editor's drawn sample, so "hide the top nav heading" (and "hide the side nav heading") still writes display none on a heading that holds the menu trigger or is the home link when the app passes menu or headingHref, and "hide the table header" hides a sortable column's sort button: word the sentence as what the code checks, and preferably name those controls in the answer, with a test.
  • Miss: the changeset says a variant likeness is no longer read as a reset and that "the default" is the part's default variant, but "make the default button look like ghost buttons" and "make the default button look like the primary button" still get the undo note, because only the copied side resolves "the default": resolve it on the asked side too, with a test, or narrow the sentence.
  • The description still says the nav-bar-beside-a-side-nav reading moved to the follow-up and gives _how-question.mjs as +522/-33, but this head carries that reading ("nav bar links bold and the side nav items red" bolds top-nav-item) and the file is +579/-35.

Smaller points, not blocking: after the last commit, "hide the code block copy button please" (or "too", "as well") gets only a lookup and "hide the code block copy button so nothing else is hidden" is answered as asking for no change; "make the side navigation bar items bigger" still reaches the top nav, "Tropical theme" and "Make it Industrial" get the never-guess-a-brand reply, and "make everything rounder" or "turn it blue" add a stray "not taken" line.

Claims and files checked

Review mode: full; reason: rebase

  • Description, editor-only change in the CLI's experimental theme editor with no Core, record or official-theme change: verified (every changed file is under packages/cli or .changeset).
  • Description, part of a series based on the previous part's branch: verified (the base branch).
  • Description, a top nav's links are its items, a piece taken away is not drawn, a display heading sizes from its token, a product look is asked for, a variant takes another's look: verified (new tests pass; answers checked on head and base).
  • Description, _how-question.mjs line delta +522/-33: false (+579/-35 at this head).
  • Description, adds no mood or feel phrase matches: verified (the diff adds none).
  • Description, every commit gated with the full node suite and a held-out answer key: unverified (not in the repository); one test the base branch added fails at this head.
  • Description, CI has not run on this head: verified (no workflow runs).
  • Description, any failure found only at this head is fixed in this pull request: false (the base branch's hover-likeness test fails here and passes on the base).
  • Description, the look gate on a sample site: unverified (not reproducible here).
  • Description, "…isn't useful so hide it" still hides nothing: verified (a lookup only, as on the base).
  • Description, a pronoun after a named look reads as on main: verified (same answer on head and base).
  • Description, a nav bar said beside a side nav reads as on main: false (the head bolds top-nav-item; the base bolds the header and every link).
  • Changeset, top nav links or items are its items and a longer part phrase wins: verified (test and answers).
  • Changeset, a product look is never guessed, "look like before" goes back, "use the default theme" points to the theme commands: verified (tests and answers).
  • Changeset, one variant takes another's look for the asked variant only, and a negated likeness writes nothing: verified (tests and answers).
  • Changeset, such a likeness is no longer read as a reset and "the default" is the part's default variant: false when "the default" is the asked variant.
  • Changeset, kept, shown and ruled-out removals; a likeness with a state or mode writes nothing; "not" before other looks; negations that name no piece; an icon inside a button; a background hidden: verified (tests and answers).
  • Changeset, a piece that holds a control is never hidden whole: false ("hide the top nav heading", "hide the side nav heading", "hide the table header").
  • Changeset, the base theme is added before it is used, and a theme with no base says so: verified (tests and answers).
  • Changeset, a top nav said beside a side nav stays the top nav: verified (test and answers).
  • Changeset, going back needs going-back words, and a product name is a capitalized name: verified (tests).
  • .changeset/experimental-theme-how-pieces-whole-looks.md: the holds-a-control and default-variant sentences are false (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: the likeness reader's state branch fails the base branch's test, the control guard reads only the drawn sample, and "the default" resolves on the copied side only (blocking); the place-only and nothing-hidden checks and the smaller notes above (non-blocking).
  • packages/cli/api/theme-edit/_part-words.mjs: clear (side navigation bar note above).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: its state-likeness test contradicts the base branch's test (with the blocking regression above).
  • packages/cli/api/theme-edit/theme-how-family-named.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

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: no current record says how experimental theme editor how should read these asks, and the last approval named an earlier head; this head's two new commits also change how a state likeness is answered and when a piece is taken away. An engineering owner records it by commenting /approve-spec fd5df3b0c6929a17f37d9f6d9c8f51b11fc78b11 on this pull request; the author may do so as an engineering owner.

Three fixes are needed either way:

  • The changeset says a piece that holds a control is never hidden whole, but the guard reads only the editor's drawn sample, so "hide the top nav heading" (and "hide the side nav heading") still writes display none on a heading that holds the menu trigger or is the home link when the app passes menu or headingHref, and "hide the table header" hides a sortable column's sort button: word the sentence as what the code checks, and preferably name those controls in the answer, with a test.
  • Miss: the changeset says a variant likeness is no longer read as a reset and that "the default" is the part's default variant, but "make the default button look like ghost buttons" and "make the default button look like the primary button" still get the undo note, because only the copied side resolves "the default": resolve it on the asked side too, with a test, or narrow the sentence.
  • The description still says the nav-bar-beside-a-side-nav reading moved to the follow-up and gives _how-question.mjs as +522/-33, but this head carries that reading ("nav bar links bold and the side nav items red" bolds top-nav-item) and the file is +579/-35.

Smaller points, not blocking: "hide the code block copy button too" (or "as well") still gets only a lookup and "hide the code block copy button so nothing else is hidden" is answered as asking for no change; "make the side navigation bar items bigger" still reaches the top nav, "Tropical theme" and "Make it Industrial" get the never-guess-a-brand reply, and "make everything rounder" or "turn it blue" add a stray "not taken" line.

Claims and files checked

Review mode: full; reason: rebase

  • Description, editor-only change in the CLI's experimental theme editor with no Core, record or official-theme change: verified (every changed file is under packages/cli or .changeset).
  • Description, part of a series based on the previous part's branch: verified (the base branch).
  • Description, a top nav's links are its items, a piece taken away is not drawn, a display heading sizes from its token, a product look is asked for, a variant takes another's look: verified (new tests pass; answers checked on head and base).
  • Description, _how-question.mjs line delta +522/-33: false (+579/-35 at this head).
  • Description, adds no mood or feel phrase matches: verified (the diff adds none).
  • Description, every commit gated with the full node suite and a held-out answer key: unverified (the key is not in the repository); the changed and how-using test files pass at this head.
  • Description, CI has not run on this head: verified (no workflow runs).
  • Description, any failure found only at this head is fixed in this pull request: verified for the tests run (the five changed test files and 179 other test files that run how pass).
  • Description, the look gate on a sample site: unverified (not reproducible here).
  • Description, "…isn't useful so hide it" still hides nothing: verified (a lookup only, as on the base).
  • Description, a pronoun after a named look reads as on main: verified (same answer on head and base).
  • Description, a nav bar said beside a side nav reads as on main: false (the head bolds top-nav-item; the base bolds the header and every link).
  • Changeset, top nav links or items are its items and a longer part phrase wins: verified (test and answers).
  • Changeset, a product look is never guessed, "look like before" goes back, "use the default theme" points to the theme commands: verified (tests and answers).
  • Changeset, one variant takes another's look for the asked variant only, and a negated likeness writes nothing: verified (tests and answers).
  • Changeset, such a likeness is no longer read as a reset and "the default" is the part's default variant: false when "the default" is the asked variant.
  • Changeset, kept, shown and ruled-out removals; a likeness with a state or mode writes nothing; "not" before other looks; negations that name no piece; an icon inside a button; a background hidden: verified (tests and answers).
  • Changeset, a piece that holds a control is never hidden whole: false ("hide the top nav heading", "hide the side nav heading", "hide the table header").
  • Changeset, the base theme is added before it is used, and a theme with no base says so: verified (tests and answers).
  • Changeset, a top nav said beside a side nav stays the top nav: verified (test and answers).
  • Changeset, going back needs going-back words, and a product name is a capitalized name: verified (tests).
  • .changeset/experimental-theme-how-pieces-whole-looks.md: the holds-a-control and default-variant sentences are false (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: the control guard reads only the drawn sample, and "the default" resolves on the copied side only (blocking, with the changeset); the place-word and nothing-hidden checks and the smaller notes above (non-blocking).
  • packages/cli/api/theme-edit/_part-words.mjs: clear (side navigation bar note above).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-part-said-readings.test.mjs: clear (it now asserts this pull request's state-likeness reading, part of the owner decision).
  • packages/cli/api/theme-edit/theme-how-family-named.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

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: no current record says how experimental theme editor how should read these asks, and the last approval named an earlier head; this head is a rebase that leaves the pull request's own changes as they were. An engineering owner records it by commenting /approve-spec 791d94df4ba85c4c9e2dfdec4f74e2ea6dccd59d on this pull request; the author may do so as an engineering owner.

Three fixes are needed either way:

  • The changeset says a piece that holds a control is never hidden whole, but the guard reads only the editor's drawn sample, so "hide the top nav heading" (and "hide the side nav heading") still writes display none on a heading that holds the menu trigger or is the home link when the app passes menu or headingHref, and "hide the table header" hides a sortable column's sort button: word the sentence as what the code checks, and preferably name those controls in the answer, with a test.
  • Miss: the changeset says a variant likeness is no longer read as a reset and that "the default" is the part's default variant, but "make the default button look like ghost buttons" and "make the default button look like the primary button" still get the undo note, because only the copied side resolves "the default": resolve it on the asked side too, with a test, or narrow the sentence.
  • The description still says the nav-bar-beside-a-side-nav reading moved to the follow-up and gives _how-question.mjs as +522/-33, but this head carries that reading ("nav bar links bold and the side nav items red" bolds top-nav-item) and the file is +579/-35.

Smaller points, not blocking: "hide the code block copy button too" (or "as well") still gets only a lookup and "hide the code block copy button so nothing else is hidden" is answered as asking for no change; "make the side navigation bar items bigger" still reaches the top nav, "Tropical theme" and "Make it Industrial" get the never-guess-a-brand reply, and "make everything rounder" or "turn it blue" add a stray "not taken" line.

Claims and files checked

Review mode: full; reason: merge-touches-pr-files

  • Description, editor-only change in the CLI's experimental theme editor with no Core, record or official-theme change: verified (every file the pull request changes is under packages/cli or .changeset).
  • Description, part of a series based on the previous part's branch: verified (the base branch).
  • Description, a top nav's links are its items, a piece taken away is not drawn, a display heading sizes from its token, a product look is asked for, a variant takes another's look: verified (new tests pass; answers checked on head and base).
  • Description, _how-question.mjs line delta +522/-33: false (+579/-35 at this head).
  • Description, adds no mood or feel phrase matches: verified (the diff adds none).
  • Description, every commit gated with the full node suite and a held-out answer key: unverified (the key is not in the repository); the changed and how-using test files pass at this head.
  • Description, CI has not run on this head: verified (no workflow runs).
  • Description, any failure found only at this head is fixed in this pull request: verified for the tests run (the five changed test files and 178 other test files that run how pass).
  • Description, the look gate on a sample site: unverified (not reproducible here).
  • Description, "…isn't useful so hide it" still hides nothing: verified (a lookup only, as on the base).
  • Description, a pronoun after a named look reads as on main: verified (same answer on head and base).
  • Description, a nav bar said beside a side nav reads as on main: false (the head bolds top-nav-item; the base bolds the header and every link).
  • Changeset, top nav links or items are its items and a longer part phrase wins: verified (test and answers).
  • Changeset, a product look is never guessed, "look like before" goes back, "use the default theme" points to the theme commands: verified (tests and answers).
  • Changeset, one variant takes another's look for the asked variant only, and a negated likeness writes nothing: verified (tests and answers).
  • Changeset, such a likeness is no longer read as a reset and "the default" is the part's default variant: false when "the default" is the asked variant.
  • Changeset, kept, shown and ruled-out removals; a likeness with a state or mode writes nothing; "not" before other looks; negations that name no piece; an icon inside a button; a background hidden: verified (tests and answers).
  • Changeset, a piece that holds a control is never hidden whole: false ("hide the top nav heading", "hide the side nav heading", "hide the table header").
  • Changeset, the base theme is added before it is used, and a theme with no base says so: verified (tests and answers).
  • Changeset, a top nav said beside a side nav stays the top nav: verified (test and answers).
  • Changeset, going back needs going-back words, and a product name is a capitalized name: verified (tests).
  • .changeset/experimental-theme-how-pieces-whole-looks.md: the holds-a-control and default-variant sentences are false (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: the control guard reads only the drawn sample, and "the default" resolves on the copied side only (blocking, with the changeset); the place-word and nothing-hidden checks and the smaller notes above (non-blocking).
  • packages/cli/api/theme-edit/_part-words.mjs: clear (side navigation bar note above).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-part-said-readings.test.mjs: clear (it now asserts this pull request's state-likeness reading, part of the owner decision).
  • packages/cli/api/theme-edit/theme-how-family-named.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

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: no current record says how experimental theme editor how should read these asks, and the last approval named an earlier head; this head adds two commits that change how a removal ends and take the "use the default theme" reading back out. An engineering owner records it by commenting /approve-spec d04b3517dff3f04137d3372b4e615dd6f77c4334 on this pull request; the author may do so as an engineering owner.

Three fixes are needed either way:

  • The changeset says a piece that holds a control is never hidden whole, but the guard reads only the editor's drawn sample, so "hide the top nav heading" (and "hide the side nav heading") still writes display none on a heading that holds the menu trigger or is the home link when the app passes menu or headingHref, and "hide the table header" hides a sortable column's sort button: word the sentence as what the code checks, and preferably name those controls in the answer, with a test.
  • Miss: the changeset says a variant likeness is no longer read as a reset and that "the default" is the part's default variant, but "make the default button look like ghost buttons" and "make the default button look like the primary button" still get the undo note, because only the copied side resolves "the default": resolve it on the asked side too, with a test, or narrow the sentence.
  • The description still says the nav-bar-beside-a-side-nav reading moved to the follow-up and gives _how-question.mjs as +522/-33, but this head carries that reading ("nav bar links bold and the side nav items red" bolds top-nav-item) and the file is +553/-35.

Smaller points, not blocking: "hide the code block copy button but only its border" now removes the whole button and also offers a border; "make the side navigation bar items bigger" still reaches the top nav; "Tropical theme" and "Make it Industrial" get the never-guess-a-brand reply; and "make everything rounder" or "turn it blue" add a stray "not taken" line.

Claims and files checked

Review mode: full; reason: rebase

  • Description, editor-only change in the CLI's experimental theme editor with no Core, record or official-theme change: verified (every file the pull request changes is under packages/cli or .changeset).
  • Description, part of a series based on the previous part's branch: verified (the base branch).
  • Description, a top nav's links are its items, a piece taken away is not drawn, a display heading sizes from its token, a product look is asked for, a variant takes another's look: verified (new tests pass; answers checked on head and base).
  • Description, _how-question.mjs line delta +522/-33: false (+553/-35 at this head).
  • Description, adds no mood or feel phrase matches: verified (the diff adds none).
  • Description, every commit gated with the full node suite and a held-out answer key: unverified (the key is not in the repository); the changed and how-using test files pass at this head.
  • Description, CI has not run on this head: verified (no workflow runs).
  • Description, any failure found only at this head is fixed in this pull request: verified for the tests run (the changed test files and 178 other test files that run how pass).
  • Description, the look gate on a sample site: unverified (not reproducible here).
  • Description, "…isn't useful so hide it" still hides nothing, and the earlier negation no longer rules the hide out: verified (a lookup only, never "asks for no change").
  • Description, a pronoun after a named look reads as on main: verified (same answer on head and base).
  • Description, a nav bar said beside a side nav reads as on main: false (the head bolds top-nav-item; the base bolds the header and every link).
  • Changeset, top nav links or items are its items and a longer part phrase wins: verified (test and answers).
  • Changeset, a product look is never guessed, and "look like before" said of no part points to undo: verified (tests and answers).
  • Changeset, one variant takes another's look for the asked variant only, and a negated likeness writes nothing: verified (tests and answers).
  • Changeset, such a likeness is no longer read as a reset and "the default" is the part's default variant: false when "the default" is the asked variant.
  • Changeset, kept, shown and ruled-out removals; a likeness with a state or mode writes nothing; "not" before other looks; negations that name no piece; an icon inside a button; a background hidden: verified (tests and answers).
  • Changeset, a piece that holds a control is never hidden whole: false ("hide the top nav heading", "hide the side nav heading", "hide the table header").
  • Changeset, a top nav said beside a side nav stays the top nav: verified (test and answers).
  • Changeset, going back needs going-back words, and a product name is a capitalized name: verified (tests).
  • .changeset/experimental-theme-how-pieces-whole-looks.md: the holds-a-control and default-variant sentences are false (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: the control guard reads only the drawn sample, and "the default" resolves on the copied side only (blocking, with the changeset); the "but" clause and the smaller notes above (non-blocking).
  • packages/cli/api/theme-edit/_part-words.mjs: clear (side navigation bar note above).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-part-said-readings.test.mjs: clear (it now asserts this pull request's state-likeness reading, part of the owner decision).
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

Automated review (maintainer link)

* its own background, which the removal then clears alone.
*/
const PLACE_ONLY =
/^\s*(?:[,.;:!?]|$|(?:on|in|inside|of|from|for|at|across|throughout|within|everywhere|anywhere|entirely|completely|too|as well|also|only|so|but|because|since|while|and nothing|please|thanks|thank you|(?:background|backdrop|fill|bg)s?)\b)/;

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.

Non-blocking: with "but" here, "hide the code block copy button but only its border" now writes display none --on code-block-copy-button and also offers a border on that button, so the control goes although the ask restyles it. A "but" or "so" clause that names a look of the same piece could leave the piece drawn (and answer only that look), with this ask in the test.

@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: no current record says how experimental theme editor how should read these asks, and the last approval named an earlier head; this head is a rebase that keeps every commit unchanged. An engineering owner records it by commenting /approve-spec 4b48ae0f5289bbc2b5f1e808b598b4ec30ba4e6f on this pull request; the author may do so as an engineering owner.

Three fixes are needed either way:

  • The changeset says a piece that holds a control is never hidden whole, but the guard reads only the editor's drawn sample, so "hide the top nav heading" (and "hide the side nav heading") still writes display none on a heading that holds the menu trigger or is the home link when the app passes menu or headingHref, and "hide the table header" hides a sortable column's sort button: word the sentence as what the code checks, and preferably name those controls in the answer, with a test.
  • Miss: the changeset says a variant likeness is no longer read as a reset and that "the default" is the part's default variant, but "make the default button look like ghost buttons" and "make the default button look like the primary button" still get the undo note, because only the copied side resolves "the default": resolve it on the asked side too, with a test, or narrow the sentence.
  • The description still says the nav-bar-beside-a-side-nav reading moved to the follow-up and gives _how-question.mjs as +522/-33, but this head carries that reading ("nav bar links bold and the side nav items red" bolds top-nav-item) and the file is +553/-35.

Smaller points, not blocking: "make ghost buttons look like primary buttons, with white text" offers only a pick between two text colors and says the likeness is not used; "hide the code block copy button but only its border" removes the whole button and also offers a border; "make the side navigation bar items bigger" still reaches the top nav; "Tropical theme" and "Make it Industrial" get the never-guess-a-brand reply; and "make everything rounder" or "turn it blue" add a stray "not taken" line.

Claims and files checked

Review mode: full; reason: rebase

  • Description, editor-only change in the CLI's experimental theme editor with no Core, record or official-theme change: verified (every file the pull request changes is under packages/cli or .changeset).
  • Description, part of a series based on the previous part's branch: verified (the base branch).
  • Description, a top nav's links are its items, a piece taken away is not drawn, a display heading sizes from its token, a product look is asked for, a variant takes another's look: verified (new tests pass; answers checked on head and base).
  • Description, _how-question.mjs line delta +522/-33: false (+553/-35 at this head).
  • Description, adds no mood or feel phrase matches: verified (the diff adds none).
  • Description, every commit gated with the full node suite and a held-out answer key: unverified (the key is not in the repository); the changed test files and the base's changed theme-how test files pass at this head.
  • Description, CI has not run on this head: verified (no workflow runs).
  • Description, any failure found only at this head is fixed in this pull request: verified for the tests run (seven theme-how test files pass).
  • Description, the look gate on a sample site: unverified (not reproducible here).
  • Description, "…isn't useful so hide it" still hides nothing, and the earlier negation no longer rules the hide out: verified (a lookup only, never "asks for no change").
  • Description, a pronoun after a named look reads as on main: verified (same answer on head and base).
  • Description, a nav bar said beside a side nav reads as on main: false (the head bolds top-nav-item; the base bolds the header and every link).
  • Changeset, top nav links or items are its items and a longer part phrase wins: verified (test and answers).
  • Changeset, a product look is never guessed, and "look like before" said of no part points to undo: verified (tests and answers).
  • Changeset, one variant takes another's look for the asked variant only, and a negated likeness writes nothing: verified (tests and answers).
  • Changeset, such a likeness is no longer read as a reset and "the default" is the part's default variant: false when "the default" is the asked variant.
  • Changeset, kept, shown and ruled-out removals; a likeness with a state or mode writes nothing; "not" before other looks; negations that name no piece; an icon inside a button; a background hidden: verified (tests and answers).
  • Changeset, a piece that holds a control is never hidden whole: false ("hide the top nav heading", "hide the side nav heading", "hide the table header").
  • Changeset, a top nav said beside a side nav stays the top nav: verified (test and answers).
  • Changeset, going back needs going-back words, and a product name is a capitalized name: verified (tests).
  • .changeset/experimental-theme-how-pieces-whole-looks.md: the holds-a-control and default-variant sentences are false (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: the control guard reads only the drawn sample, and "the default" resolves on the copied side only (blocking, with the changeset); the with-text likeness, the "but" clause and the smaller notes above (non-blocking).
  • packages/cli/api/theme-edit/_part-words.mjs: clear (side navigation bar note above).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-part-said-readings.test.mjs: clear (it now asserts this pull request's state-likeness reading, part of the owner decision).
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

Automated review (maintainer link)

st => st.on === on[0] && st.when === when && !st.state,
);
/** @type {Step[]} */
const steps = scoped(B).map(st =>

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.

Miss (non-blocking): a text color said beside the likeness clashes with the copied one. "make ghost buttons look like primary buttons, with white text" and "ghost buttons look like the default button with white text" reach the clash check (_how-question.mjs:28847-28853), which reads this color step and the asked white text on variant:ghost as a contradiction: the answer offers only a pick between the two text colors, drops the copied fill, and adds "not used: … no setting reads this as said". Letting a text color said in the same ask replace the copied one here would keep the look and the asked text.

… piece taken away is not drawn; a display heading sizes from its token; a look named after a product is asked for, never guessed; one variant made to look like another takes its look
…going-back word points to undo or a theme only when said alone
…ear", "a clear theme") never points to undo or a theme
…ds that name the earlier look go back; a likeness with a state or mode writes nothing; not/never forbid only a likeness
…a control is never hidden by its icon; going back needs undo words; a product name is capitalized; a piece before a part without it reads the part's pieces
…icon inside a button is never hidden alone; going back and the base theme need going-back words; a negation in an earlier clause keeps the hide; each nav stays where it was said; a capitalized name is a name
…the side nav read as on main (their readings move to a follow-up)
…p nav; only a bare nav links or items is the side nav's
…whole; the base theme asked for is added before it is used, and a theme with no base says so
…d with a state writes nothing, and no variant word is named as not taken

Part 17 answers "make ghost buttons look like primary buttons on hover" by naming the state and writing nothing (its own row asserts that). The part-7 row asserted main's hover lines too; it now checks what it is for: "primary" and "ghost" are never named as not taken, with and without the state, and the resting likeness still writes on the ghost variant.
…ng but a place follows it; "no row hidden" keeps the rows

"no table row lines", "tables without row lines" and "no table cell lines" ask about the lines, so no row or cell is hidden; they read as main reads them. "no row hidden" and "nothing hidden" ask for no change. "no copy button on code blocks" still takes the button away, and a piece's own background after it still clears only the fill.
…till takes it away ("no banner icon please")
…e the tab underline so nothing else is hidden" hides the underline)

A "nothing hidden" said after an explicit hide or remove in the same clause no longer cancels it, and "and nothing else", "too" and "as well" after the piece leave the hide standing.

@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: no current record says how experimental theme editor how should read these asks, and the last approval named an earlier head; this head is a rebase that keeps every commit unchanged. An engineering owner records it by commenting /approve-spec 9f02eb488f147c5516c3bfb45912374b4c090a75 on this pull request; the author may do so as an engineering owner.

Three fixes are needed either way:

  • The changeset says a piece that holds a control is never hidden whole, but the guard reads only the editor's drawn sample, so "hide the top nav heading" (and "hide the side nav heading") still writes display none on a heading that holds the menu trigger or is the home link when the app passes menu or headingHref, and "hide the table header" hides a sortable column's sort button: word the sentence as what the code checks, and preferably name those controls in the answer, with a test.
  • Miss: the changeset says a variant likeness is no longer read as a reset and that "the default" is the part's default variant, but "make the default button look like ghost buttons" and "make the default button look like the primary button" still get the undo note, because only the copied side resolves "the default": resolve it on the asked side too, with a test, or narrow the sentence.
  • The description still says the nav-bar-beside-a-side-nav reading moved to the follow-up and gives _how-question.mjs as +522/-33, but this head carries that reading ("nav bar links bold and the side nav items red" bolds top-nav-item) and the file is +553/-35.

Smaller points, not blocking: "make ghost buttons look like primary buttons, with white text" offers only a pick between two text colors and says the likeness is not used; "hide the code block copy button but only its border" removes the whole button and also offers a border; "make the side navigation bar items bigger" still reaches the top nav; "Tropical theme" and "Make it Industrial" get the never-guess-a-brand reply; and "make everything rounder" or "turn it blue" add a stray "not taken" line.

Claims and files checked

Review mode: full; reason: rebase

  • Description, editor-only change in the CLI's experimental theme editor with no Core, record or official-theme change: verified (every file the pull request changes is under packages/cli or .changeset).
  • Description, part of a series based on the previous part's branch: verified (the base branch).
  • Description, a top nav's links are its items, a piece taken away is not drawn, a display heading sizes from its token, a product look is asked for, a variant takes another's look: verified (new tests pass; answers checked on head and base).
  • Description, _how-question.mjs line delta +522/-33: false (+553/-35 at this head).
  • Description, adds no mood or feel phrase matches: verified (the diff adds none).
  • Description, every commit gated with the full node suite, five CLI typechecks and a held-out answer key: unverified (the key is not in the repository); the changed test files and the base's changed theme-how test files pass at this head, and three of the CLI typechecks pass here (the strict one stops only on two template pages that need a built theme package).
  • Description, CI has not run on this head: verified (no workflow runs).
  • Description, any failure found only at this head is fixed in this pull request: verified for the tests run (seven theme-how test files pass).
  • Description, the look gate on a sample site: unverified (not reproducible here).
  • Description, "…isn't useful so hide it" still hides nothing, and the earlier negation no longer rules the hide out: verified (a lookup only, never "asks for no change").
  • Description, a pronoun after a named look reads as on main: verified (same answer on head and base).
  • Description, a nav bar said beside a side nav reads as on main: false (the head bolds top-nav-item; the base bolds the header and every link).
  • Changeset, top nav links or items are its items and a longer part phrase wins: verified (test and answers).
  • Changeset, a product look is never guessed, and "look like before" said of no part points to undo: verified (tests and answers).
  • Changeset, one variant takes another's look for the asked variant only, and a negated likeness writes nothing: verified (tests and answers).
  • Changeset, such a likeness is no longer read as a reset and "the default" is the part's default variant: false when "the default" is the asked variant.
  • Changeset, kept, shown and ruled-out removals; a likeness with a state or mode writes nothing; "not" before other looks; negations that name no piece; an icon inside a button; a background hidden: verified (tests and answers).
  • Changeset, a piece that holds a control is never hidden whole: false ("hide the top nav heading", "hide the side nav heading", "hide the table header").
  • Changeset, a top nav said beside a side nav stays the top nav: verified (test and answers).
  • Changeset, going back needs going-back words, and a product name is a capitalized name: verified (tests and answers).
  • .changeset/experimental-theme-how-pieces-whole-looks.md: the holds-a-control and default-variant sentences are false (blocking).
  • packages/cli/api/theme-edit/_how-question.mjs: the control guard reads only the drawn sample, and "the default" resolves on the copied side only (blocking, with the changeset); the with-text likeness, the "but" clause and the smaller notes above (non-blocking).
  • packages/cli/api/theme-edit/_part-words.mjs: clear (side navigation bar note above).
  • packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how-part-said-readings.test.mjs: clear (it now asserts this pull request's state-likeness reading, part of the owner decision).
  • packages/cli/api/theme-edit/theme-how-whole-look-said.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • packages/cli/clients/cli/commands/experimental-theme-editor-how.doc.mjs: clear.

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 — 9f02eb48 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.

1 participant