Skip to content

experimental theme how: a file in a follow-up ask is written as typed - #13297

Merged
josephfarina merged 2 commits into
feature/theme-editorfrom
fix/theme-how-url-follow-up
Nov 21, 2026
Merged

josephfarina merged 2 commits into
feature/theme-editorfrom
fix/theme-how-url-follow-up

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

User impact

In a follow-up ask after a question ("how rounded are cards? cards background-image: url(/locales/it/flag.png)"), a word of the file's path that reads as "it" or "them" was swapped for the part the question named, so the file was refused as url(/locales/card corners/flag.png).

Behavior

"Them" and "it" are read on the follow-up ask while its files are still set aside, then the files are put back as typed before the ask is read.

Stack

Stack: #13283 → #13297 → #13298 → #13317

Stacked on #13283 (the url() reading); the stack enters together.

Testing

theme-how-url-file-name.test.mjs: the follow-up ask with url(/locales/it/flag.png) is written as typed (fails on #13283's head).

preflight: pass 468a9db (CI half pass; review: no blocking findings, owner question answered by /approve-spec)

replay: group worse 0 at 6eb7b57 (this head alone is worse; enters only with its group)

@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:34am UTC

Request Review

@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, 2:11 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 owner decision: no current spec record says how astryx experimental theme editor how reads a url() file in a follow-up ask, which is what this change sets (a pronoun-like word inside the path is no longer swapped for the asked part). The fix itself checks out: the new test row fails on the base and passes here, and asks with no such word in a path answer as before.

To move forward, an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner), or names the record that should state how how treats url() values.

  • Optional: the base pull request's release note still says this follow-up case is "not covered yet"; dropping that clause keeps the two notes from contradicting each other in one release.
Claims and files checked

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

  • Description: a path word read as "it" or "them" was swapped for the asked part, so the file was refused with the part's words inside its path. Verified on the base: that exact refusal, with only a carousel hint left.
  • Description: the pronoun is read while the files are still set aside, and the files are put back before the ask is read again. Verified: _how-question.mjs:29922-29929.
  • Description: stacked on #13283 and retargets to main when it lands. Verified: the base branch is #13283's head.
  • Description: the new test row fails on #13283's head. Verified: it fails on the base and passes here, beside the other 13 rows and the 651 theme-how.test.mjs tests.
  • Release note: an experimental patch for the CLI; a file in url() is written as typed in a follow-up ask, and a path word such as "it" or "them" is never read as the asked part. Verified for it, them and IT in a path; "make them 12px" answers as before.
  • File .changeset/experimental-theme-how-url-follow-up.md: clear; the base note's stale clause is the optional point above.
  • File packages/cli/api/theme-edit/_how-question.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

Covers the theme-editor reading this pull request fixes (the owner's ruling on url() values): words inside a url() path are never read as part or look words, so the path is written as typed.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 468a9db

@josephfarina
josephfarina marked this pull request as ready for review November 21, 2026 13:57

@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: CI has not run on this head yet, because its main workflow runs only for pull requests into main; it runs once this change targets main.

The owner decision is recorded: an engineering owner approved the follow-up url() reading for this head. The fix checks out: the new test row fails on the base and passes here, and follow-up asks with no pronoun-like word in a path answer as before.

  • Optional: #13283's release note still says this follow-up case is "not covered yet"; dropping that clause keeps the two notes from contradicting each other in one release.
Claims and files checked

Review mode: same-head; reason: none

  • Title and release note: an experimental patch for the CLI; a file in url() is written as typed in a follow-up ask after a question, and a path word such as "it" or "them" is never read as the asked part. Verified for it, them and IT in a path; "make them 12px" answers as before.
  • Description: on the base, a path word read as "it" or "them" was swapped for the asked part, so the file was refused with the part's words inside its path. Verified on the base: that exact refusal, with only a carousel hint left.
  • Description: the pronoun is read while the files are still set aside, and the files are put back before the ask is read again. Verified: _how-question.mjs:29922-29929.
  • Description: stacked on #13283 in a four-entry stack that enters together. Verified: the base branch is #13283's head and every listed pull request carries the same stack line; only #13283 targets main, so this change is reviewed on its own.
  • Description: the new test row fails on #13283's head. Verified: it fails on the base and passes here, beside the other 13 rows and the 651 theme-how.test.mjs tests.
  • Description: the owner question was answered with /approve-spec. Verified: an engineering owner's /approve-spec names this head. The replay and preflight results it also reports are local run logs, not something the code can confirm.
  • File .changeset/experimental-theme-how-url-follow-up.md: clear; the stale clause in #13283's note is the optional point above.
  • File packages/cli/api/theme-edit/_how-question.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear.

Automated review (maintainer link)

@josephfarina
josephfarina changed the base branch from fix/theme-how-url-typed to main November 21, 2026 15:04
@josephfarina
josephfarina changed the base branch from main to feature/theme-editor November 21, 2026 15:11
@josephfarina
josephfarina merged commit 19165ec into feature/theme-editor Nov 21, 2026
13 checks passed
josephfarina added a commit that referenced this pull request Nov 21, 2026
…as not used (#13298)

Reviewed pull request #13298, merged into the theme working branch with only its own changes (the layer below it, #13297, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…#13297)

Reviewed pull request #13297, merged into the theme working branch with only its own changes (the layer below it, #13283, is already here). It reaches main with the branch's next landing.
@josephfarina

Copy link
Copy Markdown
Contributor Author

Taken out of landing #13377 together with the rest of its group (#13283, #13297, #13298, #13317), which lands as one. The review of the combined head flagged the url() handling (asTyped drops a second url() layer) and the two url release notes. The group stays on the working branch and rides again once a fix pull request that names these enters the branch.

josephfarina added a commit that referenced this pull request Nov 21, 2026
…#13297)

Reviewed pull request #13297, merged into the theme working branch with only its own changes (the layer below it, #13283, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…as not used (#13298)

Reviewed pull request #13298, merged into the theme working branch with only its own changes (the layer below it, #13297, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…#13297)

Reviewed pull request #13297, merged into the theme working branch with only its own changes (the layer below it, #13283, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…as not used (#13298)

Reviewed pull request #13298, merged into the theme working branch with only its own changes (the layer below it, #13297, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…#13297)

Reviewed pull request #13297, merged into the theme working branch with only its own changes (the layer below it, #13283, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…as not used (#13298)

Reviewed pull request #13298, merged into the theme working branch with only its own changes (the layer below it, #13297, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…#13297)

Reviewed pull request #13297, merged into the theme working branch with only its own changes (the layer below it, #13283, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…as not used (#13298)

Reviewed pull request #13298, merged into the theme working branch with only its own changes (the layer below it, #13297, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…#13297)

Reviewed pull request #13297, merged into the theme working branch with only its own changes (the layer below it, #13283, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…as not used (#13298)

Reviewed pull request #13298, merged into the theme working branch with only its own changes (the layer below it, #13297, is already here). It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
- #13196 how: every part named before a colon is a subject of the list
- #13283 experimental theme how: a file named in url() is a value, written as typed
- #13297 experimental theme how: a file in a follow-up ask is written as typed
- #13298 experimental theme how: a second url() layer left unwritten is named as not used
- #13317 experimental theme how: a file's path changes no other ask inside the question reader
- #13251 set: a text size said of a title piece goes on its holder's main text
- #13374 experimental theme how: a label after an earlier part's sentence still sets its setting
- #13396 experimental theme how: a heading's label run reads two-word and hyphenated labels; a short sentence is no heading
- #13263 how: in asks like "Header: navy. Cards: …, gray header." another sentence's part stays an item
- #13378 fix(cli): a radius named for one corner writes that corner only
- #13389 experimental theme how: the url() note no longer lists the follow-up ask as uncovered
- #13435 experimental theme how: the url() layer note names only the phrasing still left out
- #13449 how: a colon-list item is read in the sentence that holds it as typed
@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed on main in #13412.

@github-actions
github-actions Bot deleted the fix/theme-how-url-follow-up branch November 22, 2026 06:04

This branch was successfully deployed

1 active deployment
Preview — 468a9dbb 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant