Skip to content

chore: land 1 reviewed pull request (batch 92) - #13037

Merged
josephfarina merged 8 commits into
mainfrom
josephfarina/land-batch-92
Nov 20, 2026
Merged

josephfarina merged 8 commits into
mainfrom
josephfarina/land-batch-92

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

Merges this reviewed pull request onto current main as a merge commit. This branch checks that it builds and tests on today's main.

Scope

CLI experimental theme editor: how answers zebra rows and striped tables with the row's stripe, and drafts a stripe write only for a fill ask. The stripe-removal answers say what they cost: on a table with hover, the cleared rows also cover Core's hover color.

Records

No knowledge record changes. The stripe answers rest on the engineering owner's /approve-spec on the member and at this head.

When this merges, the pull request above is closed with a note that names this one.

@vercel

vercel Bot commented Nov 20, 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:05am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 20, 2026, 1:19 AM UTC

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 83eb9c1
Covers the three stripe answers decided on #12903 (HQ ruling), with the hover-cost wording.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 83eb9c1

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 20, 2026

@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.

Approved pending CI. One node test shard, test-node (9/9), fails in a render storage test (packages/cli/api/render/render.interactive.test.mjs:1512) that this change does not reach and that passes on its own here and on main, so it needs a re-run; test and docsite-browser are still running.

An engineering owner's /approve-spec for this head settles the stripe answers, the [experimental] patch changeset fits the experimental-surface release rule, and the stripe tests pass. Nothing blocks; two non-blocking points are worth a follow-up, and the inline comments add two smaller ones:

  • "zebra rows, the odd ones #f9f9f9" and "zebra rows, odd ones shaded" (the example the comment at _how-question.mjs:21007-21008 names) draft Core's even stripe without the odd rows or the color, while "zebra rows, odd rows #f9f9f9" writes the odd stripe.
  • A one-step stripe answer ("even rows #eeeeee") reads "the stripe cover Core's hover color" (_how-question.mjs:21034).
Claims and files checked

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

  • Changeset: stripe asks are answered with the stripe Core marks on each body row (--when parity:odd or parity:even). Verified (_how-question.mjs:20950-21114; running how on base and head).
  • Changeset: "zebra rows", "striped tables", "alternate row shading" and "shade every other row" stripe every data-driven table on Core's even stripe with the theme's stripe color. Verified for all four (test rows and runs on the head).
  • Changeset: the stripe names are read from the doc of the prop that turns stripes on. Verified (_how-question.mjs:3934-3973 reads Table's isStriped description).
  • Changeset: an ask naming a stripe sets it and clears Core's other stripe on striped tables. Verified for "odd rows #f9f9f9" and "odd table rows #fafafa"; a stripe named as "the odd ones" in a later clause is missed (non-blocking).
  • Changeset: "no stripes on even rows" takes that stripe away. Verified (test row).
  • Changeset: before, the zebra asks said set had no condition, the two shading asks were not read as a fill, and "odd rows " colored every row. Verified on the base.
  • Changeset: set --when names parity:odd and parity:even, with a zebra-rows example. Verified (experimental-theme-editor-set.doc.mjs:46 and :110-114); set already accepted the condition on the base.
  • Description: the branch merges the reviewed member pull request onto current main as a merge commit. Verified (the head's two parents are main and the member's last reviewed commit).
  • Description: the branch checks that it builds and tests on current main. Pending CI: builds, typecheck, lint and most test shards are green; one render test shard needs a re-run; the how suites pass on the head.
  • Description: how drafts a stripe write only for a fill ask. Verified ("alternate table row text color red" answers with the row's text color, as on the base).
  • Description: the stripe-removal answers say they cover Core's hover color on a table with hover. Verified; the theme's cascade layer follows Core's (packages/build/src/index.js:12).
  • Description: no knowledge record changes. Verified.
  • Description: the stripe answers rest on an engineering owner's /approve-spec on the member and at this head. Verified.
  • Description: the member pull request is closed with a note when this merges. Not checkable in the diff (merge automation).
  • File .changeset/experimental-theme-how-row-stripes.md: clear.
  • File packages/cli/api/theme-edit/_how-question.mjs: four non-blocking points (dropped "odd ones" stripe, "the stripe cover", "on striped tables" not honored, an extra answer with no command).
  • File packages/cli/api/theme-edit/_project.mjs: clear (each prop's description cached, cache version 10).
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear (649 of 649 pass on the head).
  • File packages/cli/clients/cli/commands/experimental-theme-editor-set.doc.mjs: clear.

Automated review (maintainer link)

// shaded"): that stripe's fill on the row, in every table, and the
// other stripe of a striped table cleared, where Core draws its
// own. A theme with no stripe of its own and no color keeps Core's.
if (parityOn && paritySaid.length === 1 && value) {

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) A stripe named as "odd ones" in a later clause never reaches this branch: "zebra rows, the odd ones #f9f9f9" and "zebra rows, odd ones shaded" (the example in the comment above) both answer with Core's even stripe in --color-background-muted, without the odd rows or #f9f9f9, while "zebra rows, odd rows #f9f9f9" writes the odd stripe. Reading a parity a following clause names here, and a test row for "zebra rows, the odd ones #f9f9f9", would cover it.

return {
text: c.neg
? `no stripe on the ${p} rows of ${parityOn}. On a table with hover those rows lose Core's hover color too`
: `a stripe on the ${p} rows of ${parityOn} (the first body row is odd), in every data-driven table${steps.length > 1 ? `; the ${other} rows of a striped table, where Core paints its own stripe, are cleared` : ''}. On a table with hover the stripe${steps.length > 1 ? ' and the cleared rows' : ''} cover Core's hover color; add --state striped to stripe only the tables the app marks isStriped`,

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 one step this prints "On a table with hover the stripe cover Core's hover color" ("even rows #eeeeee", "even-numbered rows #eeeeee"). Suggest the stripe${steps.length > 1 ? ' and the cleared rows cover' : ' covers'}.

Comment on lines +21015 to +21019
set('background-color', value, {
on: parityOn,
when: `parity:${p}`,
...modeOf(c),
}),

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) "odd rows #f9f9f9 on striped tables" gets this step without state: 'striped', so the stripe lands in every data-driven table, and the answer then tells the person to add --state striped, which they already asked for.

text: 'striped rows need a style on every other row, and set has no condition for that; a row background colors every row',
text:
(parityOn ?? rowParity)
? `a stripe on table rows is set on the stripe: background-color <color> --on ${parityOn ?? rowParity} --when parity:odd (or parity:even)`

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) "zebra rows, odd rows #f9f9f9" returns this line as a second result, with no command, after the first result already wrote the odd stripe; an agent reads it for nothing.

@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 83eb9c1

Storybook · Sandbox · built from this PR's head

Package size: @astryxdesign/cli 5.74 MB packed (+2.3 kB); no new dependencies.

Not run on this PR: add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.

Current run: CI concluded failure; parts of this report may be missing.


Generated by PR Enrichment workflow | View full report

@josephfarina
josephfarina merged commit 0cee491 into main Nov 20, 2026
197 of 202 checks passed
@github-actions
github-actions Bot deleted the josephfarina/land-batch-92 branch November 20, 2026 06:05

This branch was successfully deployed

1 active deployment
Preview — 83eb9c1f 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