Skip to content

chore: land 7 reviewed pull requests together (batch fe-theme-3) - #13276

Merged
josephfarina merged 10 commits into
mainfrom
josephfarina/land-batch-fe-theme-3
Nov 21, 2026
Merged

josephfarina merged 10 commits into
mainfrom
josephfarina/land-batch-fe-theme-3

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This pull request lands 7 pull requests from the theme editor working branch in one CI run. 5 of them were reviewed and approved on their own heads; #13225, #13186 are reviewed as part of this pull request. Each was merged into the branch in the order listed.
Some of them change the same files; each merge into the branch was clean, and the combined result at this head is what is reviewed and tested here. Shared files:

2 of them change knowledge records; each member's record change is listed under Records with its decider.
Some members change the same record: docs/specs/AST-050-app-themes/spec.md (#13091, #13233) — they merged cleanly, no requirement or decision number is defined twice, and the one /approve-spec on this head covers every record edit.

Scope

Records

Taken out after review: #13234.

When this merges, every pull request above is on main.

@vercel

vercel Bot commented Nov 21, 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 21, 2026 11:00am UTC

Request Review

@josephfarina josephfarina added the merge-batch Batch of approved pull requests landed together label Nov 21, 2026
@josephfarina josephfarina added the merge-batch Batch of approved pull requests landed together label Nov 21, 2026
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 21fc991

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

astracat-bot Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 21, 2026, 11:14 AM UTC

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 87168cb

@josephfarina
josephfarina force-pushed the josephfarina/land-batch-fe-theme-3 branch 2 times, most recently from 87168cb to 06df512 Compare November 21, 2026 10:16
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 06df512

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 03f2b8f

Storybook · Sandbox · built from this PR's head

Package size: @astryxdesign/cli 6.04 MB packed (+11.2 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.


Generated by PR Enrichment workflow | View full report

…ge at the nearest shade that keeps 3:1... (#13225)

Reviewed pull request #13225, merged into the theme working branch. It reaches main with the branch's next landing.
…13186)

Reviewed pull request #13186, merged into the theme working branch. It reaches main with the branch's next landing.
…and undo (#13091)

Reviewed pull request #13091, merged into the theme working branch. It reaches main with the branch's next landing.
…est (#13234)

Reviewed pull request #13234, merged into the theme working branch. It reaches main with the branch's next landing.
…te titles on the heading font (#13233)

Reviewed pull request #13233, merged into the theme working branch. It reaches main with the branch's next landing.
…ll, with the color quoted (#13256)

Reviewed pull request #13256, merged into the theme working branch. It reaches main with the branch's next landing.
…13044)

Reviewed pull request #13044, merged into the theme working branch. It reaches main with the branch's next landing.
…its label and description read (#13241)

Reviewed pull request #13241, merged into the theme working branch. It reaches main with the branch's next landing.
@josephfarina josephfarina changed the title chore: land 7 reviewed pull requests together (batch fe-theme-3) chore: land 8 reviewed pull requests together (batch fe-theme-3) Nov 21, 2026
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 911c6f2

@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 text-size change in this batch needs one fix before it can land.

  • set <theme> font-size <size> --on popover (and --on calendar) now writes --text-label-size on the container, so every button and field label inside takes that size where the base refused; mainTextSizeToken in packages/cli/api/theme-edit/_settings.mjs should return null for a part that holds other parts, with refusal rows for popover and calendar in its test.
  • .changeset/experimental-theme-text-size-main-piece.md says a part whose sizes come from the parts it holds is refused as before, which is false for popover and calendar at this head; the fix above makes it true.

Not blocking: the release note already pending on main, experimental-theme-palette-newer-recipe-opens.md, still says the whole-theme accent token is refused and that a named undo of an unmapped token writes this CLI's shade, which contradicts this batch's kept-palette note. The AST-050 record edits carry an engineering owner's approval for this head, and the changed tests pass.

Claims and files checked

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

  • Claim: Body font set alone on a one-family base keeps the empty-state title on the heading font; two-family bases and a part's own font are kept: verified (dial and exact-token tests on real neutral and matcha bases).
  • Claim: The fields' 3:1 note prints its exact-colour command in full with the colour quoted: verified (border-follows test).
  • Claim: A whole-theme border colour moves the field edge to that colour or its nearest 3:1 shade in each mode, names it, keeps an edge the theme sets, and one undo takes both back: verified (field-edge tests; dark-mode 3:1 test).
  • Claim: Stable theme command lines in how answers start the way the app runs the CLI: verified (the answer prints the app's own invocation before theme add).
  • Claim: Light-and-dark said at the end of an ask or clause asks for both modes, never mid-clause or after a not: verified (offers test).
  • Claim: A lone colour after a part goes to the right piece, fill or text, a typed value is not used, and role or variant pieces go to their readers: verified (family-named tests).
  • Claim: Side navigation is the side nav: verified (nav-as-bar test).
  • Claim: A kept palette stays as saved through hand edits and undo, the accent token beside the dial is an exact value, the refusal names the way back with the new wording: verified (newer-recipe tests).
  • Claim: A text colour on an option row reaches its label and description tokens, and a table or markdown block keeps the colour on itself: verified (row-label test).
  • Claim: A text size on a part with several text pieces goes into the largest piece's token, saved as typed, built as the token alone: verified for the top nav heading (tests and probe).
  • Claim: Parts whose sizes come from the parts they hold are refused as before: false (popover and calendar are accepted and get the label-size token; the base refused both).
  • Claim: A border colour is refused only when every side it is on is off, read in order; otherwise its border goes before the part's own settings; per-mode seams and undo bring it as described: verified (border-none-sides and needs-a-border tests).
  • Claim: Use the default theme prints theme add before theme use, and a theme with no base says so: verified (family-named and pieces tests, probe).
  • Claim: A status's banner text goes only to title and description tokens, and a token its buttons share is left and named: verified (roles-and-sides test).
  • Claim: Text asked with a see-through fill deepens it until the text reads, and the unreleased tint-word line is removed: verified (tint-and-mode-pairs and list-items tests).
  • Claim: Flat surfaces keep coloured and status variants and a part's own fill, per mode: verified (four flat tests).
  • Claim: Eight pull requests, five approved at their own final heads, merged in the listed order: verified (approving reviews at each final head; commit order).
  • Claim: The shared-file list, the two record changes, no requirement or decision number defined twice, and one owner approval at this head covering them: verified (per-commit file lists; DEC-11 amended and DEC-20 added; exact-head approval from an engineering owner).
  • Files: packages/cli/api/theme-edit/_settings.mjs: blocking (text size into a container's label token); its note in _check.mjs and .changeset/experimental-theme-text-size-main-piece.md belong to the same findings.
  • Files: The other 15 release notes, docs/specs/AST-050-app-themes/spec.md, both set doc modules, _css.mjs, _edit.mjs, _how-commands.mjs, _how-question.mjs, _how.mjs, _missed.mjs, _palette.mjs, _parts.mjs and the four new leaf modules (line-for-line moves): clear.
  • Files: All 28 changed test files: clear (one holds only a todo).

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 03f2b8f

@josephfarina josephfarina changed the title chore: land 8 reviewed pull requests together (batch fe-theme-3) chore: land 7 reviewed pull requests together (batch fe-theme-3) Nov 21, 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: the deferred build, test and docsite-test jobs run once this review passes, and they have to pass before merge.

The seven experimental theme editor changes match the app-themes record as approved for this head, and the earlier blocking finding is fixed: with #13234 taken out, a text size on a popover or a calendar is refused again. Nothing blocks; three small follow-ups are worth a look:

  • The release note already pending on main, .changeset/experimental-theme-palette-newer-recipe-opens.md (lines 8-9), still says the whole-theme accent token is refused and that undoing a token the newer module does not map writes this CLI's shade, which .changeset/experimental-theme-kept-palette-hand-edits.md now contradicts.
  • how "return to the default theme" answers with the theme switch but still lists "return" as not taken, and "the previous theme" is read as the base theme even when the app used another one.
  • The fields-at-3:1 note prints its command as astryx experimental theme editor … rather than in the app's CLI form that how now uses, so under npx or pnpm dlx it does not run as pasted.
Claims and files checked

Review mode: incremental; reason: none

  • Claim (description): seven theme-editor pull requests land in the listed order. Verified: the history holds the seven member commits in that order, then an exact reverse of the removed one.
  • Claim (description): five members were approved on their own heads, two are reviewed here. Verified: #13091, #13233, #13256, #13044 and #13241 carry an approval at their heads; #13225 and #13186 do not.
  • Claim (description): the listed shared files and the members that touch each. Verified against each member commit's file list.
  • Claim (description): two members change the app-themes record, no decision number is defined twice, and one spec approval for this head covers both. Verified: DEC-11 is amended, DEC-20 is new, and the author's approval names this head.
  • Claim (description): #13234 is taken out. Verified: the last commit is its exact reverse, and a text size on a popover or a calendar is refused again.
  • Claim (description): every member is scoped to the experimental theme editor. Verified: every code change sits in the CLI's theme-edit folder.
  • Changeset: a body font set alone keeps the empty-state title on the heading font on one-family bases, not on two-family bases, and an own font stays. Verified by the dials test and the bundled themes' typography.
  • Changeset: a border colour brings a border; it is refused only when every side it is on is off, read in order; the border goes before the part's own settings; a one-mode colour brings it in one mode only on seam looks; undoing the none brings it back. Verified by the border tests and a run on a tab.
  • Changeset: the 3:1 note prints its exact-colour command in full with the colour quoted. Verified by the border-follows test and a run (see the CLI-form note above).
  • Changeset: a whole-theme border colour moves the fields' edge to that colour or its nearest 3:1 shade per mode, says so, keeps an edge the theme sets, and one undo takes both back. Verified by the field-edge test and a run (1.48:1 to 3.03:1).
  • Changeset: how lines naming stable theme commands start the way the app runs the CLI. Verified by the family-named test and a run.
  • Changeset: "works in light and dark" asks for both modes only at the end of a clause. Verified by the offers test.
  • Changeset: a lone colour after a part goes to the piece it names, fills a part that draws with the accent, ignores typed values and leaves role words to the role readers. Verified by the family-named tests and a run on a banner.
  • Changeset: "use the default theme" prints the add before the use, and a theme with no base says so. Verified by the pieces and family-named tests and a run.
  • Changeset: "side navigation" is the side nav. Verified by the pieces test and a run.
  • Changeset: a status's text size or weight on a banner reaches only its title and description tokens and says what it leaves. Verified by the roles-and-sides test.
  • Changeset: a kept palette stays as saved through hand edits and undo, the accent token beside the dial is an exact value, the way back is named, and the refusal reads as quoted. Verified by the palette tests and the refusal text.
  • Changeset: a text colour on option rows reaches the label's and description's tokens; tables and markdown keep theirs. Verified by the row-label test.
  • Changeset (round 15): a see-through fill deepens for its text, and the tint wording is gone. Verified by the tint test and a run ("tinted forest green" fills solid).
  • Changeset (round 15): flat surfaces keep the coloured variants' fill. Verified by the flat-surfaces test.
  • Changeset (round 15): the line about a whole ask carrying a tint is removed. Verified: the tint pass is gone from the reader.
  • Files: the 15 changesets, the app-themes record, _check.mjs, _css.mjs, _edit.mjs, _how-commands.mjs, _how-sides.mjs, _how-steps.mjs, _how-values.mjs, _how-words.mjs, _how.mjs, _missed.mjs, _palette.mjs and _parts.mjs: clear.
  • Files: _how-question.mjs: note (the default-theme reading; two comments describe the opposite of the lone-colour behaviour). _settings.mjs: note (the 3:1 note's command form).
  • Files: the 26 changed test files (theme-amounts-property-families-zero, theme-border-follows, theme-dials-reach-parts, theme-edit-border-color-needs-a-border, theme-edit-border-none-sides, theme-excepted-part-spacing-border, theme-field-edge-follows-border, theme-flat-keeps-colored, theme-held-flat-fill-banner-text, theme-how-border-sides, theme-how-clause-subjects, theme-how-corner-positions, theme-how-every-clause-answered, theme-how-family-named, theme-how-list-items, theme-how-list-ownership, theme-how-offers-follow-the-answer, theme-how-reads-pieces-and-whole-looks, theme-how-roles-and-sides, theme-how-tint-and-mode-pairs, theme-neutral-mode-words-direction, theme-palette-newer-recipe-opens, theme-palette-unknown-recipe, theme-row-label-color, theme-scope-semantics-fill-lighter, theme-token-family-follows-fills): clear; they pass on this head.

Automated review (maintainer link)

putTok(edge.token, shade, m);
if (shade.toLowerCase() !== String(border).toLowerCase())
(ctx.compileNotes ??= []).push(
`fields kept at 3:1: their edge (${edge.token}) is ${shade} in ${m} mode, the nearest shade of ${border} that reads on their fill; for the exact color: \`${P} set ${data.name} ${edge.token} ${quoteCommandArgument(String(border))}${data.mode === 'both' ? ` --mode ${m}` : ''}\``,

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: this command starts with P (astryx experimental theme editor), while how lines now take the app's CLI form from getCliInvocation. In an app that runs the CLI through npx or pnpm dlx, the line the changeset says "runs as pasted" does not run there. Building it with the project's invocation, as how does, would make the two agree.

clauses.slice(0, i).some(o => o.parts.length > 0) ||
Boolean(next?.parts.length);
// (A list piece that is only a color, with no part in the piece after
// it, is the theme's: "big buttons, a sky blue, high contrast". "red,

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: this comment, and the one at lines 8248-8250, say "big buttons, a sky blue, high contrast" gives the theme's colour and that a button leaves the colour to the accent. The code below fills the button (background-color '#38bdf8' --on button), as the tests and the changeset say. Rewriting both comments to match would save the next reader a detour.

// a change.)
if (
back &&
/\bthe (?:default|base|original|standard|plain|previous|old) theme\b/.test(

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: "return to the default theme" and "go back to the previous theme" take this branch, and the answer then still lists "return" or "previous" as not taken. "The previous theme" also maps to the base theme even when the app used another one; main read it as an undo.

This branch was successfully deployed

1 active deployment
Preview — 03f2b8f5 Deployed Nov 21, 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. merge-batch Batch of approved pull requests landed together

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant