Repository navigation
how: every part named before a colon is a subject of the list - #13196
Conversation
…ver an item of the first part: popover, tooltip and hover card: dark darkens the hover card too
…a head with a colon of its own keeps its items
…sentence's first colon
…se's own sentence
…eeps; a leading determiner does not hide it
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
|
Covers the reading this pull request restores (the owner's ruling, under the restore rule): in a colon list, every part named before the colon is a subject of the list, so "popover, tooltip and hover card: dark" writes the look on the hover card too, as releases before this round did; the first part still answers with a lookup. A replay of every ask against main changes only that answer and finds none worse. |
|
/approve-spec 25cb23c |
|
Taken out of landing #13209 because the review of the combined head flagged a line this change made. A fix as a new pull request rides the next landing. |
Reviewed pull request #13196, merged into the theme working branch. It reaches main with the branch's next landing.
Reviewed pull request #13196, merged into the theme working branch. It reaches main with the branch's next landing.
Reviewed pull request #13196, merged into the theme working branch. It reaches main with the branch's next landing.
Reviewed pull request #13196, merged into the theme working branch. It reaches main with the branch's next landing.
Reviewed pull request #13196, merged into the theme working branch. It reaches main with the branch's next landing.
Reviewed pull request #13196, merged into the theme working branch. It reaches main with the branch's next landing.
- #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
Someone asking
astryx experimental theme editor howfor a look on several parts in one colon list ("popover, tooltip and hover card: dark") got the tooltip changed but the hover card silently dropped, with a "cannot keep popover apart" note instead.Problem and solution fit
The colon-list reader holds a part said once in the singular inside the list's first part, whether or not that part contains it. It applied that even to parts named before the colon, which are subjects of the list, not items. The answer for the hover card was then dropped as not scopable to the popover. The fix exempts a part named as a whole list item before the first colon of the clause's own sentence (a decimal point does not end a sentence), read from the words as asked: the sentence is found by the look after the clause's own colon, which a reader that copies the colon onto each subject ("popover and hover card: dark", "sidebar, header and footer: navy") keeps, and a leading "the", "every" or "our" does not hide a subject. A part named after that colon ("cards: white background, header: navy"), in another sentence's list, or inside a longer name ("icon buttons: round, blue icon") stays an item, as before.
Expected behavior and authority
The answer the editor gave for this ask before the current reading: each part after the first that is named before the colon takes the look; the first part still answers with a lookup, as before.
Smallest restoration
One guard in the colon-list holder rule, read from the words as asked.
Evidence
background-color '#1f2937' --on hover-card.Scope
Components: cli/api/theme-edit (how)
Testing
vitest run packages/cli/api/theme-edit(the whole theme-edit directory) passes.preflight: pass 25cb23c (review deferred to batch)
replay: worse 0 at 25cb23c