Skip to content

chore: land 1 reviewed pull request (batch fe-theme-1) - #13209

Closed
josephfarina wants to merge 9 commits into
mainfrom
josephfarina/land-batch-fe-theme-1
Closed

josephfarina wants to merge 9 commits into
mainfrom
josephfarina/land-batch-fe-theme-1

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This pull request lands 0 reviewed pull requests from the theme editor working branch in one CI run. Each one was reviewed on its own head and merged into the branch in the order listed.

They change no records.

Scope

Taken out after review: #13196.

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

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

Reviewed pull request #12763, merged into the theme working branch. It reaches main with the branch's next landing.
…s its hover and keyboard focus visible... (#12766)

Reviewed pull request #12766, merged into the theme working branch. It reaches main with the branch's next landing.
…n match (#13190)

Reviewed pull request #13190, merged into the theme working branch. It reaches main with the branch's next landing.
…ook keeps its hover and keyboard focus visible... (#12766)"

This reverts commit cd83649.
…elds' edge at the nearest shade that keeps 3:1... (#12763)"

This reverts commit f0cfe64.
Reviewed pull request #13196, merged into the theme working branch. It reaches main with the branch's next landing.
@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 6:35am UTC

Request Review

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

@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
⏳ Waiting for review (for maintainers only) Nov 21, 2026, 6:42 AM UTC

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · ad064f7

Storybook · Sandbox · built from this PR's head

Current run: Heavy CI deferred: runs when review passes and before merge. Lint, typecheck and any path-filtered checks ran on this push.


Generated by PR Enrichment workflow | View current CI run

@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 colon-subject fix works for one-sentence lists, but its sentence lookup misreads an item that another sentence names before its colon.

  • subjectOfColon finds the clause's sentence by its words (packages/cli/api/theme-edit/_how-question.mjs:10865-10877), so in "Header: navy. Cards: white background, gray header." the cards' "gray header" is read as the app header, the answer reports that navy and gray contradict each other, and the cards' white background goes unwritten where main writes it; find the clause's own sentence by position and add that ask as a test row that checks the cards' line.

Non-blocking: the new row at theme-how-clause-subjects.test.mjs:421 asserts never: /contradict/, which cannot fail, because never reads only the written lines and the contradiction is reported in the answer text.

Claims and files checked

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

  • Description: lands #13196 from the theme editor working branch: verified; the net change equals #13196's patch, and the held-out and reverted commits cancel out.
  • Description: each listed pull request was reviewed on its own head: not established; #13196 shows no completed review and its own description defers review to this batch, so its code is reviewed in full here.
  • Description: it changes no records: verified; no knowledge record is in the diff.
  • Description: the listed change makes every part named before a colon a subject of the list: verified for a sentence's first colon (four new rows fail on main and pass here).
  • Description: the scope is the CLI theme editor's how: verified; all code is in packages/cli/api/theme-edit.
  • Description: when this merges, every listed pull request is on main: verified by the same diff comparison.
  • Release note: an experimental patch to the CLI: verified.
  • Release note: a part named as a whole item before its sentence's first colon is a subject, never a piece held inside the first part: verified in the code.
  • Release note: "popover, tooltip and hover card: dark" and "popover and hover card: dark" darken the hover card instead of dropping it: verified against main.
  • Release note: a part named after that colon, or inside a longer name, stays an item as before: true for its two examples, false when another sentence names the same part before its colon (the finding above).
  • File .changeset/experimental-theme-how-colon-subjects.md: its last sentence is false until the fix lands.
  • File packages/cli/api/theme-edit/_how-question.mjs: blocking (sentence lookup).
  • File packages/cli/api/theme-edit/theme-how-clause-subjects.test.mjs: non-blocking (line 421); the other new rows prove what they name.

Automated review (maintainer link)

!!keptWords &&
asked0
.split(/[;!?\n]|\.(?!\d)/)
.filter(sentence => sentence.includes(keptWords))

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.

This picks the clause's sentence by its words, and .some accepts any sentence that holds them. For a clause with no colon of its own, keptWords is only the part's name, so in "Header: navy. Cards: white background, gray header." the cards' "gray header" matches the first sentence and is answered as the app header: the answer reports that navy and gray contradict each other, and "Cards: white background" and "gray header" go unused. Main writes the header and the cards there. Finding the clause's own sentence by position (for example by counting the break joins joinOf records before the clause) avoids it.

{
q: 'Header: navy with white text. Cards: white background, header: gray.',
has: ["background-color '#1e3a8a' --on app-shell-header"],
never: /contradict/,

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.

never is matched only against the editor set lines of the first result (:509-510), and a contradiction is reported in the answer text, so this assertion cannot fail. Assert a written line instead, for example the cards' background-color '#ffffff' --on card --when variant:default --mode light in a "Header: navy. Cards: white background, gray header." row.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec ad064f7

@josephfarina

Copy link
Copy Markdown
Contributor Author

Every pull request in this landing was taken out after review, so there is nothing left to land. The next landing carries the branch's pull requests.

@github-actions
github-actions Bot deleted the josephfarina/land-batch-fe-theme-1 branch November 22, 2026 06:04

This branch was successfully deployed

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