Repository navigation
experimental theme how: a file in a follow-up ask is written as typed - #13297
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
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
mainwhen 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.mjstests. - 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 forit,themandITin 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.
|
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. |
|
/approve-spec 468a9db |
There was a problem hiding this comment.
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 forit,themandITin 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.mjstests. - Description: the owner question was answered with
/approve-spec. Verified: an engineering owner's/approve-specnames 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.
|
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. |
- #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
|
Landed on main in #13412. |
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 withurl(/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)