Skip to content

experimental theme how: a second url() layer left unwritten is named as not used - #13298

Merged
josephfarina merged 1 commit into
feature/theme-editorfrom
fix/theme-how-url-layer-not-used
Nov 21, 2026
Merged

josephfarina merged 1 commit into
feature/theme-editorfrom
fix/theme-how-url-layer-not-used

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

User impact

"cards background-image: url(a.png), url(b.png)" wrote url(a.png) and dropped url(b.png) with no word about it.

Behavior

The "not used" line compares each ask as typed, its files put back, so in cards background-image: url(a.png), url(b.png) the unwritten second layer is named there as typed. Other phrasings (without the colon, a part said after "on", another ask after a semicolon) still leave it out unnamed; writing two url() layers as one value is a separate change.

Stack

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

Stacked on #13297 (follow-up asks), on #13283 (the url() reading); the stack enters together.

Testing

theme-how-url-file-name.test.mjs: the second layer is named in the "not used" line (fails on #13283's head).

preflight: pass 019e2ac (CI half pass at cb48bad, changeset-only since)

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 2:07pm UTC

Request Review

@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:39 PM UTC

@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 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 fix is needed.

No current spec record says what astryx experimental theme editor how prints in its "not used" line, so an engineering owner needs to provide or identify the governing spec, or decide that a url() layer the command leaves unwritten (the second layer of cards background-image: url(a.png), url(b.png)) is named in that line exactly as typed. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so, being an engineering owner.

Non-blocking: when one file is typed twice (url(a.png), url(a.png)), the line quotes "url(a.png)" beside the write of that same file, because the quote is the first match in the ask.

Claims and files checked

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

  • Changeset: the command names a second url() layer it does not write in its "not used" line, as typed, instead of dropping it. Verified: for the two-layer ask the head adds not used: "url(b.png)", and the base code prints nothing for it.
  • Title: an unwritten url() layer is named as not used. Verified for a second and a third layer.
  • Description: the two-layer ask wrote the first file and dropped the second with no word. Verified on the base code.
  • Description: the "not used" line compares each ask as typed, with its files put back. Verified (_how-question.mjs:32811).
  • Description: writing two url() layers as one value is a separate change. Verified: the head still writes only url(a.png).
  • Description: stacked on #13283, retargeting to main when that lands. Verified: the base branch is that pull request's head.
  • Description: the new test case names the second layer and fails on #13283's head. Verified: it fails on the base code and passes on the head, where all 14 cases in the file pass.
  • .changeset/experimental-theme-how-url-layer-not-used.md: clear; an experimental patch note that matches the code.
  • packages/cli/api/theme-edit/_how-question.mjs: clear, apart from the non-blocking note above.
  • packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear; the new case asserts what the Changeset claims.

Automated review (maintainer link)

@josephfarina
josephfarina changed the base branch from fix/theme-how-url-typed to fix/theme-how-url-follow-up November 21, 2026 11:48
@josephfarina
josephfarina force-pushed the fix/theme-how-url-layer-not-used branch from 493abba to c20d109 Compare November 21, 2026 11:48

@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, and one wording fix is needed.

No current spec record says what astryx experimental theme editor how prints in its "not used" line, so an engineering owner needs to provide or identify the governing spec, or decide that a url() layer the command leaves unwritten is named in that line exactly as typed; an engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

  • Miss: the title and Changeset say an unwritten url() layer is named as not used, but after a property written without a colon (header background url(a.png) no-repeat, url(b.png) repeat-x) the second layer is still dropped with no word, so narrow both to the covered form (layers after the property and a colon, as in cards background-image: url(a.png), url(b.png)) or cover the colon-less form and add it to the test.

Non-blocking: a file typed twice (url(a.png), url(a.png)) is quoted as "url(a.png)" beside the write of that same file, and cards background: url(a.png) no-repeat, url(b.png) repeat-x now names repeat-x in two lines.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: the command names a second url() layer it does not write in its "not used" line, as typed, instead of dropping it. False as a general claim: true for cards background-image: url(a.png), url(b.png), but header background url(a.png) no-repeat, url(b.png) repeat-x still drops the second layer silently.
  • Changeset: an experimental patch for the CLI. Verified.
  • Title: a url() layer left unwritten is named as not used. False as stated, for the same colon-less form.
  • Description: the two-layer ask wrote the first file and dropped the second with no word. Verified on the base code.
  • Description: the "not used" line compares each ask as typed, with its files put back. Verified in _how-question.mjs (asTyped).
  • Description: writing two url() layers as one value is a separate change. Verified: the head still writes only url(a.png).
  • Description: stacked on #13297, on #13283. Verified: the base branch is #13297's head, whose base is #13283's head.
  • Description: the stack enters together. A merge plan, not a code claim; nothing at this head contradicts it.
  • Description: the new test case names the second layer and fails on #13283's head. Verified: it fails there and on this pull request's base, and passes on the head with the other 14 cases.
  • .changeset/experimental-theme-how-url-layer-not-used.md: finding (overclaims, above).
  • packages/cli/api/theme-edit/_how-question.mjs: clear, apart from the two non-blocking notes.
  • packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear; it covers only the form with a colon.

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the fix/theme-how-url-layer-not-used branch from c20d109 to cb48bad Compare November 21, 2026 13:23
@josephfarina josephfarina changed the title experimental theme how: a url() layer left unwritten is named as not used experimental theme how: a url() layer after a colon left unwritten is named as not used 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.

Approval waits on an engineering owner's decision, and one wording fix is still needed.

No current spec record says what astryx experimental theme editor how prints in its "not used" line, so an engineering owner needs to provide or identify the governing spec, or decide that a url() layer the command leaves unwritten is named in that line exactly as typed; an engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

  • Miss: the title, Changeset and description say a second url() layer after a property and a colon is named as not used, but on cards, background-image: url(a.png), url(b.png) and cards background-image: url(a.png), url(b.png); 12px radius on buttons still write url(a.png) and say nothing about url(b.png), so bound the wording to the tested phrasing (cards background-image: url(a.png), url(b.png)) or cover those phrasings and add them to the test.

The current wording follows the correction our previous review suggested, which missed these phrasings. Non-blocking: a file typed twice (url(a.png), url(a.png)) is quoted as "url(a.png)" beside the write of that same file, and cards background: url(a.png) no-repeat, url(b.png) repeat-x names repeat-x in two lines.

Claims and files checked

Review mode: full; reason: history

  • Changeset: the command names a second url() layer it does not write after a property and a colon, as typed, instead of dropping it. False as a general claim: true for cards background-image: url(a.png), url(b.png) and several variants, but on cards, background-image: … and …; 12px radius on buttons still drop the second layer silently.
  • Changeset: without the colon the second layer is still left out unnamed. Verified on both trees.
  • Changeset: an experimental patch for the CLI. Verified.
  • Title: a url() layer after a colon left unwritten is named as not used. False as stated, for the same phrasings.
  • Description: the two-layer ask wrote the first file and dropped the second with no word. Verified on the base.
  • Description: the "not used" line compares each ask as typed, with its files put back. Verified in the pass's quote step.
  • Description: a layer left unwritten after a property and a colon is named. False as a general claim, for the same phrasings.
  • Description: without the colon the ask reader drops the second layer before any clause exists. Verified: the text that reaches the clause reader already lacks it.
  • Description: writing two url() layers as one value is a separate change. Verified: the head still writes only url(a.png).
  • Description: stacked on #13297, on #13283. Verified: the base branch is #13297's head, whose base is #13283's head.
  • Description: the stack enters together. A merge plan, not a code claim; nothing at this head contradicts it.
  • Description: the new test case names the second layer and fails on #13283's head. Verified: it fails there and on this pull request's base, and passes on the head with the other 14 cases.
  • .changeset/experimental-theme-how-url-layer-not-used.md: finding (overclaims, above).
  • packages/cli/api/theme-edit/_how-question.mjs: clear, apart from the two non-blocking notes.
  • packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear; it covers one phrasing.

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the fix/theme-how-url-layer-not-used branch from cb48bad to 019e2ac Compare November 21, 2026 13:56
@josephfarina josephfarina changed the title experimental theme how: a url() layer after a colon left unwritten is named as not used experimental theme how: a second url() layer left unwritten is named as not used Nov 21, 2026
@josephfarina
josephfarina marked this pull request as ready for review November 21, 2026 13:57
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 019e2ac

@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: one title fix.

An engineering owner's /approve-spec for this head settles the "not used" behavior, and the Changeset now matches what the change does; what remains is the title.

  • The title says a second url() layer left unwritten is named as not used, but on cards, background-image: url(a.png), url(b.png), cards background-image: url(a.png), url(b.png); 12px radius on buttons, header background url(a.png) no-repeat, url(b.png) repeat-x and background-image: url(a.png), url(b.png) on cards still say nothing about url(b.png), as the Changeset itself now says, so please retitle to the tested ask, for example "experimental theme how: in cards background-image: url(a.png), url(b.png) the unwritten second layer is named as not used".

Non-blocking: a file typed twice (url(a.png), url(a.png)) is quoted as not used beside the write of that same file, and header background: url(a.png) no-repeat, url(b.png) repeat-x names repeat-x in two lines.

Claims and files checked

Review mode: full; reason: history

  • Changeset: the command names a second url() layer it does not write in its "not used" line, as typed, for cards background-image: url(a.png), url(b.png). Verified by the new test and by running the ask on the head.
  • Changeset: other phrasings (no colon, a part said after "on", another ask after a semicolon) still leave the second layer unnamed. Verified on the head for each, with "on cards" both leading and trailing.
  • Changeset: an experimental patch for the CLI. Verified.
  • Title: a second url() layer left unwritten is named as not used. False as a general claim (the finding above).
  • Description: the two-layer ask wrote the first file and dropped the second with no word. Verified on the base.
  • Description: the "not used" line compares each ask as typed, with its files put back. Verified in the pass's lookup.
  • Description: other phrasings still leave the layer unnamed, and writing two layers as one value is a separate change. Verified: the head still writes only the first layer.
  • Description: stacked on #13297, on #13283, entering together. Verified: the base branch is #13297's head, whose base is #13283's head; the merge plan is not a code claim.
  • Description: the new test case names the second layer and fails on #13283's head. Verified: it fails there and on this pull request's base, and passes on the head with the other 14 cases.
  • Description: the author's replay and preflight reports, and a CI result at an earlier head with only the Changeset changed since. The Changeset-only difference is verified; the tool reports were not rerun, and that earlier head ran only its start and gate checks.
  • .changeset/experimental-theme-how-url-layer-not-used.md: clear.
  • packages/cli/api/theme-edit/_how-question.mjs: clear, apart from the two non-blocking notes.
  • packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear; it covers one phrasing.

Automated review (maintainer link)

@josephfarina
josephfarina changed the base branch from fix/theme-how-url-follow-up to main November 21, 2026 15:04
@josephfarina
josephfarina changed the base branch from main to feature/theme-editor November 21, 2026 15:12
@josephfarina
josephfarina merged commit bb7fdc9 into feature/theme-editor Nov 21, 2026
9 checks passed
josephfarina added a commit that referenced this pull request Nov 21, 2026
… question reader (#13317)

Reviewed pull request #13317, merged into the theme working branch with only its own changes (the layer below it, #13298, 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
…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
… question reader (#13317)

Reviewed pull request #13317, merged into the theme working branch with only its own changes (the layer below it, #13298, 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
… question reader (#13317)

Reviewed pull request #13317, merged into the theme working branch with only its own changes (the layer below it, #13298, 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
… question reader (#13317)

Reviewed pull request #13317, merged into the theme working branch with only its own changes (the layer below it, #13298, 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
… question reader (#13317)

Reviewed pull request #13317, merged into the theme working branch with only its own changes (the layer below it, #13298, 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
… question reader (#13317)

Reviewed pull request #13317, merged into the theme working branch with only its own changes (the layer below it, #13298, 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-layer-not-used branch November 22, 2026 06:04

This branch was successfully deployed

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