Skip to content

experimental theme how: the url() layer note names only the phrasing still left out - #13435

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

josephfarina merged 2 commits into
feature/theme-editorfrom
fix/theme-how-url-layer-note

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

User impact

The release note for naming an unwritten second url() layer (#13298) listed three phrasings as still left out. In the theme branch all three are named; only a part said after the value still leaves the second layer unnamed.

Behavior

The note names only that phrasing. Examples:

  • named: cards background url(a.png), url(b.png) (no colon), on cards background-image: url(a.png), url(b.png) (the part before the value), cards background-image: url(a.png), url(b.png); 12px radius on buttons (another ask after it);
  • still unnamed: background-image: url(a.png), url(b.png) on cards (the part after the value).

Fixes #13298's release note (url group).

Testing

theme-how-url-file-name.test.mjs (20 tests): one row per phrasing above, each checking whether a "not used" line names "url(b.png)"; the after-value row pins it as still unnamed. No code change.

replay: worse 0 at 3581bc4

preflight: pass 3581bc4

@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:21pm 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, 6:23 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.

Approved: the rewritten release note matches what astryx experimental theme editor how does on the theme branch. The as-typed ask, the ask without the colon, the part said after "on" and another ask after a semicolon all name url(b.png) in the "not used" line, and only a part said after the value leaves it unnamed.

Optional: for background-image: url(a.png), url(b.png) on cards, how writes neither layer and names only the first as not used, so the second sentence could say that rather than only "the second layer is still left out unnamed". CI's workflows run only for pull requests into main, so they check this note when the theme branch lands there.

Claims and files checked

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

  • Claim (changeset): how names an unwritten second url() layer in its "not used" line for the as-typed ask: verified by the existing url test and a probe.
  • Claim (changeset): with the part said after the value, the second layer is still left out unnamed: verified by a probe with a colon, without one, and with "for".
  • Claim (changeset): the entry keeps its experimental tag, patch bump and credit: verified by the changeset check.
  • Claim (description): the old note listed three phrasings as left out: verified against the base file.
  • Claim (description): on the theme branch all three now name the second layer: verified by a probe of each phrasing.
  • Claim (description): text only, no code change: verified, one changed line.
  • File .changeset/experimental-theme-how-url-layer-not-used.md: clear, with one optional wording note.

Automated review (maintainer link)

---

[experimental] `astryx experimental theme editor how` names a second `url()` layer it does not write in its "not used" line, as typed, for the ask `cards background-image: url(a.png), url(b.png)`. Other phrasings of two `url()` layers (without the colon, a part said after "on", or another ask after a semicolon) still leave the second layer out unnamed.
[experimental] `astryx experimental theme editor how` names a second `url()` layer it does not write in its "not used" line, as typed (`cards background-image: url(a.png), url(b.png)`). When the part is said after the value (`background-image: url(a.png), url(b.png) on cards`), the second layer is still left out unnamed.

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.

Optional: for background-image: url(a.png), url(b.png) on cards, how writes neither layer (the answer is a lookup of what cards read) and its "not used" line names background-image: url(a.png). The sentence could say so, for example: "When the part is said after the value (background-image: url(a.png), url(b.png) on cards), neither layer is written and only the first is named as not used."

@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: the release note matches what astryx experimental theme editor how does on the theme branch, and the four new test rows pin each phrasing it mentions or used to list.

Optional, non-blocking:

  • The still-unnamed row (theme-how-url-file-name.test.mjs:179) fails only on the exact "url(b.png)"; matching the unquoted url(b.png), as the row at line 140 does, keeps it failing if the reader later names the layer with the words around it.
  • The earlier wording note on the after-value sentence still applies: that ask writes neither layer, and the not-used line names only the first.

CI's build and test workflows run only for pull requests into main, so they check these rows when the theme branch lands there.

Claims and files checked

Review mode: incremental; reason: none

  • changed rules (0): none
  • Claim (changeset): how names an unwritten second url() layer in its "not used" line for the as-typed ask: verified by the existing url test row and a probe.
  • Claim (changeset): with the part said after the value, the second layer is still left out unnamed: verified by the new row and a probe with and without the colon.
  • Claim (changeset): the entry keeps its experimental tag, patch bump and credit: verified by the changeset check.
  • Claim (description): the old note listed three phrasings as left out: verified against the base file.
  • Claim (description): on the theme branch all three are named, and the three named examples name url(b.png): verified by the new rows and a probe.
  • Claim (description): the after-value example still leaves the second layer unnamed: verified by the new row and a probe.
  • Claim (description): the note being fixed is the one the earlier url pull request added: verified, that pull request added this changeset.
  • Claim (description): the test file has 20 tests, one row per phrasing, with the after-value row pinned as unnamed: verified, 20 of 20 pass.
  • Claim (description): no code change: verified, only the changeset and the test file change.
  • File .changeset/experimental-theme-how-url-layer-not-used.md: clear, with the earlier optional wording note.
  • File packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear, with one optional note on line 179.

Automated review (maintainer link)

'background-image: url(a.png), url(b.png) on cards',
);
expect(
texts.some(t => /^not used/.test(t) && t.includes('"url(b.png)"')),

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.

Optional: this row fails only on the exact quoted "url(b.png)". If a later reader change names the layer with the words around it ("url(b.png) on cards", say), the changeset's second sentence turns false and this row stays green. Matching the unquoted string, as the row at line 140 does, keeps it honest:

texts.some(t => /^not used/.test(t) && t.includes('url(b.png)')),

@josephfarina
josephfarina merged commit 4af8548 into feature/theme-editor Nov 21, 2026
7 checks passed
josephfarina added a commit that referenced this pull request Nov 21, 2026
…still left out (#13435)

Reviewed pull request #13435, merged into the theme working branch. It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
…still left out (#13435)

Reviewed pull request #13435, merged into the theme working branch. 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-note branch November 22, 2026 06:04

This branch was successfully deployed

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