Repository navigation
chore: land 6 reviewed pull requests (batch 107) - #13083
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
/approve-spec e3c1185
|
|
/approve-spec e3c1185 |
|
AI review status for this pull request.
|
There was a problem hiding this comment.
Changes requested: four fixes; the spec decisions are approved for this head.
An engineering owner approved the editor behaviours and the two new spec:AST-050 DEC-11 paragraphs at this head, and themePalette() output and the official themes' CSS are unchanged. These need fixing:
test-nodefails three of #13054's own tests at this head and at #13054's own head (theme-how-tint-and-mode-pairs.test.mjs:76,theme-how-variant-own-fill.test.mjs:86,theme-how-clause-scope.test.mjs:539), because the newnamedVariantsandtextAlonebranches in_how-question.mjsskip the per-mode check, so white text asked with a dark-mode-only fill lands on the light secondary button too; keep the per-mode measurement in those branches, or update the tests and the part-02 note if the new reading is meant.savedEntryinpackages/cli/api/theme-edit/_edit.mjs(and the inlinestateNotestrip further down the same file) repeats the list of fields a saved setting drops thatsavedFormin_settings.mjsalready owns, so export one per-setting helper from_settings.mjsand use it in all three places..changeset/theme-round15-part-09.mdsays a page-colour answer and the "Use a theme" guide tell you a page withoutAppShellkeeps the browser's own page colour, but #13048 in this same batch rewrote both to "wrap the page in AppShell; if you can't, add the body rule", so drop that sentence, since.changeset/experimental-theme-page-color-token-path.mdalready describes the shipped wording..changeset/theme-round15-part-03.mdsays an item led by a variant goes to that variant, buthowreadscards: muted #f1f5f9,cards: blue #1d4ed8andbadges: green #15803das colours and writes them on the plain variants, so narrow the line to variant names that are not also colour or describing words, or route those items to the named variant.
Non-blocking: packages/cli/foundation/fs/project-sources.mjs keeps four doc comments whose code stayed in api/doctor/_adapter.mjs, and two CI jobs were still running when this was written.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Description, the five pull requests merged onto main in order with each member's head unchanged: verified; the only conflict, in the app-themes spec record, keeps both new paragraphs.
- Description,
themePalette()output unchanged from main: verified on 225 inputs across recipes, vibrancies and seed sets. - Description, the editor's own additions saved as explicit tokens: consistent with the mapping code; not run end to end.
- Description, the two new app-themes spec paragraphs and their owner approval at this head: verified; they carry no change references or status words.
- Description, the batch builds and tests together: false; test-node fails three of #13054's tests, also at that pull request's own head, while the merged state-word, newer-recipe, doctor, theme build, theme add and palette-engine tests pass.
- Core release notes (four): output unchanged and no look rules shipped to a
themePalette()-only import: verified. - Stable release notes (doctor font service, doctor path aliases, theme build refusals, theme add suggestions): verified in code and tests.
- State-word and newer-recipe release notes: verified by their tests on the merged head.
- Page-colour release notes: the newer note matches the answer, the guide and the test; the part-09 note's browser page colour sentence is false at this head.
- Part-03 release note, an item led by a variant goes to that variant: false for colour-named and describing variants.
- Other experimental editor release notes: not re-run one by one.
- Files read: Core palette sources and the generated CLI copies, the generator script, the AST-050 record, every release note, the stable doctor, theme build and theme add changes, the command docs and client, the render, fs, release and fonts helpers.
- Files searched rather than read in full: the editor's reader, settings, checks, palette, parts and picture-traits modules, and the editor tests.
PR Analysis Report🔎 Preview ·
|
| Package | Where | Signature | Usage | |
|---|---|---|---|---|
| + | cli |
./api/experimental · Types · type ThemeEditChangeData |
fontNotLoaded?: { family: string; run: string[] }[] | undefined |
import type {ThemeEditChangeData} from '@astryxdesign/cli/api/experimental'; const x: ThemeEditChangeData = {fontNotLoaded: …} |
| + | cli |
./api/experimental · Types · type ThemeEditChangeData |
leftProblems?: ThemeEditProblem[] | undefined |
import type {ThemeEditChangeData} from '@astryxdesign/cli/api/experimental'; const x: ThemeEditChangeData = {leftProblems: …} |
| + | cli |
./api/experimental · Types · type ThemeEditChangeData |
missedNew?: number | undefined |
import type {ThemeEditChangeData} from '@astryxdesign/cli/api/experimental'; const x: ThemeEditChangeData = {missedNew: …} |
| + | cli |
./api/experimental · Types · type ThemeEditHowResult |
type ThemeEditHowResult |
import type {ThemeEditHowResult} from '@astryxdesign/cli/api/experimental' |
| ~ | cli |
./api/experimental · Types · type ThemeEditHowResponse |
data: { kind: "part" | "group" | "setting" | "aspect" | "question" | "picture" | "list"; subject: string; [key: string]: any } → data: { kind: "part" | "group" | "setting" | "aspect" | "question" | "picture" | "list"; subject: string; results?: ThemeEditHowResult[]; [key: string]: any } |
import type {ThemeEditHowResponse} from '@astryxdesign/cli/api/experimental'; const x: ThemeEditHowResponse = {data: …} |
Not run on this PR: add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.
Generated by PR Enrichment workflow | View full report
…ge (readers and gates, look families, undo, page text, status and contrast notes)
e3c1185 to
175bfe4
Compare
|
/approve-spec 175bfe4
|
|
/approve-spec 175bfe4 |
There was a problem hiding this comment.
Changes requested: one fix. The copied saved-setting field list and the part-03 and part-09 release notes are fixed, and the spec decisions are approved for this head.
.changeset/theme-round15-part-02.md:11says a text colour goes to each variant only in the modes where it reads, buthow "buttons with white text"writes light-mode white on the secondary and destructive buttons thatsetthen reports at 1.28:1 and 1.51:1, andtheme-how-variant-own-fill.test.mjs:84-92pins those lines; measure each variant withreadsInso destructive gets dark mode only and secondary keeps its own text, or narrow the note to text asked with a fill.
Non-blocking: the part-03 note's "a value for every member" reads wider than what ships, since coloured card and badge variants are offered rather than written.
Claims and files checked
Review mode: full; reason: rebase
- Description: themePalette() output is unchanged from main: verified (Core palette source and build inputs unchanged; output compared byte for byte).
- Description: the editor's own additions are written into the saved theme as explicit tokens: verified (category, chart, status and code colours written as tokens).
- Description: the two new AST-050 DEC-11 paragraphs are owner-approved at this head: verified (an engineering owner's approval comment names this head).
- Description: the one known gap is the destructive button's white text in dark mode: verified as a difference from main, but the same answer also keeps light-mode lines that do not read (see the finding).
- Release note part 02, text colour per variant only where it reads: false for "buttons with white text" (secondary 1.28:1, destructive 1.51:1 in light mode).
- Release note part 03, a variant-led item goes to that variant unless the name is also a colour or a describing word: verified ("badges: success" goes to the success variant; "cards: muted" and "cards: blue" do not); the "every member" clause is imprecise (coloured variants are offered, not written).
- Release note part 09, a page-colour answer lists the parts that draw the page colour: verified.
- Release notes for the state-word and newer-recipe changes: verified by their tests on this head.
- Other release notes: not rechecked line by line.
- Files: the per-variant text colour reader and its tests (5 files): finding; editor modules (26): clear; editor and helper tests (163): clear, 95 delta tests and 91 how, saved, state, set and palette files pass; Core palette split and its generated CLI copy (12): clear; stable doctor, theme build, add and use (12): clear; render and release helpers (10): non-blocking notes; release notes, records and command docs (54): one finding, one note; generated data, goldens and timings (7): clear.
175bfe4 to
7382a22
Compare
|
/approve-spec 7382a22
|
|
/approve-spec 7382a22 |
There was a problem hiding this comment.
Changes requested: one fix. The part-02 release note now says only what ships, and the spec decisions are approved for this head.
- Miss:
how "cards with a border on top, and bottom padding 8px"writes nothing on this head whilemainwrites the top border and the bottom padding, because the comma rule atpackages/cli/api/theme-edit/_how-question.mjs:653refuses a comma followed by "and"; end the side list at that comma too when a look follows, and add the ask totheme-how-border-sides.test.mjs.
Non-blocking: how "buttons with white text" also drops the secondary button's readable dark-mode line, not only the destructive one the description names as the known gap, and the part-03 note's "a value for every member" still reads wider than what ships.
Claims and files checked
Review mode: full; reason: rebase
- Description: themePalette() output is unchanged from main: verified (247 inputs compared on both trees, all identical).
- Description: the editor's own additions are written into the saved theme as explicit tokens: verified in the editor's palette code; every bundled theme's built CSS is identical to main.
- Description: the two new app-themes paragraphs are owner-approved at this head: verified (an engineering owner's approval names this head and the spec-owner status passes).
- Description: the one known gap is the destructive button's white text in dark mode: narrower than the change; the secondary button's dark-mode line is dropped too.
- Release note part 02, text asked with a fill goes to each variant only in the modes where it reads: verified ("gold buttons with black text", "buttons with a navy background in dark mode and white text", on this head and main).
- Release notes for the palette split in Core: verified (themePalette output identical; the built mapping imports none of the editor rules).
- Release notes for doctor's font-service warning and tsconfig aliases, and the theme build and theme add refusals: verified in the code.
- Release notes for state words and newer-recipe themes: verified by their tests, which pass in CI; of the hand-edit cases raised on the newer-recipe change, two reproduce and are noted as non-blocking, and one did not reproduce.
- Release note part 03, a colour said first is a value for every member: imprecise (coloured variants are offered, not written).
- Other release notes: not rechecked line by line.
- Files: the side-list reader and its test (2): finding; other editor modules (27): checked through CI's passing tests and probes; editor tests and helpers (165): pass in CI; Core palette split, its generated copy and generator (8): clear; stable doctor, theme build, add and use (13): one non-blocking note; render helpers (9): checked through tests; command docs, CLI client and font list script (10): clear; release notes and the app-themes record (46): one note; generated data, goldens and timings (9): clear.
7382a22 to
4169e16
Compare
|
/approve-spec 4169e16
|
|
/approve-spec 4169e16 |
e1d0f1d to
01fcb4b
Compare
|
Covers the five members at this head under the owner's rulings:
|
|
/approve-spec 01fcb4b |
…e opens unchanged A palette recipe this CLI does not make keeps the saved palette and the settings module the newer CLI wrote exactly as they are; show builds the same CSS theme build makes of them, and a note names the recipe. Changes that leave the colors alone save and keep each token as the saved module writes it; a change to what the palette is made from (a color dial, the vibrancy, the whole-theme accent token, or a seed or color added by hand) is refused, naming the recipe and what still works, with no update step. That CLI's build of the same settings counts as current. Recorded in AST-050 beside DEC-11. [skip ci]
01fcb4b to
ec8e97a
Compare
|
Covers the five members at this head under the owner's rulings:
|
|
/approve-spec ec8e97a |
… offline, so kept and fresh runs name the same versions [skip ci]
# Conflicts: # docs/specs/AST-050-app-themes/spec.md
ec8e97a to
604fe5b
Compare
|
Covers the five members at this head under the owner's rulings:
|
|
/approve-spec 604fe5b |
There was a problem hiding this comment.
Approved pending CI. The last review's release-note and description fixes are in, an engineering owner's /approve-spec covers the spec decisions at this head, and themePalette() and every bundled theme's CSS are unchanged. Build, test and docsite-test run once review passes, and they must pass before merge.
Non-blocking, for the follow-ups:
- The 19 asks the description lists as answering worse than
mainreproduce as listed, so their follow-up pull requests are worth landing soon after this batch. - The two-colour note is still added to every result with options, a border's included (
packages/cli/api/theme-edit/_how-question.mjs:29179-29182). - The corner offer says
as "only" sayseven when the ask had no "only" (how "cards rounded on top",_how-question.mjs:22547).
Claims and files checked
Review mode: full; reason: rebase
Description claims
- The six pull requests are merged onto current
mainas merge commits, in order: verified (each member's commits are in this branch, which sits on today'smainand merges cleanly). themePalette()output is unchanged frommain: verified (identical output on 158 seeded inputs, and all seven bundledtheme.cssfiles build byte-identical).- The editor's own additions are written into the saved theme as explicit tokens: verified by the passing palette and look tests.
- #13048 ends with four commits after its earlier reviewed head (main's reading restored, two text colours in a state list named, release notes rewritten twice): verified against its commits.
- The restored readings (state lists, a text colour for every button, family groups only with
--on, checkbox and radio sizes and the other listed readings): verified by the passing tests and probes on both trees. - A replay of about 17,400 asks: not checkable here.
- Differences where
mainmisreads the ask: all 20 examples given verified on both trees; the two GitHub dark-theme prompts are not given, so not checked. - The 19 asks that answer worse than
main: 10 probed and each answers as listed (page gradient, the three button-text asks, the light-blue secondary tint, no rounding anywhere, the hover card, three "bold system type" asks); the card-look prompts and the other asks are not given, so not checked. - The four newer-recipe cases carried from #12735: disclosed, and the record and release note now limit kept shades to a theme not edited by hand and name the undo exception: verified.
- #13153 is test-only: verified (one test helper); main's test leg failing since 0.7.17: not checkable here.
spec:AST-050DEC-11 gains two paragraphs, approved on each member and at this head: verified.- The writing rubric results for those paragraphs: verified (present tense, no references, open questions or project status).
Release notes
experimental-theme-how-checks-size.md: verified (set … --on checkbox-indicator --when size:smsaves here;mainrefuses it).experimental-theme-palette-newer-recipe-opens.md: verified against the record and its tests.- The other 43 notes: checked against their passing tests and the probes; each is a patch note that names the command, the editor or the palette entry it changes.
Files
packages/cli/api/theme-edit/_how-question.mjs: two non-blocking notes (above).- The 45 release notes under
.changeset/anddocs/specs/AST-050-app-themes/spec.md: clear. - The other theme editor modules,
how/how.mjs,theme-edit.type.mjsand the editor command docs: clear, judged by their tests and the probes. - Core
packages/core/src/palette/(color.ts,derive-look.ts,editor-look.ts,mapping.ts), the CLI's generated palette copies andscripts/generate-cli-palette-engine.mjswith its test: clear (no output change). doctor,theme build,theme addandtheme usesources, the fs, release-lock and render helpers, the response-type and use-a-theme docs,package.json, the font list and its script, the three goldens andscripts/vitest-node-durations.json: clear.- The theme editor, theme, doctor, render, fs and palette tests and test helpers, including the packed gather-cache fixture: clear.
| : '0', | ||
| ); | ||
| return { | ||
| text: `${sideWords(named.corners)} on ${on}: already rounded (now ${nowSaid}); ${sideWords(others)} stay as they are. To square ${sideWords(others)} too, as "only" says, run this line`, |
There was a problem hiding this comment.
Non-blocking: this offer always says as "only" says, so how "cards rounded on top", which has no "only", answers To square the bottom corners too, as "only" says, run this line. Say it only when the ask said "only", and otherwise offer the line without it.
Merges these reviewed pull requests onto current main as merge commits, in order. This branch checks that they build and test together on today's main.
Scope
The experimental theme editor's round 15, parts 2–25, as three stacked changes, then two changes on top of them. One writes a state the part marks another way as that state. The other opens a theme whose palette recipe a newer CLI made without changing it. themePalette() output is unchanged from main. The editor's own additions are written into the saved theme as explicit tokens.
#13048 ends with four commits that its earlier reviewed head did not have. The first restores main's reading where round 15 read an ask worse than main (state lists keep their state on every item; a text color asked for every button goes to every mode; family groups are named only with
--on; checkbox and radio sizes, progress-bar pieces, shadow words, colour-word alerts, accents, links, badges and corners read as main reads them). The second names two text colors said in one state list as such, never as a "then" step. The third and fourth rewrite the release notes so they name only what ships. Every editor answer was replayed against main on about 17,400 asks: each answer here is main's answer, a superset of it, or one of the differences listed below.Differences from main where main misreads the ask
These answers differ from main on purpose, because main's answer does not do what was asked:
Known differences from main
These 19 asks answer worse than main here. Each is fixed in a follow-up pull request after this one merges:
Four cases on a theme whose palette recipe a newer CLI made are carried from #12735 and fixed in its follow-up pull request: three where settings are edited by hand (hand-added corners recolor its dark mode; a hand-removed both-mode token comes back at this CLI's shade; a hand-changed seed blocks the way back), and an undo that names a whole-theme color token the newer module doesn't map, which writes this CLI's shade. Until then AST-050 DEC-11 says a change keeps the shades for a theme not edited by hand; the follow-up puts the wider sentence back.
#13153 is test-only: the packed gather-cache test fixture keeps the packed CLI's background release check off the live registry, so a published release no longer changes its answers (main's test leg has failed since the 0.7.17 release was published). It goes in this batch so main is fixed when the batch merges.
Records
spec:AST-050DEC-11 gains two paragraphs, kept side by side: how the editor writes a state word, and how it treats a theme whose palette recipe it does not know. Each is the owner's decision, recorded by/approve-specon its member and at this head./approve-speccomments.Writing rubric results
Record rubric (
docs/contributing/spec-writing.md) over the two paragraphs added to AST-050 DEC-11, as each member reports and as they stand here together:#numbers,/pull/or/issues/).The round-15 members report their own results in their pull requests.
When this merges, each pull request above is closed with a note that names this one.