Repository navigation
experimental theme: fourteenth round of fixes (neutral variants, readable role text, one-browser pictures) - #12097
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
| Package | Where | Signature | Usage | |
|---|---|---|---|---|
| + | cli |
./api/experimental · Types · type ThemeEditChangeData |
changedPartTokens?: string[] | undefined |
import type {ThemeEditChangeData} from '@astryxdesign/cli/api/experimental'; const x: ThemeEditChangeData = {changedPartTokens: …} |
| + | cli |
./api/experimental · Types · type ThemeEditChangeData |
missedOn?: string[] | undefined |
import type {ThemeEditChangeData} from '@astryxdesign/cli/api/experimental'; const x: ThemeEditChangeData = {missedOn: …} |
| ~ | cli |
./api/experimental · Types · type ThemeEditNewResponse |
data: { theme: string; like: string | null; files: { settings: string; source: string; css: string; module: string }; settings: string[]; notes: string[]; problems: s … #d0a7dc04 → data: { theme: string; like: string | null; files: { settings: string; source: string; css: string; module: string }; settings: string[]; notes: string[]; problems: s … #dbeccff7 |
import type {ThemeEditNewResponse} from '@astryxdesign/cli/api/experimental'; const x: ThemeEditNewResponse = {data: …} |
| ~ | cli |
./api/experimental · Types · type ThemeEditUndoResponse |
data: { theme: string; action: "step"; undid: string; refusedBefore?: string; undone: string[]; next?: string; settings: number; stepsLeft: number; changedTokens: str … #89204cd7 → data: { theme: string; action: "step"; undid: string; refusedBefore?: string; undone: string[]; next?: string; settings: number; stepsLeft: number; changedTokens: str … #86463b31 |
import type {ThemeEditUndoResponse} from '@astryxdesign/cli/api/experimental'; const x: ThemeEditUndoResponse = {data: …} |
Not run on this PR: add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.
CI impact: 0 job-min per update · pool 0% · time to green −25.8 min · standard runners · 1 other workflow changed (not measured)
| Before | After | Change | |
|---|---|---|---|
| Job-minutes per PR update | 182 | 182 | 0 |
| Runner pool, runner-minutes a day | 63,754 | 63,754 | 0 (0%) |
| Average concurrent jobs | 44.3 | 44.3 | 0 |
| Time to green (median → this run) | 45.4 min | 19.7 min | −25.8 min |
| Runs a day | 350 | 350 | 0 |
Other workflows: deploy.yml changed: runs on push, workflow_dispatch; standard runners; its minutes are not measured here
Assumptions: before is each job's average over the last 20 pull-request runs; after keeps that for unchanged jobs and uses this run's minutes for added or changed ones, weighted by how often each changed job ran in those runs; runs a day averages the seven whole days before today; time to green compares this run with the median of those runs that ran the same jobs.
Generated by PR Enrichment workflow | View full report
a3b8974 to
d408822
Compare
There was a problem hiding this comment.
Changes requested: five problems need fixing first, and approval also waits on an engineering owner's decision about behavior no current spec covers.
asPrimitiveinpackages/cli/api/theme-edit/_edit.mjs:3011re-implementswrittenPrimitivefrompackages/cli/api/theme/build/written-values.mjswithout its BigInt step, so callwrittenPrimitive(mapping array halves) instead of keeping a second copy.radiusInputProblems(packages/cli/api/theme/build/radius-values.mjs:59) warns about and refuses a booleanbaseormultiplieras NaNpx, but Core builds{base: true, multiplier: 1}as--radius-element: 2px, so drop that branch or give it a true message, and correct the matching sentence in.changeset/b-radius-and-font-fallbacks.md.- The
--pngdescriptions ofexperimental theme editor new,set,showandundostill say a browser is stopped after 60 seconds, but a batch now gets 60 seconds plus 20 seconds for each extra picture (packages/cli/api/theme-edit/_preview.mjs:2163), so update all four. scripts/vitest-node-durations.json:1647-1648keep two top-level entries outsidesecondsthat nothing reads, so delete them.- Miss: the description says
theme buildrefuses a radius scale with no base, but it only warns and builds on (only the editor refuses), so correct that sentence.
The Node test plan now fits the per-leg budget and CI admits the run, which fixes the earlier leg-budget failure. No current spec governs the editor's new reading rules, checks, role-color reach, picture batching and show going on past large images or unwritable folders, palette recipe astryx-oklch-v2's gray fade, the new theme build warnings and refusals, the new theme use text line, or the new experimental JSON fields. An engineering owner provides or identifies the governing spec for them, or records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
Claims and files checked
Review mode: full; reason: history
Claims:
- PR description: a plain fill on a part with colored or status variants writes only its neutral variants, names the kept ones and offers a line for each: verified (keptLines pass in _how-question.mjs; theme-how-variant-looks, theme-how-draws-modes-clearly-light pass)
- PR description: transparency words change a border's color, never its width; several colors in one ask each take the way: verified (visibilityAsk, joined-colors rewrite; theme-how-asks-read passes)
- PR description: a ring at rest goes in front of the part's own shadow, and a focus ring is a ring only when focus is said: verified (ring-at-rest branch in _how-question.mjs; theme-how-asks-read passes)
- PR description: a part word is a word of its own, never half of a hyphenated compound, and a word that names no part says so and writes nothing: verified (clausesOf hyphen guard; theme-compound-words passes)
- PR description: a deeper or darker accent adds a dark-mode line: verified (nearDark in _how-question.mjs; theme-deeper-accent-dark-line passes)
- PR description: role text starts from the fill the theme shows, and its note names the role: verified (_palette.mjs; theme-role-text-follows-exact-fill passes)
- PR description: an exact secondary text color is kept where it reads and replaced by the nearest readable shade where it does not: verified (_palette.mjs, compileTheme lift; theme-exact-secondary-text-stays-readable passes)
- PR description: text on a role fill reaches black or white where nothing else reads, and an accent far from the base's info hue gets a note: verified (_palette.mjs gray-ramp end, infoClashNotes; theme-on-color-reaches-black-or-white, theme-info-clash-note pass)
- PR description: a token a part reads only in one variant says so and offers the token its default look reads: verified (_compiler.mjs; theme-token-read-in-variant passes)
- PR description: a change lists every custom property whose built value moved, part tokens in a new changedPartTokens field: verified (partTokenChanges in _settings.mjs; theme-changed-tokens-built-values passes)
- PR description: a font setting the theme file overrides says so, naming the file and line: verified (ownFamilyNotes in _edit.mjs; theme-own-family-note passes)
- PR description: show --png takes every picture of a run with one browser, a few pages at a time, and is faster; group names count as their parts; tall rows are never cut; focus rings have room; the sample page has links: verified (screenshots() in _preview.mjs, eachAtOnce, touchedFamilies, cutTall, SHEET_CSS, _catalog.mjs; theme-pictures-one-browser passes), except that faster is not measured
- PR description: a part label inside a value, a pasted result line, new with comma pairs, copy debris on a base name and a px unit on a px dial are read as meant: verified (partInValue, normalizeEntry, withoutDebris, dialNumber; theme-typed-forms-read, theme-dial-number-unit pass)
- PR description: theme build warns misspelled fields reached through a reassigned let, a dynamic import, a const member, an array element, a ternary branch or Object.assign: verified (readModule assignments, objectsOf, namespaceOf in input-fields.mjs; build-stable-fields-through-expressions, theme-build-unusual-inputs pass)
- PR description: theme build warns Map/Set tokens and [light, dark] pairs with a half that is no color, and stops at a field holding an object with no text form: verified (input-fields.mjs, written-values.mjs; theme-build-unusual-inputs, theme-values-build-warns-light pass)
- PR description: theme build refuses a radius scale with no base: false; theme build warns it and builds on (build.mjs badRadius into its warnings; build-stable-typography-values test 'warns a radius scale'), and only the editor refuses (blocking finding above)
- PR description: theme build --watch follows import x = require(): verified (parsedSpecifiers in template-needs.mjs; theme-starter-typescript-imports passes)
- PR description: theme use opens its receipt with the default it set: verified (clients/cli/commands/theme.mjs:802-811, text only)
- PR description: palette recipe v2 fades a gray family toward white: verified (generator.mjs:332, neutral families under astryx-oklch-v2 only; recipe-v2 passes)
- PR description: show on a theme holding an image over 8 MB draws the rest and names the image: verified (render-page.mjs leaveLargeStyleAssets, _context.mjs note; theme-previews-truly-file-regular passes drawing for real)
- PR description: a theme folder that cannot be written is named by the picture run instead of a temp file: verified in code (_context.mjs UNWRITABLE in familyPages, _edit.mjs show)
- PR description: the editor builds a page's component items once per Core install and keeps them in the theme cache, so later pages take a fraction of the time: the cache is verified (_preview.mjs cachedComponentItems keyed by its code and the Core install); the time saved is not measured
- PR description: the editor's tests stand in for drawing by default, files that read drawn pages draw for real, and the stand-in gives the same page list as a real drawing: verified (vitest.setup.node.mjs, theme-render-stub.mjs; theme-renders-end-to-end compares the family sections of a real and a stand-in sheet and passes)
- PR description: end-to-end tests drive real drawing for every command that renders: verified for new, set, undo, show, show --png and preview add (theme-renders-end-to-end)
- PR description: a teardown check fails the run if a test writes into the checkout: verified in code (vitest.global-setup.node.mjs with checkout-writes.mjs); inert in this run, which had no git work tree
- PR description: THEME_EDIT_REAL_RENDERS=1 draws for real everywhere, and the hourly full run on main sets it: verified (theme-render-stub.mjs; the deploy workflow's test:node step, which main's heavy-lanes scheduler dispatches about hourly)
- PR description: the full CLI suite passes on a main-based tree in both modes: not checked whole; all 122 changed test files pass on the head in the default mode
- PR description: structure, changesets, tsc, eslint and prettier are clean: verified for structure, changesets and the CLI typecheck on the head; eslint and prettier through CI's Lint workflow, which passed at this head
- PR description: recorded Node test times for this round's files are included and fit the per-leg budget: verified (longest leg 1,362 s against 1,387 s), but two stray top-level entries remain (blocking finding above)
- Changeset
b-radius-and-font-fallbacks.md, theme build warns and the editor refuses a radius scale with no base or multiplier or one that is no number, because Core builds NaNpx; base-family fallbacks kept; kind-based fallbacks; base-loaded families not called unloaded: false for a boolean field, which Core builds as 1 (radius-values.mjs:59); the font parts verified (compileTheme fallbacks, aloneFallbacks, fontNotes baseLoads; theme-typography-family test) - Changeset
b-rounded-font-help.md, font help names rounded as Nunito and when a picture names a missing font: verified (_tables.mjs:197, :553-558; theme-picture-fonts test) - Changeset
base-redraws.md, a whole-theme token the base draws past is reported as not reaching; set, how notIn and value questions say so: verified (baseRedraws in _settings.mjs, _edit.mjs notes, _how.mjs notIn; theme-base-redraws test) - Changeset
deeper-accent-dark-line.md, too-dark role color keeps dark shade 70 and set offers the nearest passing shade; how adds a dark line: verified (_palette.mjs closer note; _how-question.mjs nearDark; theme-deeper-accent-dark-line test) - Changeset
exact-secondary-text-stays-readable.md, exact secondary text keeps the readable lift on lifted parts: verified (_palette.mjs literal/from; compileTheme at()) - Changeset
experimental-theme-asks-of-parts.md, references, two-state readings, selected+hover token, switch on color, tighter rows, overlay list border, border on a part with no border refused: verified (_how-question.mjs, _check.mjs lineRefusal; theme-asks-of-parts passes) - Changeset
experimental-theme-broken-words.md, pictures name words broken inside the word: verified (cut-short.mjs brokenWords, _context.mjs cutShortNote; theme-pictures-broken-words test) - Changeset
experimental-theme-button-style-check.md, buttons soft and outline are contrast-checked: verified (buttonStyleProblems; theme-scoped-text test) - Changeset
experimental-theme-changed-tokens-built.md, changedTokens and new changedPartTokens list every moved property, in JSON and text: verified (partTokenChanges, commitTheme; theme-changed-tokens-built-values passes) - Changeset
experimental-theme-compound-words.md, part words never match half a hyphenated compound: verified (clausesOf; theme-compound-words passes) - Changeset
experimental-theme-contrast-low.md, one token line for a faint whole-theme text color; darker fill line for a pale fill; base-drawn failures said by show: verified (wholeOf/wholeGrounds, _palette.mjs darker fix, isCheckNote; theme-contrast-low, theme-contrast-check-measures-draws tests) - Changeset
experimental-theme-destructive-lookalike.md, a destructive button close to the primary in OKLab is a note: verified (destructiveLookalike, LOOKS_ALIKE 0.1; theme-destructive-lookalike test) - Changeset
experimental-theme-dial-number-unit.md, text-size takes 24px as 24 in set, undo, new and saved values: verified (dialNumber; theme-dial-number-unit passes) - Changeset
experimental-theme-how-answer-wording.md, answer wording fixes: no bare when, plurals, whole-verb keeps, colors-now ignored, not-X asks, shared descriptor, tinted near colors, one-line looks: verified (withoutColorNow, withoutLooksNow, pluralOf, nearOff tint; theme-how-answer-wording test) - Changeset
experimental-theme-how-app-pasted-css-variables.md, pasted app CSS variables, glass words, gridlines, sides and widths, sized ways, readable-text line beside a fill: verified (draftAnswer rewrites, namedProperty side/width, readable-text pass; theme-readers-thin-headings-weight test) - Changeset
experimental-theme-how-asks-read.md, transparency, joined theme colors, rings at rest, toggle group buttons, date picker days, unknown words: verified (visibilityAsk, joined-colors rewrite, ring branch, _part-words.mjs, beforePartWord/possessiveWord; theme-how-asks-read passes) - Changeset
experimental-theme-how-mostly-draw-light-dark.md, page color word per mode, border keeps part's dark border, unchecked/unselected keep checked look, complaint colors, instead-of, header row, state passing, token list, destructive kept, dark tones only for said words, links under 2.5:1: verified (pageTones/toneLike, border keep, unselected pass, complaint pass, _part-words.mjs, 2.5 ratio; theme-how-clause-scope test) - Changeset
experimental-theme-how-neutral-variants.md, plain fill goes only to neutral variants, with a line per colored variant: verified (keptLines pass; updated how tests) - Changeset
experimental-theme-how-one-line-looks.md, list looks, dark purple theme, at night, pastel, deeper, red for alerts, hue-named color, weights, system font, one-mode border; app shell page background: verified (draftAnswer rewrites; theme-how-one-line-looks, theme-main-panel-own-fill tests) - Changeset
experimental-theme-how-order-leaves-out-would.md, all-in-order answers drop no-op steps; heavy shadows; already-that-color text: verified (_how.mjs finish noOp filter; aspectsOf heavy; colorCheck; theme-readers-joined-drops-alone test) - Changeset
experimental-theme-how-variant-looks.md, button fills keep destructive red; text skips variants whose fill hides it; grays on surfaces mirror; text on gradient; toggle buttons: verified (variant passes, onSurfaces/themeShade mirror, _part-words.mjs; theme-how-variant-looks test) - Changeset
experimental-theme-missed-parts-named.md, new reports missed/missedParts/missedOn; changes name missed parts; square-by-design base; section pictures family first: verified (missedSummary, missedLine, corners guard, OPEN_GROUP; theme-missed-parts-named test) - Changeset
experimental-theme-missed-step-lines.md, one line where one setting reaches a part; next-step note; error toast text: verified (textFollows, sayNextStepClears; theme-missed-step-lines test) - Changeset
experimental-theme-near-property-form-family.md, undo names a property set in another form of the same family: verified (_edit.mjs family()/sameFamily) - Changeset
experimental-theme-new-color-warnings.md, new checks its color flags as set does: verified (newTheme paletteFailures; theme-new-color-warnings test) - Changeset
experimental-theme-pages-stand.md, show keeps going past a theme image over 8 MB, naming it in its notes, and past an unwritable theme folder, naming the folder: verified (render-page.mjs leaveLargeStyleAssets for CSS files, _parts.mjs passes it, _context.mjs names the file in show's notes; theme-previews-truly-file-regular passes drawing for real; _context.mjs UNWRITABLE in familyPages and _edit.mjs show) - Changeset
experimental-theme-part-own-fill.md, text on a fill the theme sets on an unfilled part is measured and fixed there: verified (nearerFillOf, groundPart; theme-part-own-fill-contrast test) - Changeset
experimental-theme-pictures-one-browser.md, one browser start for all pictures, a few pages at a time; focus ring room; links on the sample page: verified (screenshots(), eachAtOnce, SHEET_CSS, _catalog.mjs; theme-pictures-one-browser passes) - Changeset
experimental-theme-placeholder.md, loading placeholder under 1.2:1 is a problem or a base note: verified (placeholderProblems; theme-placeholder passes) - Changeset
experimental-theme-progress-bar-height-track.md, progress bar height goes to the track; date picker selected day points to the calendar: verified (_how-question.mjs track branch, noState other part; theme-progress-bar-height-track test) - Changeset
experimental-theme-receipts-and-pointers.md, dial-value words offer their dial; inner part with the state offered; no-op mode/base says no undo step; one-mode themes list own mode first: verified (DIAL_VALUE_WORDS, inner state lines, no-change note, commitTheme order; theme-edit-receipts-and-pointers test) - Changeset
experimental-theme-receipts-happened-value-font.md, already-set receipts, undo names the still-applying setting, theme add wiring note, exact size past the rungs: verified (experimental/theme.mjs unchanged line, nowAppliesIn, mode note, beyond line; theme-receipts-happened-value-instead test) - Changeset
experimental-theme-saved-state-lines.md, saved aria-pressed state named by the part's own state in every line: verified (readSavedStates/LOADED_STATE; theme-saved-state-lines, theme-aria-state-name tests) - Changeset
experimental-theme-sheet-cells-b.md, tall family pictures cut at 1600px; looping animations mid-round; status dot colored; divider height; full-row variants; deprecated and closed overlays not drawn: verified (cutTall/pagesOfPicture, SETTLE_ANIMATIONS, demoProps required samples, SHEET_CSS, showcaseItems; theme-sheet-cells-b test) - Changeset
experimental-theme-show-png-families.md, edited: tall families are cut into numbered pictures: verified (pagesOfPicture, lookAtPictures cuts) - Changeset
experimental-theme-starter-typescript-imports.md, preview app refuses a starter reaching outside its folder through import-equals or a reference path: verified (template-needs.mjs referencedPaths and TSImportEqualsDeclaration, _preview-app.mjs importSpecifiers; theme-starter-typescript-imports test) - Changeset
experimental-theme-table-rows.md, tighter table rows lead with spacing and offer body-cell block padding: verified (rowPad branch in _how-question.mjs) - Changeset
experimental-theme-token-name-free-without.md, new offers a free name for a token name typed as the theme name: verified (newTheme asToken; theme-receipts-happened-value-instead test) - Changeset
experimental-theme-token-read-in-variant.md, a token read only in another variant says so with both lines: verified (_compiler.mjs; theme-token-read-in-variant test) - Changeset
experimental-theme-typed-forms-read.md, part beside a value, pasted result line, comma pairs on new, copy debris, weight-named family: verified (partInValue, readsTyped scope, normalizeEntry, byColon split, withoutDebris, fontListProblem words) - Changeset
fix-theme-use-default-line.md, theme use opens its text receipt with the default it set; JSON unchanged: verified (clients/cli/commands/theme.mjs:802-811 emits text only) - Changeset
flat-own-fill.md, under flat, a panel with its own fill in a mode keeps its pieces: verified (compileTheme ownFill; theme-flat-pieces test) - Changeset
floating-edge.md, under flat, floating panels keep their fill and a hairline border; a floating panel within 1.1:1 with no edge is a problem: verified (FLOATING_PANELS/FLOATING_SURFACES, floatingEdgeProblems; theme-floating-edge passes) - Changeset
gray-fade-v2.md, recipe v2 fades gray families toward white; v1 and shipped palettes unchanged: verified (generator.mjs gated on PALETTE_RECIPE_V2; every shipped palette receipt names astryx-oklch-v1; recipe-v2 passes) - Changeset
info-clash-note.md, a far accent with info unset gets a note with an in-between info: verified (infoClashNotes; theme-info-clash-note test) - Changeset
neutral-same-grays.md, a neutral that grows the base's own grays says the surfaces keep their colors: verified (GRAYS_SHOWN note in _edit.mjs; theme-neutral-same-grays test) - Changeset
on-color-reaches-black-or-white.md, text on a role fill uses the gray ramp's end when that reads better: verified (_palette.mjs best.r < TEXT branch; theme-on-color-reaches-black-or-white test) - Changeset
role-dials-reach-base-colors.md, role colors reach parts the base draws in that role; missed list drops them; own part settings stay: verified (roleReach, compileTheme, _missed.mjs reached filter; theme-role-dials-reach-base-colors, theme-role-tokens tests) - Changeset
role-text-follows-exact-fill.md, role text starts from the exact fill and names the role: verified (_palette.mjs shown/start and note wording) - Changeset
theme-build-color-pair-halves.md, pairs with any non-color half warned; computed values named; base named only when it holds the value: verified (isOtherThanColor, nullLine, Object.is in build.mjs; theme-values-build-warns-light test; a warm build reads the kept answer back, css-checks.kept test) - Changeset
theme-build-fields-through-expressions.md, misspelled fields through member, array, ternary, Object.assign, defineTheme arg; doctor names both causes; extends cycles refused; known-gone render folders removed: verified (objectsOf, theme-checks.mjs, defineThemeInput cycle error, renderOwnerGone; build-stable-fields-through-expressions, theme-checks, theme-wrong-shape-recovered-damaged tests) - Changeset
theme-build-unusual-inputs.md, fields through reassigned let or dynamic import; Map/Set; textless objects; BigInt type scale; boxed tokens in the editor: verified (readModule assignment, namespaceOf, entriesNotRead, writtenAs check, defineThemeInput writtenPrimitives, asPrimitive; theme-build-unusual-inputs passes) - Changeset
theme-build-watch-import-equals.md, theme build --watch follows import x = require(): verified (themeSourceFiles uses parsedSpecifiers, build.mjs:1155; theme-starter-typescript-imports test) - Changeset
theme-editor-font-own-family.md, font set names roles the theme file keeps, with file and line, in text and JSON: verified (ownFamilyNotes; theme-own-family-note test) - Changeset
track-contrast.md, a value fill under 3:1 on its track is a problem; a thumb counts only when lost on track and page: verified (trackContrastProblems; theme-track-contrast passes)
Files:
- Stable theme build, doctor, theme use and discovery:
api/theme/build/build.mjs: clear (the description calls its radius warning a refusal: blocking, description only)api/theme/build/radius-values.mjs: blocking (boolean branch blames NaNpx)- clear:
api/doctor/theme-checks.mjs,api/doctor/theme-checks.test.mjs,api/theme/build/build-stable-fields-through-expressions.test.mjs,api/theme/build/build-stable-typography-values.test.mjs,api/theme/build/css-checks.kept.test.mjs,api/theme/build/input-fields.mjs,api/theme/build/typography-values.mjs,api/theme/build/written-values.mjs,clients/cli/commands/theme.mjs,foundation/discovery/template-needs.mjs
- Palette generator:
- clear:
api/theme/palette/generate/generator.mjs,api/theme/palette/generate/recipe-v2.test.mjs
- clear:
- Editor source and types:
api/theme-edit/_edit.mjs: blocking (asPrimitive copies writtenPrimitive)- clear:
api/theme-edit/_catalog.mjs,api/theme-edit/_check.mjs,api/theme-edit/_color.mjs,api/theme-edit/_compiler.mjs,api/theme-edit/_context.mjs,api/theme-edit/_how-question.mjs,api/theme-edit/_how.mjs,api/theme-edit/_missed.mjs,api/theme-edit/_normal.mjs,api/theme-edit/_palette.mjs,api/theme-edit/_part-words.mjs,api/theme-edit/_parts.mjs,api/theme-edit/_png.mjs,api/theme-edit/_preview-app.mjs,api/theme-edit/_preview.mjs,api/theme-edit/_project.mjs,api/theme-edit/_settings.mjs,api/theme-edit/_tables.mjs,api/theme-edit/theme-edit.type.mjs
- Page rendering, pictures and response docs:
- clear:
foundation/render/cut-short.mjs,foundation/render/picture-chrome.mjs,foundation/render/picture-playwright.mjs,foundation/render/picture-window.mjs,foundation/render/render-page.mjs,foundation/response/response-types.doc.mjs
- clear:
- Command docs, command and command tests:
clients/cli/commands/experimental-theme-editor-show.doc.mjs: blocking (60-second stop, as in the unchanged new, set and undo docs)clients/cli/commands/text-json-parity.test.mjs: non-blocking (allowlists missedParts for new, as set already folds it)- clear:
clients/cli/commands/experimental-theme-show-text.test.mjs,clients/cli/commands/experimental/theme.mjs
- Editor tests:
api/theme-edit/theme-how-repeatable-answers.test.mjs: non-blocking (the middle ask never meets a fresh cache)- clear:
api/theme-edit/theme-aria-state-name.test.mjs,api/theme-edit/theme-asks-of-parts.test.mjs,api/theme-edit/theme-auto-media.test.mjs,api/theme-edit/theme-base-redraws.test.mjs,api/theme-edit/theme-build-names-pictures-removed.test.mjs,api/theme-edit/theme-build-unusual-inputs.test.mjs,api/theme-edit/theme-change-leaves-unchecked-unreached.test.mjs,api/theme-edit/theme-changed-tokens-built-values.test.mjs,api/theme-edit/theme-compound-words.test.mjs,api/theme-edit/theme-contrast-check-measures-draws.test.mjs,api/theme-edit/theme-contrast-low.test.mjs,api/theme-edit/theme-cut-short.test.mjs,api/theme-edit/theme-deeper-accent-dark-line.test.mjs,api/theme-edit/theme-destructive-lookalike.test.mjs,api/theme-edit/theme-dial-number-unit.test.mjs,api/theme-edit/theme-edit-receipts-and-pointers.test.mjs,api/theme-edit/theme-elements.test.mjs,api/theme-edit/theme-exact-secondary-text-stays-readable.test.mjs,api/theme-edit/theme-except-apart-comma-led.test.mjs,api/theme-edit/theme-family-pictures.test.mjs,api/theme-edit/theme-fixture-writes-stay-in-fixture.test.mjs,api/theme-edit/theme-flat-pieces.test.mjs,api/theme-edit/theme-floating-edge.test.mjs,api/theme-edit/theme-font-families-map-fontsource.test.mjs,api/theme-edit/theme-how-amount-softening-word-words.test.mjs,api/theme-edit/theme-how-answer-wording.test.mjs,api/theme-edit/theme-how-asks-read.test.mjs,api/theme-edit/theme-how-border-color-reaches-variant.test.mjs,api/theme-edit/theme-how-clause-scope.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-dark.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-light.test.mjs,api/theme-edit/theme-how-one-line-looks.test.mjs,api/theme-edit/theme-how-possessive-owner-several-words.test.mjs,api/theme-edit/theme-how-thicker-radio-checkbox-border.test.mjs,api/theme-edit/theme-how-variant-looks.test.mjs,api/theme-edit/theme-how.test.mjs,api/theme-edit/theme-info-clash-note.test.mjs,api/theme-edit/theme-leased-lock-taken-process.test.mjs,api/theme-edit/theme-main-panel-own-fill.test.mjs,api/theme-edit/theme-media-width.test.mjs,api/theme-edit/theme-missed-parts-named.test.mjs,api/theme-edit/theme-missed-step-lines.test.mjs,api/theme-edit/theme-missed-summary.test.mjs,api/theme-edit/theme-neutral-mode-words-direction.test.mjs,api/theme-edit/theme-neutral-same-grays.test.mjs,api/theme-edit/theme-new-color-warnings.test.mjs,api/theme-edit/theme-on-color-reaches-black-or-white.test.mjs,api/theme-edit/theme-open-states-page-starter.test.mjs,api/theme-edit/theme-open-states-picture-people.test.mjs,api/theme-edit/theme-own-family-note.test.mjs,api/theme-edit/theme-palette.test.mjs,api/theme-edit/theme-part-match-missed-list.test.mjs,api/theme-edit/theme-part-own-fill-contrast.test.mjs,api/theme-edit/theme-picture-fonts.test.mjs,api/theme-edit/theme-picture-links.test.mjs,api/theme-edit/theme-picture-offline.test.mjs,api/theme-edit/theme-pictures-agents-open-overlays.test.mjs,api/theme-edit/theme-pictures-broken-words.test.mjs,api/theme-edit/theme-pictures-one-browser.test.mjs,api/theme-edit/theme-pictures-open-named-people.test.mjs,api/theme-edit/theme-pictures-overlays-drawn-open.test.mjs,api/theme-edit/theme-pictures-sees-once-page.test.mjs,api/theme-edit/theme-placeholder.test.mjs,api/theme-edit/theme-preview-follows-through-browser.test.mjs,api/theme-edit/theme-preview-follows-through-pictures.test.mjs,api/theme-edit/theme-preview-follows-through-playwright.test.mjs,api/theme-edit/theme-preview-follows-through-remove.test.mjs,api/theme-edit/theme-preview-follows-through-stop.test.mjs,api/theme-edit/theme-previews-truly-file-regular.test.mjs,api/theme-edit/theme-problems-change-lead-result.test.mjs,api/theme-edit/theme-progress-bar-height-track.test.mjs,api/theme-edit/theme-question-means-part-compares.test.mjs,api/theme-edit/theme-reader-input-path-family.test.mjs,api/theme-edit/theme-readers-buttons-color-links.test.mjs,api/theme-edit/theme-readers-clause-subject-part.test.mjs,api/theme-edit/theme-readers-fainter-word-part.test.mjs,api/theme-edit/theme-readers-joined-drops-alone.test.mjs,api/theme-edit/theme-readers-look-request-list.test.mjs,api/theme-edit/theme-readers-mediums-color-ground.test.mjs,api/theme-edit/theme-readers-part-named-color.test.mjs,api/theme-edit/theme-readers-share-part-fainter.test.mjs,api/theme-edit/theme-readers-share-words-figures.test.mjs,api/theme-edit/theme-readers-text-part-colored.test.mjs,api/theme-edit/theme-readers-thin-headings-weight.test.mjs,api/theme-edit/theme-readers-value-question-part.test.mjs,api/theme-edit/theme-receipts-happened-value-instead.test.mjs,api/theme-edit/theme-recovery-file-remake-values.test.mjs,api/theme-edit/theme-renders-end-to-end.test.mjs,api/theme-edit/theme-results-mode-names-drawing.test.mjs,api/theme-edit/theme-role-dials-reach-base-colors.test.mjs,api/theme-edit/theme-role-text-follows-exact-fill.test.mjs,api/theme-edit/theme-role-tokens.test.mjs,api/theme-edit/theme-saved-state-lines.test.mjs,api/theme-edit/theme-scoped-text.test.mjs,api/theme-edit/theme-sheet-cells-b.test.mjs,api/theme-edit/theme-sheet-cells.test.mjs,api/theme-edit/theme-sheet-modes.test.mjs,api/theme-edit/theme-sheet-overlay-open-light.test.mjs,api/theme-edit/theme-starter-apps-pages-pictures.test.mjs,api/theme-edit/theme-starter-typescript-imports.test.mjs,api/theme-edit/theme-state-thing-part-place.test.mjs,api/theme-edit/theme-states-picture.test.mjs,api/theme-edit/theme-table-states.test.mjs,api/theme-edit/theme-through-shared-readers-bases.test.mjs,api/theme-edit/theme-through-shared-readers-lists.test.mjs,api/theme-edit/theme-toast-picture.test.mjs,api/theme-edit/theme-token-dial-values-refusal.test.mjs,api/theme-edit/theme-token-read-in-variant.test.mjs,api/theme-edit/theme-track-contrast.test.mjs,api/theme-edit/theme-typed-forms-read.test.mjs,api/theme-edit/theme-typography-family.test.mjs,api/theme-edit/theme-unicode-space-font-family.test.mjs,api/theme-edit/theme-values-build-warns-light.test.mjs,api/theme-edit/theme-wrong-shape-recovered-damaged.test.mjs
- Test setup, helpers, timing and CI:
scripts/vitest-node-durations.json: blocking (two stray top-level entries)- clear:
.github/workflows/deploy.yml,test-utils/base-theme-fixture.mjs,test-utils/checkout-writes.mjs,test-utils/real-base-themes.mjs,test-utils/theme-cache-warm.mjs,test-utils/theme-cache.mjs,test-utils/theme-render-stub.mjs,vitest.global-setup.node.mjs,vitest.setup.node.mjs
- Changesets:
.changeset/b-radius-and-font-fallbacks.md: blocking (false NaNpx cause for booleans)- clear:
b-rounded-font-help.md,base-redraws.md,deeper-accent-dark-line.md,exact-secondary-text-stays-readable.md,experimental-theme-asks-of-parts.md,experimental-theme-broken-words.md,experimental-theme-button-style-check.md,experimental-theme-changed-tokens-built.md,experimental-theme-compound-words.md,experimental-theme-contrast-low.md,experimental-theme-destructive-lookalike.md,experimental-theme-dial-number-unit.md,experimental-theme-how-answer-wording.md,experimental-theme-how-app-pasted-css-variables.md,experimental-theme-how-asks-read.md,experimental-theme-how-mostly-draw-light-dark.md,experimental-theme-how-neutral-variants.md,experimental-theme-how-one-line-looks.md,experimental-theme-how-order-leaves-out-would.md,experimental-theme-how-variant-looks.md,experimental-theme-missed-parts-named.md,experimental-theme-missed-step-lines.md,experimental-theme-near-property-form-family.md,experimental-theme-new-color-warnings.md,experimental-theme-pages-stand.md,experimental-theme-part-own-fill.md,experimental-theme-pictures-one-browser.md,experimental-theme-placeholder.md,experimental-theme-progress-bar-height-track.md,experimental-theme-receipts-and-pointers.md,experimental-theme-receipts-happened-value-font.md,experimental-theme-saved-state-lines.md,experimental-theme-sheet-cells-b.md,experimental-theme-show-png-families.md,experimental-theme-starter-typescript-imports.md,experimental-theme-table-rows.md,experimental-theme-token-name-free-without.md,experimental-theme-token-read-in-variant.md,experimental-theme-typed-forms-read.md,fix-theme-use-default-line.md,flat-own-fill.md,floating-edge.md,gray-fade-v2.md,info-clash-note.md,neutral-same-grays.md,on-color-reaches-black-or-white.md,role-dials-reach-base-colors.md,role-text-follows-exact-fill.md,theme-build-color-pair-halves.md,theme-build-fields-through-expressions.md,theme-build-unusual-inputs.md,theme-build-watch-import-equals.md,theme-editor-font-own-family.md,track-contrast.md
d408822 to
655aaa7
Compare
|
/approve-spec 655aaa7 |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, because CI admission found no room and cancelled the run, so re-run CI before merging.
The five problems from the last review are fixed, and an engineering owner approved on this head the editor, palette, theme build, theme use and experimental-type changes that no current spec covered. Two small non-blocking notes sit on their lines: the repeatable-answers test header no longer describes its loop, and the recorded-times file drops a source key that its record command writes back.
Claims and files checked
Review mode: full; reason: history
Claims:
- Description: a plain fill asked of a part with colored or status variants writes only its neutral variants, names the kept ones and offers a line for each: verified (keptLines pass in
_how-question.mjs; how tests updated,theme-how-draws-modes-clearly-lightpasses) - Description: transparency words change a border's color, never its width, and several colors in one ask each take the way: verified (
visibilityAsk, the joined-colors rewrite;theme-how-asks-readpasses) - Description: a ring at rest goes in front of the part's own shadow, and a ring is a focus ring only when focus is said: verified (ring-at-rest branch;
theme-how-asks-read) - Description: a part word never matches half of a hyphenated compound, and a word that names no part says so and writes nothing: verified (
clausesOfhyphen guard,beforePartWord/possessiveWord;theme-compound-words,theme-how-asks-read) - Description: a deeper or darker accent adds a dark-mode line: verified (
nearDark/standsInDark;theme-deeper-accent-dark-line) - Description: role text starts from the fill the theme shows and is named by its role: verified (
_palette.mjsshown/start;theme-role-text-follows-exact-fill) - Description: an exact secondary text color is kept where it reads, else the nearest readable shade: verified (
_palette.mjsliteral path,compileThemeat();theme-exact-secondary-text-stays-readable) - Description: text on a role fill reaches black or white where nothing else reads, and a far accent gets an info note: verified (gray-ramp end in
_palette.mjs,infoClashNotes;theme-on-color-reaches-black-or-white,theme-info-clash-note) - Description: a token a part reads only in one variant says so and offers the token its default look reads: verified (
_compiler.mjs;theme-token-read-in-variant) - Description: a change lists every moved custom property, part tokens in a new
changedPartTokens: verified (partTokenChanges;theme-changed-tokens-built-values) - Description: a font setting the theme file overrides says so with file and line: verified (
ownFamilyNotes;theme-own-family-note) - Description:
show --pngtakes every picture with one browser a few pages at a time, group names count as their parts, tall rows are never cut, focus rings have room, the sample page has links: verified (screenshots(),eachAtOnce,touchedFamilies,cutTall,SHEET_CSS,_catalog.mjs;theme-pictures-one-browser,theme-sheet-cells-b); 'faster' follows from one browser start per run and is not measured - Description: a part label inside a value, a pasted result line,
newwith comma pairs, copy debris on a base name and a px unit on a px dial are read as meant: verified (partInValue,normalizeEntry, the comma split,withoutDebris,dialNumber;theme-typed-forms-read,theme-dial-number-unit) - Description:
theme buildwarns misspelled fields reached through a reassignedlet, a dynamic import, a member, an array element, a ternary orObject.assign: verified (readModuleassignments,objectsOf,namespaceOf;build-stable-fields-through-expressions,theme-build-unusual-inputs) - Description:
theme buildwarnsMap/Settokens and pairs with a non-color half, and stops at a field holding an object with no text form: verified (entriesNotRead,isOtherThanColor, the textless branch;theme-build-unusual-inputs,theme-values-build-warns-light) - Description:
theme buildwarns a radius scale with no base, and the editor refuses it: verified (radiusInputProblemsinbuild.mjswarnings and the editor's own-token problems;build-stable-typography-values) - Description:
theme build --watchfollowsimport x = require(): verified (parsedSpecifiersintemplate-needs.mjs, used by the watch list inbuild.mjs;theme-starter-typescript-imports) - Description:
theme useopens its receipt with the default it set: verified (commands/theme.mjs, text only) - Description: palette recipe v2 fades a gray family toward white: verified (
grayFadeingenerator.mjs, v2 only;recipe-v2test) - Description:
showon a theme holding an image over 8 MB draws the rest and names the image: verified (leaveLargeStyleAssetsinrender-page.mjs, passed by_parts.mjs) - Description: an unwritable theme folder is named by the picture run: verified (
UNWRITABLEinfamilyPagesandshow) - Description: page component items are built once per Core install and kept in the theme cache: verified (
cachedComponentItems, keyed by its code and the Core key); the time saved is not measured - Description: the editor's tests stand in for drawing by default, files that read drawn pages draw for real, and the stand-in gives the same page list: verified (
vitest.setup.node.mjs,theme-render-stub.mjs;theme-renders-end-to-endcompares the family sections) - Description: end-to-end tests draw for real for every command that renders: verified for new, set, undo, show, show --png and preview add
- Description: a teardown fails the run if a test writes into the checkout: verified (
vitest.global-setup.node.mjswithcheckout-writes.mjs) - Description:
THEME_EDIT_REAL_RENDERS=1draws for real everywhere and the main full run sets it: verified (theme-render-stub.mjs; the env line on the deploy workflow's Node test step) - Description: the full CLI suite passes on a main-based tree in both modes: not checked whole; all 123 changed test files pass at this head
- Description: structure, changesets, tsc, eslint and prettier are clean: verified for the CLI typecheck at this head and for lint through CI's Lint workflow, which passed
- Description: recorded Node times fit the per-leg budget: verified (CI's room check passed at this head)
- Changeset
b-radius-and-font-fallbacks: build warns and editor refuses a radius scale missing a field or not readable as a number (booleans build), base-family fallbacks kept, kind-based fallbacks, base-loaded families not named unloaded: verified (radius-values.mjs,compileThemefallbacks,aloneFallbacks,fontNotes;theme-typography-family) - Changeset
b-rounded-font-help: verified (_tables.mjsfont help;theme-picture-fonts) - Changeset
base-redraws: verified (baseRedraws, set notes, hownotIn;theme-base-redraws) - Changeset
deeper-accent-dark-line: verified (_palette.mjscloser note,nearDark;theme-deeper-accent-dark-line) - Changeset
exact-secondary-text-stays-readable: verified (_palette.mjs,compileTheme) - Changeset
experimental-theme-asks-of-parts: verified (_how-question.mjsreference, others,atOnce, inline-state wash, rowPad;_check.mjsborder refusal;theme-asks-of-parts) - Changeset
experimental-theme-broken-words: verified (cut-short.mjsbrokenWords,cutShortNote;theme-pictures-broken-words) - Changeset
experimental-theme-button-style-check: verified (buttonStyleProblems;theme-scoped-text) - Changeset
experimental-theme-changed-tokens-built: verified (partTokenChanges;theme-changed-tokens-built-values) - Changeset
experimental-theme-compound-words: verified (clausesOf;theme-compound-words) - Changeset
experimental-theme-contrast-low: verified (wholeOf/wholeGrounds, darker fix,isCheckNote;theme-contrast-low) - Changeset
experimental-theme-destructive-lookalike: verified (destructiveLookalike,LOOKS_ALIKE;theme-destructive-lookalike) - Changeset
experimental-theme-dial-number-unit: verified (dialNumber;theme-dial-number-unit) - Changeset
experimental-theme-how-answer-wording: verified (withoutColorNow,withoutLooksNow,pluralOf,nearOfftint;theme-how-answer-wording) - Changeset
experimental-theme-how-app-pasted-css-variables: verified (draftAnswer rewrites, side and width innamedProperty, readable-text line;theme-readers-thin-headings-weight) - Changeset
experimental-theme-how-asks-read: verified (visibilityAsk, joined colors, ring at rest,_part-words.mjs;theme-how-asks-read) - Changeset
experimental-theme-how-mostly-draw-light-dark: verified (pageTones, border keep, unselected pass, complaint pass, 2.5:1 links;theme-how-clause-scope) - Changeset
experimental-theme-how-neutral-variants: verified (keptLines; updated how tests) - Changeset
experimental-theme-how-one-line-looks: verified (draftAnswer rewrites;theme-how-one-line-looks,theme-main-panel-own-fill) - Changeset
experimental-theme-how-order-leaves-out-would: verified (finishno-op filter in_how.mjs, heavy shadows,colorCheck;theme-readers-joined-drops-alone) - Changeset
experimental-theme-how-variant-looks: verified (variant passes,onSurfacesmirror,_part-words.mjs;theme-how-variant-looks) - Changeset
experimental-theme-missed-parts-named: verified (missedSummary,missedLine, corners guard,openGroupOf;theme-missed-parts-named) - Changeset
experimental-theme-missed-step-lines: verified (textFollows,sayNextStepClears;theme-missed-step-lines) - Changeset
experimental-theme-near-property-form-family: verified (family()in undo near matches) - Changeset
experimental-theme-new-color-warnings: verified (newThemepalette failures;theme-new-color-warnings) - Changeset
experimental-theme-pages-stand: verified (leaveLargeStyleAssets,UNWRITABLE) - Changeset
experimental-theme-part-own-fill: verified (nearerFillOf,groundPart;theme-part-own-fill-contrast) - Changeset
experimental-theme-pictures-one-browser: verified (screenshots(),eachAtOnce,SHEET_CSS,_catalog.mjs;theme-pictures-one-browser) - Changeset
experimental-theme-placeholder: verified (placeholderProblems;theme-placeholder) - Changeset
experimental-theme-progress-bar-height-track: verified (track branch, other-part state answer;theme-progress-bar-height-track) - Changeset
experimental-theme-receipts-and-pointers: verified (DIAL_VALUE_WORDS, inner state lines, no-change note, mode order;theme-edit-receipts-and-pointers) - Changeset
experimental-theme-receipts-happened-value-font: verified (unchanged line,nowAppliesIn, mode note, beyond line;theme-receipts-happened-value-instead) - Changeset
experimental-theme-saved-state-lines: verified (readSavedStates/LOADED_STATE;theme-saved-state-lines,theme-aria-state-name) - Changeset
experimental-theme-sheet-cells-b: verified (cutTall/pagesOfPicture,SETTLE_ANIMATIONS, required sample props,SHEET_CSS, deprecated and open-scene skips;theme-sheet-cells-b) - Changeset
experimental-theme-show-png-families(edited): verified (pagesOfPicture,lookAtPicturescuts) - Changeset
experimental-theme-starter-typescript-imports: verified (referencedPaths, import-equals intemplate-needs.mjs,_preview-app.mjs;theme-starter-typescript-imports) - Changeset
experimental-theme-table-rows: verified (rowPad branch) - Changeset
experimental-theme-token-name-free-without: verified (newThemetoken-name check;theme-receipts-happened-value-instead) - Changeset
experimental-theme-token-read-in-variant: verified (_compiler.mjs;theme-token-read-in-variant) - Changeset
experimental-theme-typed-forms-read: verified (partInValue,withoutScopeWords, pasted head, comma pairs, debris, weight-named family;theme-typed-forms-read) - Changeset
fix-theme-use-default-line: verified (text only, JSON unchanged) - Changeset
flat-own-fill: verified (ownFillincompileTheme;theme-flat-pieces) - Changeset
floating-edge: verified (FLOATING_PANELS/FLOATING_SURFACES,floatingEdgeProblems;theme-floating-edge) - Changeset
gray-fade-v2: verified (v2 only; v1 and every shipped palette unchanged; v2 has not been released yet) - Changeset
info-clash-note: verified (infoClashNotes;theme-info-clash-note) - Changeset
neutral-same-grays: verified (GRAYS_SHOWNnote;theme-neutral-same-grays) - Changeset
on-color-reaches-black-or-white: verified (_palette.mjsramp end;theme-on-color-reaches-black-or-white) - Changeset
role-dials-reach-base-colors: verified (roleReach,compileTheme, missed filter;theme-role-dials-reach-base-colors,theme-role-tokens) - Changeset
role-text-follows-exact-fill: verified (_palette.mjs;theme-role-text-follows-exact-fill) - Changeset
theme-build-color-pair-halves: verified (isOtherThanColor, computed-in-file wording,Object.isinherited check;theme-values-build-warns-light,css-checks.kept) - Changeset
theme-build-fields-through-expressions: verified (objectsOf, doctor message naming both causes,extendscycle refusal,renderOwnerGone;build-stable-fields-through-expressions,theme-checks,theme-wrong-shape-recovered-damaged) - Changeset
theme-build-unusual-inputs: verified (assignments,namespaceOf,entriesNotRead, textless objects,writtenPrimitivesindefineThemeInput,asPrimitive;theme-build-unusual-inputs) - Changeset
theme-build-watch-import-equals: verified (parsedSpecifiers;theme-starter-typescript-imports) - Changeset
theme-editor-font-own-family: verified (ownFamilyNotes;theme-own-family-note) - Changeset
track-contrast: verified (trackContrastProblems;theme-track-contrast)
Files:
- Changesets:
- clear:
b-radius-and-font-fallbacks.md,b-rounded-font-help.md,base-redraws.md,deeper-accent-dark-line.md,exact-secondary-text-stays-readable.md,experimental-theme-asks-of-parts.md,experimental-theme-broken-words.md,experimental-theme-button-style-check.md,experimental-theme-changed-tokens-built.md,experimental-theme-compound-words.md,experimental-theme-contrast-low.md,experimental-theme-destructive-lookalike.md,experimental-theme-dial-number-unit.md,experimental-theme-how-answer-wording.md,experimental-theme-how-app-pasted-css-variables.md,experimental-theme-how-asks-read.md,experimental-theme-how-mostly-draw-light-dark.md,experimental-theme-how-neutral-variants.md,experimental-theme-how-one-line-looks.md,experimental-theme-how-order-leaves-out-would.md,experimental-theme-how-variant-looks.md,experimental-theme-missed-parts-named.md,experimental-theme-missed-step-lines.md,experimental-theme-near-property-form-family.md,experimental-theme-new-color-warnings.md,experimental-theme-pages-stand.md,experimental-theme-part-own-fill.md,experimental-theme-pictures-one-browser.md,experimental-theme-placeholder.md,experimental-theme-progress-bar-height-track.md,experimental-theme-receipts-and-pointers.md,experimental-theme-receipts-happened-value-font.md,experimental-theme-saved-state-lines.md,experimental-theme-sheet-cells-b.md,experimental-theme-show-png-families.md,experimental-theme-starter-typescript-imports.md,experimental-theme-table-rows.md,experimental-theme-token-name-free-without.md,experimental-theme-token-read-in-variant.md,experimental-theme-typed-forms-read.md,fix-theme-use-default-line.md,flat-own-fill.md,floating-edge.md,gray-fade-v2.md,info-clash-note.md,neutral-same-grays.md,on-color-reaches-black-or-white.md,role-dials-reach-base-colors.md,role-text-follows-exact-fill.md,theme-build-color-pair-halves.md,theme-build-fields-through-expressions.md,theme-build-unusual-inputs.md,theme-build-watch-import-equals.md,theme-editor-font-own-family.md,track-contrast.md
- clear:
- Stable theme build, doctor, theme use, discovery and palette:
- clear:
api/doctor/theme-checks.mjs,api/doctor/theme-checks.test.mjs,api/theme/build/build-stable-fields-through-expressions.test.mjs,api/theme/build/build-stable-typography-values.test.mjs,api/theme/build/build.mjs,api/theme/build/css-checks.kept.test.mjs,api/theme/build/input-fields.mjs,api/theme/build/radius-values.mjs,api/theme/build/typography-values.mjs,api/theme/build/written-values.mjs,api/theme/palette/generate/generator.mjs,api/theme/palette/generate/recipe-v2.test.mjs,clients/cli/commands/theme.mjs,foundation/discovery/template-needs.mjs
- clear:
- Editor source and types:
- clear:
api/theme-edit/_catalog.mjs,api/theme-edit/_check.mjs,api/theme-edit/_color.mjs,api/theme-edit/_compiler.mjs,api/theme-edit/_context.mjs,api/theme-edit/_edit.mjs,api/theme-edit/_how-question.mjs,api/theme-edit/_how.mjs,api/theme-edit/_missed.mjs,api/theme-edit/_normal.mjs,api/theme-edit/_palette.mjs,api/theme-edit/_part-words.mjs,api/theme-edit/_parts.mjs,api/theme-edit/_png.mjs,api/theme-edit/_preview-app.mjs,api/theme-edit/_preview.mjs,api/theme-edit/_project.mjs,api/theme-edit/_settings.mjs,api/theme-edit/_tables.mjs,api/theme-edit/theme-edit.type.mjs
- clear:
- Page rendering, pictures and response docs:
- clear:
foundation/render/cut-short.mjs,foundation/render/picture-chrome.mjs,foundation/render/picture-playwright.mjs,foundation/render/picture-window.mjs,foundation/render/render-page.mjs,foundation/response/response-types.doc.mjs
- clear:
- Command docs, command and command tests:
- clear:
clients/cli/commands/experimental-theme-editor-new.doc.mjs,clients/cli/commands/experimental-theme-editor-set.doc.mjs,clients/cli/commands/experimental-theme-editor-show.doc.mjs,clients/cli/commands/experimental-theme-editor-undo.doc.mjs,clients/cli/commands/experimental-theme-show-text.test.mjs,clients/cli/commands/experimental/theme.mjs,clients/cli/commands/text-json-parity.test.mjs
- clear:
- Editor tests:
api/theme-edit/theme-how-repeatable-answers.test.mjs: non-blocking (header no longer describes the loop)- clear:
api/theme-edit/theme-aria-state-name.test.mjs,api/theme-edit/theme-asks-of-parts.test.mjs,api/theme-edit/theme-auto-media.test.mjs,api/theme-edit/theme-base-redraws.test.mjs,api/theme-edit/theme-build-names-pictures-removed.test.mjs,api/theme-edit/theme-build-unusual-inputs.test.mjs,api/theme-edit/theme-change-leaves-unchecked-unreached.test.mjs,api/theme-edit/theme-changed-tokens-built-values.test.mjs,api/theme-edit/theme-compound-words.test.mjs,api/theme-edit/theme-contrast-check-measures-draws.test.mjs,api/theme-edit/theme-contrast-low.test.mjs,api/theme-edit/theme-cut-short.test.mjs,api/theme-edit/theme-deeper-accent-dark-line.test.mjs,api/theme-edit/theme-destructive-lookalike.test.mjs,api/theme-edit/theme-dial-number-unit.test.mjs,api/theme-edit/theme-edit-receipts-and-pointers.test.mjs,api/theme-edit/theme-elements.test.mjs,api/theme-edit/theme-exact-secondary-text-stays-readable.test.mjs,api/theme-edit/theme-except-apart-comma-led.test.mjs,api/theme-edit/theme-family-pictures.test.mjs,api/theme-edit/theme-fixture-writes-stay-in-fixture.test.mjs,api/theme-edit/theme-flat-pieces.test.mjs,api/theme-edit/theme-floating-edge.test.mjs,api/theme-edit/theme-font-families-map-fontsource.test.mjs,api/theme-edit/theme-how-amount-softening-word-words.test.mjs,api/theme-edit/theme-how-answer-wording.test.mjs,api/theme-edit/theme-how-asks-read.test.mjs,api/theme-edit/theme-how-border-color-reaches-variant.test.mjs,api/theme-edit/theme-how-clause-scope.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-dark.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-light.test.mjs,api/theme-edit/theme-how-one-line-looks.test.mjs,api/theme-edit/theme-how-possessive-owner-several-words.test.mjs,api/theme-edit/theme-how-thicker-radio-checkbox-border.test.mjs,api/theme-edit/theme-how-variant-looks.test.mjs,api/theme-edit/theme-how.test.mjs,api/theme-edit/theme-info-clash-note.test.mjs,api/theme-edit/theme-leased-lock-taken-process.test.mjs,api/theme-edit/theme-main-panel-own-fill.test.mjs,api/theme-edit/theme-media-width.test.mjs,api/theme-edit/theme-missed-parts-named.test.mjs,api/theme-edit/theme-missed-step-lines.test.mjs,api/theme-edit/theme-missed-summary.test.mjs,api/theme-edit/theme-neutral-mode-words-direction.test.mjs,api/theme-edit/theme-neutral-same-grays.test.mjs,api/theme-edit/theme-new-color-warnings.test.mjs,api/theme-edit/theme-on-color-reaches-black-or-white.test.mjs,api/theme-edit/theme-open-states-page-starter.test.mjs,api/theme-edit/theme-open-states-picture-people.test.mjs,api/theme-edit/theme-own-family-note.test.mjs,api/theme-edit/theme-palette.test.mjs,api/theme-edit/theme-part-match-missed-list.test.mjs,api/theme-edit/theme-part-own-fill-contrast.test.mjs,api/theme-edit/theme-picture-fonts.test.mjs,api/theme-edit/theme-picture-links.test.mjs,api/theme-edit/theme-picture-offline.test.mjs,api/theme-edit/theme-pictures-agents-open-overlays.test.mjs,api/theme-edit/theme-pictures-broken-words.test.mjs,api/theme-edit/theme-pictures-one-browser.test.mjs,api/theme-edit/theme-pictures-open-named-people.test.mjs,api/theme-edit/theme-pictures-overlays-drawn-open.test.mjs,api/theme-edit/theme-pictures-sees-once-page.test.mjs,api/theme-edit/theme-placeholder.test.mjs,api/theme-edit/theme-preview-follows-through-browser.test.mjs,api/theme-edit/theme-preview-follows-through-pictures.test.mjs,api/theme-edit/theme-preview-follows-through-playwright.test.mjs,api/theme-edit/theme-preview-follows-through-remove.test.mjs,api/theme-edit/theme-preview-follows-through-stop.test.mjs,api/theme-edit/theme-previews-truly-file-regular.test.mjs,api/theme-edit/theme-problems-change-lead-result.test.mjs,api/theme-edit/theme-progress-bar-height-track.test.mjs,api/theme-edit/theme-question-means-part-compares.test.mjs,api/theme-edit/theme-reader-input-path-family.test.mjs,api/theme-edit/theme-readers-buttons-color-links.test.mjs,api/theme-edit/theme-readers-clause-subject-part.test.mjs,api/theme-edit/theme-readers-fainter-word-part.test.mjs,api/theme-edit/theme-readers-joined-drops-alone.test.mjs,api/theme-edit/theme-readers-look-request-list.test.mjs,api/theme-edit/theme-readers-mediums-color-ground.test.mjs,api/theme-edit/theme-readers-part-named-color.test.mjs,api/theme-edit/theme-readers-share-part-fainter.test.mjs,api/theme-edit/theme-readers-share-words-figures.test.mjs,api/theme-edit/theme-readers-text-part-colored.test.mjs,api/theme-edit/theme-readers-thin-headings-weight.test.mjs,api/theme-edit/theme-readers-value-question-part.test.mjs,api/theme-edit/theme-receipts-happened-value-instead.test.mjs,api/theme-edit/theme-recovery-file-remake-values.test.mjs,api/theme-edit/theme-renders-end-to-end.test.mjs,api/theme-edit/theme-results-mode-names-drawing.test.mjs,api/theme-edit/theme-role-dials-reach-base-colors.test.mjs,api/theme-edit/theme-role-text-follows-exact-fill.test.mjs,api/theme-edit/theme-role-tokens.test.mjs,api/theme-edit/theme-saved-state-lines.test.mjs,api/theme-edit/theme-scoped-text.test.mjs,api/theme-edit/theme-sheet-cells-b.test.mjs,api/theme-edit/theme-sheet-cells.test.mjs,api/theme-edit/theme-sheet-modes.test.mjs,api/theme-edit/theme-sheet-overlay-open-light.test.mjs,api/theme-edit/theme-starter-apps-pages-pictures.test.mjs,api/theme-edit/theme-starter-typescript-imports.test.mjs,api/theme-edit/theme-state-thing-part-place.test.mjs,api/theme-edit/theme-states-picture.test.mjs,api/theme-edit/theme-table-states.test.mjs,api/theme-edit/theme-through-shared-readers-bases.test.mjs,api/theme-edit/theme-through-shared-readers-lists.test.mjs,api/theme-edit/theme-toast-picture.test.mjs,api/theme-edit/theme-token-check-source-design.test.mjs,api/theme-edit/theme-token-dial-values-refusal.test.mjs,api/theme-edit/theme-token-read-in-variant.test.mjs,api/theme-edit/theme-track-contrast.test.mjs,api/theme-edit/theme-typed-forms-read.test.mjs,api/theme-edit/theme-typography-family.test.mjs,api/theme-edit/theme-unicode-space-font-family.test.mjs,api/theme-edit/theme-values-build-warns-light.test.mjs,api/theme-edit/theme-wrong-shape-recovered-damaged.test.mjs
- Test setup, helpers, timing and CI:
scripts/vitest-node-durations.json: non-blocking (drops thesourcekey thatrecordwrites back)- clear:
.github/workflows/deploy.yml,test-utils/base-theme-fixture.mjs,test-utils/checkout-writes.mjs,test-utils/real-base-themes.mjs,test-utils/theme-cache-warm.mjs,test-utils/theme-cache.mjs,test-utils/theme-render-stub.mjs,vitest.global-setup.node.mjs,vitest.setup.node.mjs
Round 14 on main after round 13: how clause and variant rules, readable role text and fills, palette v2 gray fade, one browser for show --png pictures, typed and pasted forms, unusual theme build inputs, part tokens a change moves, and the fixes listed in the changesets.
…alf of a hyphenated compound
- The clause reader takes a part word's match only where no letter is joined to it by a hyphen, so "field-service app: large bold text, thick borders" names no inputs and is the whole theme's ask. A part's own name written with a hyphen ("date-picker") is one match and counts whole; "the fields" and "form fields" are still the inputs.
- New theme-compound-words.
… its file expects
…les from one full run
…ns as the real page groups them, so the same family pages are cut in both; an unwritable theme folder and an oversized theme image no longer stop show's pages
…eet are made once per Core install, not on every render
…t in the theme cache beside the part data, so each command reads them, and a test run makes them once for every fixture
… through the editor's own command, not its internals
…awing stand-in and the kept component items
… work it guards, as its lease test reads
…h picture; the recorded times hold only the seconds table
…s base or multiplier builds as Core multiplies it, and the node global setup ends its run lease last
…n's after the rebase
655aaa7 to
a58e84a
Compare
|
/approve-spec a58e84a |
There was a problem hiding this comment.
Changes requested: one problem needs fixing first.
- Miss:
astryx theme buildwarns thatradius: 0orradius: ''builds every corner as NaNpx, but Core builds no radius token from a falsy radius (packages/core/src/theme/resolveThemeValues.ts:312), so give a falsy value its own reason inradiusInputProblems(packages/cli/api/theme/build/radius-values.mjs:39-45) and add aradius: 0test case.
An engineering owner approved the editor, palette, theme build, theme use and experimental-type changes on this head, so this fix is the only change needed; the new commit needs a new /approve-spec for its head. One non-blocking note stays on its line: the repeatable-answers test header no longer describes its loop.
Claims and files checked
Review mode: full; reason: rebase
Claims:
- Description: a plain fill asked of a part with colored or status variants writes only its neutral variants, names the kept ones and offers a line for each: verified (keptLines pass in
_how-question.mjs; how tests updated,theme-how-draws-modes-clearly-light) - Description: transparency words change a border's color, never its width, and several colors in one ask each take the way: verified (
visibilityAsk, the joined-colors rewrite;theme-how-asks-read) - Description: a ring at rest goes in front of the part's own shadow, and a ring is a focus ring only when focus is said: verified (ring-at-rest branch;
theme-how-asks-read) - Description: a part word never matches half of a hyphenated compound, and a word that names no part says so and writes nothing: verified (
clausesOfhyphen guard,beforePartWord/possessiveWord;theme-compound-words,theme-how-asks-read) - Description: a deeper or darker accent adds a dark-mode line: verified (
nearDark/standsInDark;theme-deeper-accent-dark-line) - Description: role text starts from the fill the theme shows and is named by its role: verified (
_palette.mjsshown/start;theme-role-text-follows-exact-fill) - Description: an exact secondary text color is kept where it reads, else the nearest readable shade: verified (
_palette.mjsliteral path,compileThemeat();theme-exact-secondary-text-stays-readable) - Description: text on a role fill reaches black or white where nothing else reads, and a far accent gets an info note: verified (gray-ramp end in
_palette.mjs,infoClashNotes;theme-on-color-reaches-black-or-white,theme-info-clash-note) - Description: a token a part reads only in one variant says so and offers the token its default look reads: verified (
_compiler.mjs;theme-token-read-in-variant) - Description: a change lists every moved custom property, part tokens in a new
changedPartTokens: verified (partTokenChanges;theme-changed-tokens-built-values) - Description: a font setting the theme file overrides says so with file and line: verified (
ownFamilyNotes;theme-own-family-note) - Description:
show --pngtakes every picture with one browser a few pages at a time, group names count as their parts, tall rows are never cut, focus rings have room, the sample page has links: verified (screenshots(),eachAtOnce,touchedFamilies,cutTall,SHEET_CSS,_catalog.mjs;theme-pictures-one-browser,theme-sheet-cells-b); 'faster' follows from one browser start per run and is not measured - Description: a part label inside a value, a pasted result line,
newwith comma pairs, copy debris on a base name and a px unit on a px dial are read as meant: verified (partInValue,normalizeEntry, the comma split,withoutDebris,dialNumber;theme-typed-forms-read,theme-dial-number-unit) - Description:
theme buildwarns misspelled fields reached through a reassignedlet, a dynamic import, a member, an array element, a ternary orObject.assign: verified (readModuleassignments,objectsOf,namespaceOf;build-stable-fields-through-expressions,theme-build-unusual-inputs) - Description:
theme buildwarnsMap/Settokens and pairs with a non-color half, and stops at a field holding an object with no text form: verified (entriesNotRead,isOtherThanColor, the textless branch;theme-build-unusual-inputs,theme-values-build-warns-light) - Description:
theme buildwarns a radius scale with no base, and the editor refuses it: verified (radiusInputProblemsin thebuild.mjswarnings and the editor's own-token problems;build-stable-typography-values); the whole-value branch misstatesradius: 0andradius: '', the blocking finding - Description:
theme build --watchfollowsimport x = require(): verified (parsedSpecifiersintemplate-needs.mjs, used by the watch list inbuild.mjs;theme-starter-typescript-imports) - Description:
theme useopens its receipt with the default it set: verified (commands/theme.mjs, text only) - Description: palette recipe v2 fades a gray family toward white: verified (
grayFadeingenerator.mjs, v2 only;recipe-v2test) - Description:
showon a theme holding an image over 8 MB draws the rest and names the image: verified (leaveLargeStyleAssetsinrender-page.mjs, passed by_parts.mjs) - Description: an unwritable theme folder is named by the picture run: verified (
UNWRITABLEinfamilyPagesandshow) - Description: page component items are built once per Core install and kept in the theme cache: verified (
cachedComponentItems, keyed by its code and the Core key); the time saved is not measured - Description: the editor's tests stand in for drawing by default, files that read drawn pages draw for real, and the stand-in gives the same page list: verified (
vitest.setup.node.mjs,theme-render-stub.mjs;theme-renders-end-to-endcompares the family sections) - Description: end-to-end tests draw for real for every command that renders: verified for new, set, undo, show, show --png and preview add
- Description: a teardown fails the run if a test writes into the checkout: verified (
vitest.global-setup.node.mjswithcheckout-writes.mjs) - Description:
THEME_EDIT_REAL_RENDERS=1draws for real everywhere and the main full run sets it: verified (theme-render-stub.mjs; the env line on the deploy workflow's Node test step) - Description: the full CLI suite passes on a main-based tree in both modes: not checked whole; CI's Node legs 1 and 2 of 8 passed at this head, and legs 3 to 8 were still running at the last read
- Description: structure, changesets, tsc, eslint and prettier are clean: verified for the CLI typecheck (clean at this head) and for lint through CI's Lint workflow, which passed at this head
- Description: recorded Node times fit the per-leg budget: verified (CI's room check passed at this head)
- Changeset
b-radius-and-font-fallbacks: verified for a scale missing a field or holding a field Core cannot read as a number (booleans build), base-family fallbacks, kind-based fallbacks and base-loaded families (radius-values.mjs,compileThemefallbacks,aloneFallbacks,fontNotes;theme-typography-family); a wholeradius: 0or''gets the same NaNpx reason, though Core builds nothing from it (the blocking finding) - Changeset
b-rounded-font-help: verified (_tables.mjsfont help;theme-picture-fonts) - Changeset
base-redraws: verified (baseRedraws, set notes, hownotIn;theme-base-redraws) - Changeset
deeper-accent-dark-line: verified (_palette.mjscloser note,nearDark;theme-deeper-accent-dark-line) - Changeset
exact-secondary-text-stays-readable: verified (_palette.mjs,compileTheme) - Changeset
experimental-theme-asks-of-parts: verified (_how-question.mjsreference, others,atOnce, inline-state wash, rowPad;_check.mjsborder refusal;theme-asks-of-parts) - Changeset
experimental-theme-broken-words: verified (cut-short.mjsbrokenWords,cutShortNote;theme-pictures-broken-words) - Changeset
experimental-theme-button-style-check: verified (buttonStyleProblems;theme-scoped-text) - Changeset
experimental-theme-changed-tokens-built: verified (partTokenChanges;theme-changed-tokens-built-values) - Changeset
experimental-theme-compound-words: verified (clausesOf;theme-compound-words) - Changeset
experimental-theme-contrast-low: verified (wholeOf/wholeGrounds, darker fix,isCheckNote;theme-contrast-low) - Changeset
experimental-theme-destructive-lookalike: verified (destructiveLookalike,LOOKS_ALIKE;theme-destructive-lookalike) - Changeset
experimental-theme-dial-number-unit: verified (dialNumber;theme-dial-number-unit) - Changeset
experimental-theme-how-answer-wording: verified (withoutColorNow,withoutLooksNow,pluralOf,nearOfftint;theme-how-answer-wording) - Changeset
experimental-theme-how-app-pasted-css-variables: verified (draftAnswer rewrites, side and width innamedProperty, readable-text line;theme-readers-thin-headings-weight) - Changeset
experimental-theme-how-asks-read: verified (visibilityAsk, joined colors, ring at rest,_part-words.mjs;theme-how-asks-read) - Changeset
experimental-theme-how-mostly-draw-light-dark: verified (pageTones, border keep, unselected pass, complaint pass, 2.5:1 links;theme-how-clause-scope) - Changeset
experimental-theme-how-neutral-variants: verified (keptLines; updated how tests) - Changeset
experimental-theme-how-one-line-looks: verified (draftAnswer rewrites;theme-how-one-line-looks,theme-main-panel-own-fill) - Changeset
experimental-theme-how-order-leaves-out-would: verified (finishno-op filter in_how.mjs, heavy shadows,colorCheck;theme-readers-joined-drops-alone) - Changeset
experimental-theme-how-variant-looks: verified (variant passes,onSurfacesmirror,_part-words.mjs;theme-how-variant-looks) - Changeset
experimental-theme-missed-parts-named: verified (missedSummary,missedLine, corners guard,openGroupOf;theme-missed-parts-named) - Changeset
experimental-theme-missed-step-lines: verified (textFollows,sayNextStepClears;theme-missed-step-lines) - Changeset
experimental-theme-near-property-form-family: verified (family()in undo near matches) - Changeset
experimental-theme-new-color-warnings: verified (newThemepalette failures;theme-new-color-warnings) - Changeset
experimental-theme-pages-stand: verified (leaveLargeStyleAssets,UNWRITABLE) - Changeset
experimental-theme-part-own-fill: verified (nearerFillOf,groundPart;theme-part-own-fill-contrast) - Changeset
experimental-theme-pictures-one-browser: verified (screenshots(),eachAtOnce,SHEET_CSS,_catalog.mjs;theme-pictures-one-browser) - Changeset
experimental-theme-placeholder: verified (placeholderProblems;theme-placeholder) - Changeset
experimental-theme-progress-bar-height-track: verified (track branch, other-part state answer;theme-progress-bar-height-track) - Changeset
experimental-theme-receipts-and-pointers: verified (DIAL_VALUE_WORDS, inner state lines, no-change note, mode order;theme-edit-receipts-and-pointers) - Changeset
experimental-theme-receipts-happened-value-font: verified (unchanged line,nowAppliesIn, mode note, beyond line;theme-receipts-happened-value-instead) - Changeset
experimental-theme-saved-state-lines: verified (readSavedStates/LOADED_STATE;theme-saved-state-lines,theme-aria-state-name) - Changeset
experimental-theme-sheet-cells-b: verified (cutTall/pagesOfPicture,SETTLE_ANIMATIONS, required sample props,SHEET_CSS, deprecated and open-scene skips;theme-sheet-cells-b) - Changeset
experimental-theme-show-png-families(edited): verified (pagesOfPicture,lookAtPicturescuts) - Changeset
experimental-theme-starter-typescript-imports: verified (referencedPaths, import-equals intemplate-needs.mjs,_preview-app.mjs;theme-starter-typescript-imports) - Changeset
experimental-theme-table-rows: verified (rowPad branch) - Changeset
experimental-theme-token-name-free-without: verified (newThemetoken-name check;theme-receipts-happened-value-instead) - Changeset
experimental-theme-token-read-in-variant: verified (_compiler.mjs;theme-token-read-in-variant) - Changeset
experimental-theme-typed-forms-read: verified (partInValue,withoutScopeWords, pasted head, comma pairs, debris, weight-named family;theme-typed-forms-read) - Changeset
fix-theme-use-default-line: verified (text only, JSON unchanged) - Changeset
flat-own-fill: verified (ownFillincompileTheme;theme-flat-pieces) - Changeset
floating-edge: verified (FLOATING_PANELS/FLOATING_SURFACES,floatingEdgeProblems;theme-floating-edge) - Changeset
gray-fade-v2: verified (v2 only; v1 and every shipped palette unchanged; v2 has not been released yet) - Changeset
info-clash-note: verified (infoClashNotes;theme-info-clash-note) - Changeset
neutral-same-grays: verified (GRAYS_SHOWNnote;theme-neutral-same-grays) - Changeset
on-color-reaches-black-or-white: verified (_palette.mjsramp end;theme-on-color-reaches-black-or-white) - Changeset
role-dials-reach-base-colors: verified (roleReach,compileTheme, missed filter;theme-role-dials-reach-base-colors,theme-role-tokens) - Changeset
role-text-follows-exact-fill: verified (_palette.mjs;theme-role-text-follows-exact-fill) - Changeset
theme-build-color-pair-halves: verified (isOtherThanColor, computed-in-file wording,Object.isinherited check;theme-values-build-warns-light,css-checks.kept) - Changeset
theme-build-fields-through-expressions: verified (objectsOf, doctor message naming both causes,extendscycle refusal,renderOwnerGone;build-stable-fields-through-expressions,theme-checks,theme-wrong-shape-recovered-damaged) - Changeset
theme-build-unusual-inputs: verified (assignments,namespaceOf,entriesNotRead, textless objects,writtenPrimitivesindefineThemeInput,asPrimitive;theme-build-unusual-inputs) - Changeset
theme-build-watch-import-equals: verified (parsedSpecifiers;theme-starter-typescript-imports) - Changeset
theme-editor-font-own-family: verified (ownFamilyNotes;theme-own-family-note) - Changeset
track-contrast: verified (trackContrastProblems;theme-track-contrast)
Files:
- Changesets:
- clear:
b-radius-and-font-fallbacks.md,b-rounded-font-help.md,base-redraws.md,deeper-accent-dark-line.md,exact-secondary-text-stays-readable.md,experimental-theme-asks-of-parts.md,experimental-theme-broken-words.md,experimental-theme-button-style-check.md,experimental-theme-changed-tokens-built.md,experimental-theme-compound-words.md,experimental-theme-contrast-low.md,experimental-theme-destructive-lookalike.md,experimental-theme-dial-number-unit.md,experimental-theme-how-answer-wording.md,experimental-theme-how-app-pasted-css-variables.md,experimental-theme-how-asks-read.md,experimental-theme-how-mostly-draw-light-dark.md,experimental-theme-how-neutral-variants.md,experimental-theme-how-one-line-looks.md,experimental-theme-how-order-leaves-out-would.md,experimental-theme-how-variant-looks.md,experimental-theme-missed-parts-named.md,experimental-theme-missed-step-lines.md,experimental-theme-near-property-form-family.md,experimental-theme-new-color-warnings.md,experimental-theme-pages-stand.md,experimental-theme-part-own-fill.md,experimental-theme-pictures-one-browser.md,experimental-theme-placeholder.md,experimental-theme-progress-bar-height-track.md,experimental-theme-receipts-and-pointers.md,experimental-theme-receipts-happened-value-font.md,experimental-theme-saved-state-lines.md,experimental-theme-sheet-cells-b.md,experimental-theme-show-png-families.md,experimental-theme-starter-typescript-imports.md,experimental-theme-table-rows.md,experimental-theme-token-name-free-without.md,experimental-theme-token-read-in-variant.md,experimental-theme-typed-forms-read.md,fix-theme-use-default-line.md,flat-own-fill.md,floating-edge.md,gray-fade-v2.md,info-clash-note.md,neutral-same-grays.md,on-color-reaches-black-or-white.md,role-dials-reach-base-colors.md,role-text-follows-exact-fill.md,theme-build-color-pair-halves.md,theme-build-fields-through-expressions.md,theme-build-unusual-inputs.md,theme-build-watch-import-equals.md,theme-editor-font-own-family.md,track-contrast.md
- clear:
- Stable theme build, doctor, theme use, discovery and palette:
api/theme/build/radius-values.mjs: blocking (the whole-value reason misstatesradius: 0andradius: '')- clear:
api/doctor/theme-checks.mjs,api/doctor/theme-checks.test.mjs,api/theme/build/build-stable-fields-through-expressions.test.mjs,api/theme/build/build-stable-typography-values.test.mjs,api/theme/build/build.mjs,api/theme/build/css-checks.kept.test.mjs,api/theme/build/input-fields.mjs,api/theme/build/typography-values.mjs,api/theme/build/written-values.mjs,api/theme/palette/generate/generator.mjs,api/theme/palette/generate/recipe-v2.test.mjs,clients/cli/commands/theme.mjs,foundation/discovery/template-needs.mjs
- Editor source and types:
- clear:
api/theme-edit/_catalog.mjs,api/theme-edit/_check.mjs,api/theme-edit/_color.mjs,api/theme-edit/_compiler.mjs,api/theme-edit/_context.mjs,api/theme-edit/_edit.mjs,api/theme-edit/_how-question.mjs,api/theme-edit/_how.mjs,api/theme-edit/_missed.mjs,api/theme-edit/_normal.mjs,api/theme-edit/_palette.mjs,api/theme-edit/_part-words.mjs,api/theme-edit/_parts.mjs,api/theme-edit/_png.mjs,api/theme-edit/_preview-app.mjs,api/theme-edit/_preview.mjs,api/theme-edit/_project.mjs,api/theme-edit/_settings.mjs,api/theme-edit/_tables.mjs,api/theme-edit/theme-edit.type.mjs
- clear:
- Page rendering, pictures and response docs:
- clear:
foundation/render/cut-short.mjs,foundation/render/picture-chrome.mjs,foundation/render/picture-playwright.mjs,foundation/render/picture-window.mjs,foundation/render/render-page.mjs,foundation/response/response-types.doc.mjs
- clear:
- Command docs, command and command tests:
- clear:
clients/cli/commands/experimental-theme-editor-new.doc.mjs,clients/cli/commands/experimental-theme-editor-set.doc.mjs,clients/cli/commands/experimental-theme-editor-show.doc.mjs,clients/cli/commands/experimental-theme-editor-undo.doc.mjs,clients/cli/commands/experimental-theme-show-text.test.mjs,clients/cli/commands/experimental/theme.mjs,clients/cli/commands/text-json-parity.test.mjs
- clear:
- Editor tests:
api/theme-edit/theme-how-repeatable-answers.test.mjs: non-blocking (header no longer describes the loop)- clear:
api/theme-edit/theme-aria-state-name.test.mjs,api/theme-edit/theme-asks-of-parts.test.mjs,api/theme-edit/theme-auto-media.test.mjs,api/theme-edit/theme-base-redraws.test.mjs,api/theme-edit/theme-build-names-pictures-removed.test.mjs,api/theme-edit/theme-build-unusual-inputs.test.mjs,api/theme-edit/theme-change-leaves-unchecked-unreached.test.mjs,api/theme-edit/theme-changed-tokens-built-values.test.mjs,api/theme-edit/theme-compound-words.test.mjs,api/theme-edit/theme-contrast-check-measures-draws.test.mjs,api/theme-edit/theme-contrast-low.test.mjs,api/theme-edit/theme-cut-short.test.mjs,api/theme-edit/theme-deeper-accent-dark-line.test.mjs,api/theme-edit/theme-destructive-lookalike.test.mjs,api/theme-edit/theme-dial-number-unit.test.mjs,api/theme-edit/theme-edit-receipts-and-pointers.test.mjs,api/theme-edit/theme-elements.test.mjs,api/theme-edit/theme-exact-secondary-text-stays-readable.test.mjs,api/theme-edit/theme-except-apart-comma-led.test.mjs,api/theme-edit/theme-family-pictures.test.mjs,api/theme-edit/theme-fixture-writes-stay-in-fixture.test.mjs,api/theme-edit/theme-flat-pieces.test.mjs,api/theme-edit/theme-floating-edge.test.mjs,api/theme-edit/theme-font-families-map-fontsource.test.mjs,api/theme-edit/theme-how-amount-softening-word-words.test.mjs,api/theme-edit/theme-how-answer-wording.test.mjs,api/theme-edit/theme-how-asks-read.test.mjs,api/theme-edit/theme-how-border-color-reaches-variant.test.mjs,api/theme-edit/theme-how-clause-scope.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-dark.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-light.test.mjs,api/theme-edit/theme-how-one-line-looks.test.mjs,api/theme-edit/theme-how-possessive-owner-several-words.test.mjs,api/theme-edit/theme-how-thicker-radio-checkbox-border.test.mjs,api/theme-edit/theme-how-variant-looks.test.mjs,api/theme-edit/theme-how.test.mjs,api/theme-edit/theme-info-clash-note.test.mjs,api/theme-edit/theme-leased-lock-taken-process.test.mjs,api/theme-edit/theme-main-panel-own-fill.test.mjs,api/theme-edit/theme-media-width.test.mjs,api/theme-edit/theme-missed-parts-named.test.mjs,api/theme-edit/theme-missed-step-lines.test.mjs,api/theme-edit/theme-missed-summary.test.mjs,api/theme-edit/theme-neutral-mode-words-direction.test.mjs,api/theme-edit/theme-neutral-same-grays.test.mjs,api/theme-edit/theme-new-color-warnings.test.mjs,api/theme-edit/theme-on-color-reaches-black-or-white.test.mjs,api/theme-edit/theme-open-states-page-starter.test.mjs,api/theme-edit/theme-open-states-picture-people.test.mjs,api/theme-edit/theme-own-family-note.test.mjs,api/theme-edit/theme-palette.test.mjs,api/theme-edit/theme-part-match-missed-list.test.mjs,api/theme-edit/theme-part-own-fill-contrast.test.mjs,api/theme-edit/theme-picture-fonts.test.mjs,api/theme-edit/theme-picture-links.test.mjs,api/theme-edit/theme-picture-offline.test.mjs,api/theme-edit/theme-pictures-agents-open-overlays.test.mjs,api/theme-edit/theme-pictures-broken-words.test.mjs,api/theme-edit/theme-pictures-one-browser.test.mjs,api/theme-edit/theme-pictures-open-named-people.test.mjs,api/theme-edit/theme-pictures-overlays-drawn-open.test.mjs,api/theme-edit/theme-pictures-sees-once-page.test.mjs,api/theme-edit/theme-placeholder.test.mjs,api/theme-edit/theme-preview-follows-through-browser.test.mjs,api/theme-edit/theme-preview-follows-through-pictures.test.mjs,api/theme-edit/theme-preview-follows-through-playwright.test.mjs,api/theme-edit/theme-preview-follows-through-remove.test.mjs,api/theme-edit/theme-preview-follows-through-stop.test.mjs,api/theme-edit/theme-previews-truly-file-regular.test.mjs,api/theme-edit/theme-problems-change-lead-result.test.mjs,api/theme-edit/theme-progress-bar-height-track.test.mjs,api/theme-edit/theme-question-means-part-compares.test.mjs,api/theme-edit/theme-reader-input-path-family.test.mjs,api/theme-edit/theme-readers-buttons-color-links.test.mjs,api/theme-edit/theme-readers-clause-subject-part.test.mjs,api/theme-edit/theme-readers-fainter-word-part.test.mjs,api/theme-edit/theme-readers-joined-drops-alone.test.mjs,api/theme-edit/theme-readers-look-request-list.test.mjs,api/theme-edit/theme-readers-mediums-color-ground.test.mjs,api/theme-edit/theme-readers-part-named-color.test.mjs,api/theme-edit/theme-readers-share-part-fainter.test.mjs,api/theme-edit/theme-readers-share-words-figures.test.mjs,api/theme-edit/theme-readers-text-part-colored.test.mjs,api/theme-edit/theme-readers-thin-headings-weight.test.mjs,api/theme-edit/theme-readers-value-question-part.test.mjs,api/theme-edit/theme-receipts-happened-value-instead.test.mjs,api/theme-edit/theme-recovery-file-remake-values.test.mjs,api/theme-edit/theme-renders-end-to-end.test.mjs,api/theme-edit/theme-results-mode-names-drawing.test.mjs,api/theme-edit/theme-role-dials-reach-base-colors.test.mjs,api/theme-edit/theme-role-text-follows-exact-fill.test.mjs,api/theme-edit/theme-role-tokens.test.mjs,api/theme-edit/theme-saved-state-lines.test.mjs,api/theme-edit/theme-scoped-text.test.mjs,api/theme-edit/theme-sheet-cells-b.test.mjs,api/theme-edit/theme-sheet-cells.test.mjs,api/theme-edit/theme-sheet-modes.test.mjs,api/theme-edit/theme-sheet-overlay-open-light.test.mjs,api/theme-edit/theme-starter-apps-pages-pictures.test.mjs,api/theme-edit/theme-starter-typescript-imports.test.mjs,api/theme-edit/theme-state-thing-part-place.test.mjs,api/theme-edit/theme-states-picture.test.mjs,api/theme-edit/theme-table-states.test.mjs,api/theme-edit/theme-through-shared-readers-bases.test.mjs,api/theme-edit/theme-through-shared-readers-lists.test.mjs,api/theme-edit/theme-toast-picture.test.mjs,api/theme-edit/theme-token-check-source-design.test.mjs,api/theme-edit/theme-token-dial-values-refusal.test.mjs,api/theme-edit/theme-token-read-in-variant.test.mjs,api/theme-edit/theme-track-contrast.test.mjs,api/theme-edit/theme-typed-forms-read.test.mjs,api/theme-edit/theme-typography-family.test.mjs,api/theme-edit/theme-unicode-space-font-family.test.mjs,api/theme-edit/theme-values-build-warns-light.test.mjs,api/theme-edit/theme-wrong-shape-recovered-damaged.test.mjs
- Test setup, helpers, timing and CI:
- clear:
.github/workflows/deploy.yml,test-utils/base-theme-fixture.mjs,test-utils/checkout-writes.mjs,test-utils/real-base-themes.mjs,test-utils/theme-cache-warm.mjs,test-utils/theme-cache.mjs,test-utils/theme-render-stub.mjs,scripts/vitest-node-durations.json,vitest.global-setup.node.mjs,vitest.setup.node.mjs
- clear:
…he base theme's corners kept
|
/approve-spec b713afe |
There was a problem hiding this comment.
Changes requested: one claim in the release notes needs fixing first.
- The
b-radius-and-font-fallbackschangeset now saysastryx theme buildnames a radius offalse, but adefineTheme({radius: false})theme builds with no warning because the build's source reader skips boolean literals (packages/cli/api/theme/build/input-fields.mjs:762), so either readfalsethere and add aradius: falsetest case, or drop "orfalse" from the sentence.
The last commit fixes the earlier finding: radius: 0 and radius: '' now get the skip reason, and the test header matches its loop. An engineering owner approved this head; the next commit needs a new /approve-spec for its head.
Claims and files checked
Review mode: incremental; reason: none
changed rules (0): none
Claims:
- Description: a plain fill asked of a part with colored or status variants writes only its neutral variants, names the kept ones and offers a line for each: verified (keptLines pass in
_how-question.mjs; how tests updated,theme-how-draws-modes-clearly-light) - Description: transparency words change a border's color, never its width, and several colors in one ask each take the way: verified (
visibilityAsk, the joined-colors rewrite;theme-how-asks-read) - Description: a ring at rest goes in front of the part's own shadow, and a ring is a focus ring only when focus is said: verified (ring-at-rest branch;
theme-how-asks-read) - Description: a part word never matches half of a hyphenated compound, and a word that names no part says so and writes nothing: verified (
clausesOfhyphen guard,beforePartWord/possessiveWord;theme-compound-words,theme-how-asks-read) - Description: a deeper or darker accent adds a dark-mode line: verified (
nearDark/standsInDark;theme-deeper-accent-dark-line) - Description: role text starts from the fill the theme shows and is named by its role: verified (
_palette.mjsshown/start;theme-role-text-follows-exact-fill) - Description: an exact secondary text color is kept where it reads, else the nearest readable shade: verified (
_palette.mjsliteral path,compileThemeat();theme-exact-secondary-text-stays-readable) - Description: text on a role fill reaches black or white where nothing else reads, and a far accent gets an info note: verified (gray-ramp end in
_palette.mjs,infoClashNotes;theme-on-color-reaches-black-or-white,theme-info-clash-note) - Description: a token a part reads only in one variant says so and offers the token its default look reads: verified (
_compiler.mjs;theme-token-read-in-variant) - Description: a change lists every moved custom property, part tokens in a new
changedPartTokens: verified (partTokenChanges;theme-changed-tokens-built-values) - Description: a font setting the theme file overrides says so with file and line: verified (
ownFamilyNotes;theme-own-family-note) - Description:
show --pngtakes every picture with one browser a few pages at a time, group names count as their parts, tall rows are never cut, focus rings have room, the sample page has links: verified (screenshots(),eachAtOnce,touchedFamilies,cutTall,SHEET_CSS,_catalog.mjs;theme-pictures-one-browser,theme-sheet-cells-b); 'faster' follows from one browser start per run and is not measured - Description: a part label inside a value, a pasted result line,
newwith comma pairs, copy debris on a base name and a px unit on a px dial are read as meant: verified (partInValue,normalizeEntry, the comma split,withoutDebris,dialNumber;theme-typed-forms-read,theme-dial-number-unit) - Description:
theme buildwarns misspelled fields reached through a reassignedlet, a dynamic import, a member, an array element, a ternary orObject.assign: verified (readModuleassignments,objectsOf,namespaceOf;build-stable-fields-through-expressions,theme-build-unusual-inputs) - Description:
theme buildwarnsMap/Settokens and pairs with a non-color half, and stops at a field holding an object with no text form: verified (entriesNotRead,isOtherThanColor, the textless branch;theme-build-unusual-inputs,theme-values-build-warns-light) - Description:
theme buildwarns a radius scale with no base, and the editor refuses it: verified (radiusInputProblemsin thebuild.mjswarnings and the editor's own-token problems;build-stable-typography-values) - Description:
theme build --watchfollowsimport x = require(): verified (parsedSpecifiersintemplate-needs.mjs, used by the watch list inbuild.mjs;theme-starter-typescript-imports) - Description:
theme useopens its receipt with the default it set: verified (commands/theme.mjs, text only) - Description: palette recipe v2 fades a gray family toward white: verified (
grayFadeingenerator.mjs, v2 only;recipe-v2test) - Description:
showon a theme holding an image over 8 MB draws the rest and names the image: verified (leaveLargeStyleAssetsinrender-page.mjs, passed by_parts.mjs) - Description: an unwritable theme folder is named by the picture run: verified (
UNWRITABLEinfamilyPagesandshow) - Description: page component items are built once per Core install and kept in the theme cache: verified (
cachedComponentItems, keyed by its code and the Core key); the time saved is not measured - Description: the editor's tests stand in for drawing by default, files that read drawn pages draw for real, and the stand-in gives the same page list: verified (
vitest.setup.node.mjs,theme-render-stub.mjs;theme-renders-end-to-endcompares the family sections) - Description: end-to-end tests draw for real for every command that renders: verified for new, set, undo, show, show --png and preview add
- Description: a teardown fails the run if a test writes into the checkout: verified (
vitest.global-setup.node.mjswithcheckout-writes.mjs) - Description:
THEME_EDIT_REAL_RENDERS=1draws for real everywhere and the main full run sets it: verified (theme-render-stub.mjs; the env line on the deploy workflow's Node test step) - Description: the full CLI suite passes on a main-based tree in both modes: not checked whole; CI's heavy Node legs wait for review approval at this head, and the changed build test file passes here
- Description: structure, changesets, tsc, eslint and prettier are clean: verified for eslint and prettier on the files changed since the last review; the CLI typecheck reports no error in a changed file
- Description: recorded Node times fit the per-leg budget: verified (CI's room check passed at this head)
- Changeset
b-radius-and-font-fallbacks: verified for a scale missing a field or holding a field Core cannot read as a number (booleans build), forradius: 0and''now getting the skip reason, and for the font fallbacks (radius-values.mjs,compileThemefallbacks,aloneFallbacks,fontNotes;build-stable-typography-values,theme-typography-family); false forradius: false, which adefineThemesource builds with no warning (the blocking finding) - Changeset
b-rounded-font-help: verified (_tables.mjsfont help;theme-picture-fonts) - Changeset
base-redraws: verified (baseRedraws, set notes, hownotIn;theme-base-redraws) - Changeset
deeper-accent-dark-line: verified (_palette.mjscloser note,nearDark;theme-deeper-accent-dark-line) - Changeset
exact-secondary-text-stays-readable: verified (_palette.mjs,compileTheme) - Changeset
experimental-theme-asks-of-parts: verified (_how-question.mjsreference, others,atOnce, inline-state wash, rowPad;_check.mjsborder refusal;theme-asks-of-parts) - Changeset
experimental-theme-broken-words: verified (cut-short.mjsbrokenWords,cutShortNote;theme-pictures-broken-words) - Changeset
experimental-theme-button-style-check: verified (buttonStyleProblems;theme-scoped-text) - Changeset
experimental-theme-changed-tokens-built: verified (partTokenChanges;theme-changed-tokens-built-values) - Changeset
experimental-theme-compound-words: verified (clausesOf;theme-compound-words) - Changeset
experimental-theme-contrast-low: verified (wholeOf/wholeGrounds, darker fix,isCheckNote;theme-contrast-low) - Changeset
experimental-theme-destructive-lookalike: verified (destructiveLookalike,LOOKS_ALIKE;theme-destructive-lookalike) - Changeset
experimental-theme-dial-number-unit: verified (dialNumber;theme-dial-number-unit) - Changeset
experimental-theme-how-answer-wording: verified (withoutColorNow,withoutLooksNow,pluralOf,nearOfftint;theme-how-answer-wording) - Changeset
experimental-theme-how-app-pasted-css-variables: verified (draftAnswer rewrites, side and width innamedProperty, readable-text line;theme-readers-thin-headings-weight) - Changeset
experimental-theme-how-asks-read: verified (visibilityAsk, joined colors, ring at rest,_part-words.mjs;theme-how-asks-read) - Changeset
experimental-theme-how-mostly-draw-light-dark: verified (pageTones, border keep, unselected pass, complaint pass, 2.5:1 links;theme-how-clause-scope) - Changeset
experimental-theme-how-neutral-variants: verified (keptLines; updated how tests) - Changeset
experimental-theme-how-one-line-looks: verified (draftAnswer rewrites;theme-how-one-line-looks,theme-main-panel-own-fill) - Changeset
experimental-theme-how-order-leaves-out-would: verified (finishno-op filter in_how.mjs, heavy shadows,colorCheck;theme-readers-joined-drops-alone) - Changeset
experimental-theme-how-variant-looks: verified (variant passes,onSurfacesmirror,_part-words.mjs;theme-how-variant-looks) - Changeset
experimental-theme-missed-parts-named: verified (missedSummary,missedLine, corners guard,openGroupOf;theme-missed-parts-named) - Changeset
experimental-theme-missed-step-lines: verified (textFollows,sayNextStepClears;theme-missed-step-lines) - Changeset
experimental-theme-near-property-form-family: verified (family()in undo near matches) - Changeset
experimental-theme-new-color-warnings: verified (newThemepalette failures;theme-new-color-warnings) - Changeset
experimental-theme-pages-stand: verified (leaveLargeStyleAssets,UNWRITABLE) - Changeset
experimental-theme-part-own-fill: verified (nearerFillOf,groundPart;theme-part-own-fill-contrast) - Changeset
experimental-theme-pictures-one-browser: verified (screenshots(),eachAtOnce,SHEET_CSS,_catalog.mjs;theme-pictures-one-browser) - Changeset
experimental-theme-placeholder: verified (placeholderProblems;theme-placeholder) - Changeset
experimental-theme-progress-bar-height-track: verified (track branch, other-part state answer;theme-progress-bar-height-track) - Changeset
experimental-theme-receipts-and-pointers: verified (DIAL_VALUE_WORDS, inner state lines, no-change note, mode order;theme-edit-receipts-and-pointers) - Changeset
experimental-theme-receipts-happened-value-font: verified (unchanged line,nowAppliesIn, mode note, beyond line;theme-receipts-happened-value-instead) - Changeset
experimental-theme-saved-state-lines: verified (readSavedStates/LOADED_STATE;theme-saved-state-lines,theme-aria-state-name) - Changeset
experimental-theme-sheet-cells-b: verified (cutTall/pagesOfPicture,SETTLE_ANIMATIONS, required sample props,SHEET_CSS, deprecated and open-scene skips;theme-sheet-cells-b) - Changeset
experimental-theme-show-png-families(edited): verified (pagesOfPicture,lookAtPicturescuts) - Changeset
experimental-theme-starter-typescript-imports: verified (referencedPaths, import-equals intemplate-needs.mjs,_preview-app.mjs;theme-starter-typescript-imports) - Changeset
experimental-theme-table-rows: verified (rowPad branch) - Changeset
experimental-theme-token-name-free-without: verified (newThemetoken-name check;theme-receipts-happened-value-instead) - Changeset
experimental-theme-token-read-in-variant: verified (_compiler.mjs;theme-token-read-in-variant) - Changeset
experimental-theme-typed-forms-read: verified (partInValue,withoutScopeWords, pasted head, comma pairs, debris, weight-named family;theme-typed-forms-read) - Changeset
fix-theme-use-default-line: verified (text only, JSON unchanged) - Changeset
flat-own-fill: verified (ownFillincompileTheme;theme-flat-pieces) - Changeset
floating-edge: verified (FLOATING_PANELS/FLOATING_SURFACES,floatingEdgeProblems;theme-floating-edge) - Changeset
gray-fade-v2: verified (v2 only; v1 and every shipped palette unchanged; v2 has not been released yet) - Changeset
info-clash-note: verified (infoClashNotes;theme-info-clash-note) - Changeset
neutral-same-grays: verified (GRAYS_SHOWNnote;theme-neutral-same-grays) - Changeset
on-color-reaches-black-or-white: verified (_palette.mjsramp end;theme-on-color-reaches-black-or-white) - Changeset
role-dials-reach-base-colors: verified (roleReach,compileTheme, missed filter;theme-role-dials-reach-base-colors,theme-role-tokens) - Changeset
role-text-follows-exact-fill: verified (_palette.mjs;theme-role-text-follows-exact-fill) - Changeset
theme-build-color-pair-halves: verified (isOtherThanColor, computed-in-file wording,Object.isinherited check;theme-values-build-warns-light,css-checks.kept) - Changeset
theme-build-fields-through-expressions: verified (objectsOf, doctor message naming both causes,extendscycle refusal,renderOwnerGone;build-stable-fields-through-expressions,theme-checks,theme-wrong-shape-recovered-damaged) - Changeset
theme-build-unusual-inputs: verified (assignments,namespaceOf,entriesNotRead, textless objects,writtenPrimitivesindefineThemeInput,asPrimitive;theme-build-unusual-inputs) - Changeset
theme-build-watch-import-equals: verified (parsedSpecifiers;theme-starter-typescript-imports) - Changeset
theme-editor-font-own-family: verified (ownFamilyNotes;theme-own-family-note) - Changeset
track-contrast: verified (trackContrastProblems;theme-track-contrast)
Files:
- Changesets:
b-radius-and-font-fallbacks.md: blocking (claimstheme buildnamesradius: false)- clear:
b-rounded-font-help.md,base-redraws.md,deeper-accent-dark-line.md,exact-secondary-text-stays-readable.md,experimental-theme-asks-of-parts.md,experimental-theme-broken-words.md,experimental-theme-button-style-check.md,experimental-theme-changed-tokens-built.md,experimental-theme-compound-words.md,experimental-theme-contrast-low.md,experimental-theme-destructive-lookalike.md,experimental-theme-dial-number-unit.md,experimental-theme-how-answer-wording.md,experimental-theme-how-app-pasted-css-variables.md,experimental-theme-how-asks-read.md,experimental-theme-how-mostly-draw-light-dark.md,experimental-theme-how-neutral-variants.md,experimental-theme-how-one-line-looks.md,experimental-theme-how-order-leaves-out-would.md,experimental-theme-how-variant-looks.md,experimental-theme-missed-parts-named.md,experimental-theme-missed-step-lines.md,experimental-theme-near-property-form-family.md,experimental-theme-new-color-warnings.md,experimental-theme-pages-stand.md,experimental-theme-part-own-fill.md,experimental-theme-pictures-one-browser.md,experimental-theme-placeholder.md,experimental-theme-progress-bar-height-track.md,experimental-theme-receipts-and-pointers.md,experimental-theme-receipts-happened-value-font.md,experimental-theme-saved-state-lines.md,experimental-theme-sheet-cells-b.md,experimental-theme-show-png-families.md,experimental-theme-starter-typescript-imports.md,experimental-theme-table-rows.md,experimental-theme-token-name-free-without.md,experimental-theme-token-read-in-variant.md,experimental-theme-typed-forms-read.md,fix-theme-use-default-line.md,flat-own-fill.md,floating-edge.md,gray-fade-v2.md,info-clash-note.md,neutral-same-grays.md,on-color-reaches-black-or-white.md,role-dials-reach-base-colors.md,role-text-follows-exact-fill.md,theme-build-color-pair-halves.md,theme-build-fields-through-expressions.md,theme-build-unusual-inputs.md,theme-build-watch-import-equals.md,theme-editor-font-own-family.md,track-contrast.md
- Stable theme build, doctor, theme use, discovery and palette:
- clear:
api/theme/build/radius-values.mjs,api/doctor/theme-checks.mjs,api/doctor/theme-checks.test.mjs,api/theme/build/build-stable-fields-through-expressions.test.mjs,api/theme/build/build-stable-typography-values.test.mjs,api/theme/build/build.mjs,api/theme/build/css-checks.kept.test.mjs,api/theme/build/input-fields.mjs,api/theme/build/typography-values.mjs,api/theme/build/written-values.mjs,api/theme/palette/generate/generator.mjs,api/theme/palette/generate/recipe-v2.test.mjs,clients/cli/commands/theme.mjs,foundation/discovery/template-needs.mjs
- clear:
- Editor source and types:
- clear:
api/theme-edit/_catalog.mjs,api/theme-edit/_check.mjs,api/theme-edit/_color.mjs,api/theme-edit/_compiler.mjs,api/theme-edit/_context.mjs,api/theme-edit/_edit.mjs,api/theme-edit/_how-question.mjs,api/theme-edit/_how.mjs,api/theme-edit/_missed.mjs,api/theme-edit/_normal.mjs,api/theme-edit/_palette.mjs,api/theme-edit/_part-words.mjs,api/theme-edit/_parts.mjs,api/theme-edit/_png.mjs,api/theme-edit/_preview-app.mjs,api/theme-edit/_preview.mjs,api/theme-edit/_project.mjs,api/theme-edit/_settings.mjs,api/theme-edit/_tables.mjs,api/theme-edit/theme-edit.type.mjs
- clear:
- Page rendering, pictures and response docs:
- clear:
foundation/render/cut-short.mjs,foundation/render/picture-chrome.mjs,foundation/render/picture-playwright.mjs,foundation/render/picture-window.mjs,foundation/render/render-page.mjs,foundation/response/response-types.doc.mjs
- clear:
- Command docs, command and command tests:
- clear:
clients/cli/commands/experimental-theme-editor-new.doc.mjs,clients/cli/commands/experimental-theme-editor-set.doc.mjs,clients/cli/commands/experimental-theme-editor-show.doc.mjs,clients/cli/commands/experimental-theme-editor-undo.doc.mjs,clients/cli/commands/experimental-theme-show-text.test.mjs,clients/cli/commands/experimental/theme.mjs,clients/cli/commands/text-json-parity.test.mjs
- clear:
- Editor tests:
- clear:
api/theme-edit/theme-aria-state-name.test.mjs,api/theme-edit/theme-asks-of-parts.test.mjs,api/theme-edit/theme-auto-media.test.mjs,api/theme-edit/theme-base-redraws.test.mjs,api/theme-edit/theme-build-names-pictures-removed.test.mjs,api/theme-edit/theme-build-unusual-inputs.test.mjs,api/theme-edit/theme-change-leaves-unchecked-unreached.test.mjs,api/theme-edit/theme-changed-tokens-built-values.test.mjs,api/theme-edit/theme-compound-words.test.mjs,api/theme-edit/theme-contrast-check-measures-draws.test.mjs,api/theme-edit/theme-contrast-low.test.mjs,api/theme-edit/theme-cut-short.test.mjs,api/theme-edit/theme-deeper-accent-dark-line.test.mjs,api/theme-edit/theme-destructive-lookalike.test.mjs,api/theme-edit/theme-dial-number-unit.test.mjs,api/theme-edit/theme-edit-receipts-and-pointers.test.mjs,api/theme-edit/theme-elements.test.mjs,api/theme-edit/theme-exact-secondary-text-stays-readable.test.mjs,api/theme-edit/theme-except-apart-comma-led.test.mjs,api/theme-edit/theme-family-pictures.test.mjs,api/theme-edit/theme-fixture-writes-stay-in-fixture.test.mjs,api/theme-edit/theme-flat-pieces.test.mjs,api/theme-edit/theme-floating-edge.test.mjs,api/theme-edit/theme-font-families-map-fontsource.test.mjs,api/theme-edit/theme-how-amount-softening-word-words.test.mjs,api/theme-edit/theme-how-answer-wording.test.mjs,api/theme-edit/theme-how-asks-read.test.mjs,api/theme-edit/theme-how-border-color-reaches-variant.test.mjs,api/theme-edit/theme-how-clause-scope.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-dark.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-light.test.mjs,api/theme-edit/theme-how-one-line-looks.test.mjs,api/theme-edit/theme-how-possessive-owner-several-words.test.mjs,api/theme-edit/theme-how-repeatable-answers.test.mjs,api/theme-edit/theme-how-thicker-radio-checkbox-border.test.mjs,api/theme-edit/theme-how-variant-looks.test.mjs,api/theme-edit/theme-how.test.mjs,api/theme-edit/theme-info-clash-note.test.mjs,api/theme-edit/theme-leased-lock-taken-process.test.mjs,api/theme-edit/theme-main-panel-own-fill.test.mjs,api/theme-edit/theme-media-width.test.mjs,api/theme-edit/theme-missed-parts-named.test.mjs,api/theme-edit/theme-missed-step-lines.test.mjs,api/theme-edit/theme-missed-summary.test.mjs,api/theme-edit/theme-neutral-mode-words-direction.test.mjs,api/theme-edit/theme-neutral-same-grays.test.mjs,api/theme-edit/theme-new-color-warnings.test.mjs,api/theme-edit/theme-on-color-reaches-black-or-white.test.mjs,api/theme-edit/theme-open-states-page-starter.test.mjs,api/theme-edit/theme-open-states-picture-people.test.mjs,api/theme-edit/theme-own-family-note.test.mjs,api/theme-edit/theme-palette.test.mjs,api/theme-edit/theme-part-match-missed-list.test.mjs,api/theme-edit/theme-part-own-fill-contrast.test.mjs,api/theme-edit/theme-picture-fonts.test.mjs,api/theme-edit/theme-picture-links.test.mjs,api/theme-edit/theme-picture-offline.test.mjs,api/theme-edit/theme-pictures-agents-open-overlays.test.mjs,api/theme-edit/theme-pictures-broken-words.test.mjs,api/theme-edit/theme-pictures-one-browser.test.mjs,api/theme-edit/theme-pictures-open-named-people.test.mjs,api/theme-edit/theme-pictures-overlays-drawn-open.test.mjs,api/theme-edit/theme-pictures-sees-once-page.test.mjs,api/theme-edit/theme-placeholder.test.mjs,api/theme-edit/theme-preview-follows-through-browser.test.mjs,api/theme-edit/theme-preview-follows-through-pictures.test.mjs,api/theme-edit/theme-preview-follows-through-playwright.test.mjs,api/theme-edit/theme-preview-follows-through-remove.test.mjs,api/theme-edit/theme-preview-follows-through-stop.test.mjs,api/theme-edit/theme-previews-truly-file-regular.test.mjs,api/theme-edit/theme-problems-change-lead-result.test.mjs,api/theme-edit/theme-progress-bar-height-track.test.mjs,api/theme-edit/theme-question-means-part-compares.test.mjs,api/theme-edit/theme-reader-input-path-family.test.mjs,api/theme-edit/theme-readers-buttons-color-links.test.mjs,api/theme-edit/theme-readers-clause-subject-part.test.mjs,api/theme-edit/theme-readers-fainter-word-part.test.mjs,api/theme-edit/theme-readers-joined-drops-alone.test.mjs,api/theme-edit/theme-readers-look-request-list.test.mjs,api/theme-edit/theme-readers-mediums-color-ground.test.mjs,api/theme-edit/theme-readers-part-named-color.test.mjs,api/theme-edit/theme-readers-share-part-fainter.test.mjs,api/theme-edit/theme-readers-share-words-figures.test.mjs,api/theme-edit/theme-readers-text-part-colored.test.mjs,api/theme-edit/theme-readers-thin-headings-weight.test.mjs,api/theme-edit/theme-readers-value-question-part.test.mjs,api/theme-edit/theme-receipts-happened-value-instead.test.mjs,api/theme-edit/theme-recovery-file-remake-values.test.mjs,api/theme-edit/theme-renders-end-to-end.test.mjs,api/theme-edit/theme-results-mode-names-drawing.test.mjs,api/theme-edit/theme-role-dials-reach-base-colors.test.mjs,api/theme-edit/theme-role-text-follows-exact-fill.test.mjs,api/theme-edit/theme-role-tokens.test.mjs,api/theme-edit/theme-saved-state-lines.test.mjs,api/theme-edit/theme-scoped-text.test.mjs,api/theme-edit/theme-sheet-cells-b.test.mjs,api/theme-edit/theme-sheet-cells.test.mjs,api/theme-edit/theme-sheet-modes.test.mjs,api/theme-edit/theme-sheet-overlay-open-light.test.mjs,api/theme-edit/theme-starter-apps-pages-pictures.test.mjs,api/theme-edit/theme-starter-typescript-imports.test.mjs,api/theme-edit/theme-state-thing-part-place.test.mjs,api/theme-edit/theme-states-picture.test.mjs,api/theme-edit/theme-table-states.test.mjs,api/theme-edit/theme-through-shared-readers-bases.test.mjs,api/theme-edit/theme-through-shared-readers-lists.test.mjs,api/theme-edit/theme-toast-picture.test.mjs,api/theme-edit/theme-token-check-source-design.test.mjs,api/theme-edit/theme-token-dial-values-refusal.test.mjs,api/theme-edit/theme-token-read-in-variant.test.mjs,api/theme-edit/theme-track-contrast.test.mjs,api/theme-edit/theme-typed-forms-read.test.mjs,api/theme-edit/theme-typography-family.test.mjs,api/theme-edit/theme-unicode-space-font-family.test.mjs,api/theme-edit/theme-values-build-warns-light.test.mjs,api/theme-edit/theme-wrong-shape-recovered-damaged.test.mjs
- clear:
- Test setup, helpers, timing and CI:
- clear:
.github/workflows/deploy.yml,test-utils/base-theme-fixture.mjs,test-utils/checkout-writes.mjs,test-utils/real-base-themes.mjs,test-utils/theme-cache-warm.mjs,test-utils/theme-cache.mjs,test-utils/theme-render-stub.mjs,scripts/vitest-node-durations.json,vitest.global-setup.node.mjs,vitest.setup.node.mjs
- clear:
|
/approve-spec dc1fad1 |
There was a problem hiding this comment.
Approved pending CI: CI has not finished on this head yet (lint, the Storybook build and the smoke test passed; the main CI workflow was still admitting its jobs), and the heavy test jobs run once the pull request is approved.
The release note now promises the skip reason only for radius: 0 and radius: '', which astryx theme build reads from a defineTheme source and its tests check, so the earlier finding is fixed. An engineering owner approved this exact head, which settles the editor, recipe, theme build, theme use and response-type direction. A split along the stable fixes, the editor round and the test stand-in would make later rounds easier to review.
Claims and files checked
Review mode: incremental; reason: none
changed rules (0): none
Claims:
- Description: a plain fill asked of a part with colored or status variants writes only its neutral variants, names the kept ones and offers a line for each: verified (keptLines pass in
_how-question.mjs; how tests updated,theme-how-draws-modes-clearly-light) - Description: transparency words change a border's color, never its width, and several colors in one ask each take the way: verified (
visibilityAsk, the joined-colors rewrite;theme-how-asks-read) - Description: a ring at rest goes in front of the part's own shadow, and a ring is a focus ring only when focus is said: verified (ring-at-rest branch;
theme-how-asks-read) - Description: a part word never matches half of a hyphenated compound, and a word that names no part says so and writes nothing: verified (
clausesOfhyphen guard,beforePartWord/possessiveWord;theme-compound-words,theme-how-asks-read) - Description: a deeper or darker accent adds a dark-mode line: verified (
nearDark/standsInDark;theme-deeper-accent-dark-line) - Description: role text starts from the fill the theme shows and is named by its role: verified (
_palette.mjsshown/start;theme-role-text-follows-exact-fill) - Description: an exact secondary text color is kept where it reads, else the nearest readable shade: verified (
_palette.mjsliteral path,compileThemeat();theme-exact-secondary-text-stays-readable) - Description: text on a role fill reaches black or white where nothing else reads, and a far accent gets an info note: verified (gray-ramp end in
_palette.mjs,infoClashNotes;theme-on-color-reaches-black-or-white,theme-info-clash-note) - Description: a token a part reads only in one variant says so and offers the token its default look reads: verified (
_compiler.mjs;theme-token-read-in-variant) - Description: a change lists every moved custom property, part tokens in a new
changedPartTokens: verified (partTokenChanges;theme-changed-tokens-built-values) - Description: a font setting the theme file overrides says so with file and line: verified (
ownFamilyNotes;theme-own-family-note) - Description:
show --pngtakes every picture with one browser a few pages at a time, group names count as their parts, tall rows are never cut, focus rings have room, the sample page has links: verified (screenshots(),eachAtOnce,touchedFamilies,cutTall,SHEET_CSS,_catalog.mjs;theme-pictures-one-browser,theme-sheet-cells-b); 'faster' follows from one browser start per run and is not measured - Description: a part label inside a value, a pasted result line,
newwith comma pairs, copy debris on a base name and a px unit on a px dial are read as meant: verified (partInValue,normalizeEntry, the comma split,withoutDebris,dialNumber;theme-typed-forms-read,theme-dial-number-unit) - Description:
theme buildwarns misspelled fields reached through a reassignedlet, a dynamic import, a member, an array element, a ternary orObject.assign: verified (readModuleassignments,objectsOf,namespaceOf;build-stable-fields-through-expressions,theme-build-unusual-inputs) - Description:
theme buildwarnsMap/Settokens and pairs with a non-color half, and stops at a field holding an object with no text form: verified (entriesNotRead,isOtherThanColor, the textless branch;theme-build-unusual-inputs,theme-values-build-warns-light) - Description:
theme buildwarns a radius scale with no base, and the editor refuses it: verified (radiusInputProblemsin thebuild.mjswarnings and the editor's own-token problems;build-stable-typography-values) - Description:
theme build --watchfollowsimport x = require(): verified (parsedSpecifiersintemplate-needs.mjs, used by the watch list inbuild.mjs;theme-starter-typescript-imports) - Description:
theme useopens its receipt with the default it set: verified (commands/theme.mjs, text only) - Description: palette recipe v2 fades a gray family toward white: verified (
grayFadeingenerator.mjs, v2 only;recipe-v2test) - Description:
showon a theme holding an image over 8 MB draws the rest and names the image: verified (leaveLargeStyleAssetsinrender-page.mjs, passed by_parts.mjs) - Description: an unwritable theme folder is named by the picture run: verified (
UNWRITABLEinfamilyPagesandshow) - Description: page component items are built once per Core install and kept in the theme cache: verified (
cachedComponentItems, keyed by its code and the Core key); the time saved is not measured - Description: the editor's tests stand in for drawing by default, files that read drawn pages draw for real, and the stand-in gives the same page list: verified (
vitest.setup.node.mjs,theme-render-stub.mjs;theme-renders-end-to-endcompares the family sections) - Description: end-to-end tests draw for real for every command that renders: verified for new, set, undo, show, show --png and preview add
- Description: a teardown fails the run if a test writes into the checkout: verified (
vitest.global-setup.node.mjswithcheckout-writes.mjs) - Description:
THEME_EDIT_REAL_RENDERS=1draws for real everywhere and the main full run sets it: verified (theme-render-stub.mjs; the env line on the deploy workflow's Node test step) - Description: the full CLI suite passes on a main-based tree in both modes: not checked whole; CI's heavy Node legs run once the pull request is approved, and the merge guard requires them green
- Description: structure, changesets, tsc, eslint and prettier are clean: verified at the previous head for eslint, prettier and the CLI typecheck on the changed files; only a changeset line changed since, and the Lint workflow was still running at this head
- Description: recorded Node times fit the per-leg budget: verified (CI's room check passed at this head)
- Changeset
b-radius-and-font-fallbacks(edited): verified for a scale missing a field or holding a field Core cannot read as a number (booleans build), forradius: 0and''getting the skip reason, now the only falsy values it names, and for the font fallbacks (radius-values.mjs,input-fields.mjssource reader,compileThemefallbacks,aloneFallbacks,fontNotes;build-stable-typography-values,theme-typography-family) - Changeset
b-rounded-font-help: verified (_tables.mjsfont help;theme-picture-fonts) - Changeset
base-redraws: verified (baseRedraws, set notes, hownotIn;theme-base-redraws) - Changeset
deeper-accent-dark-line: verified (_palette.mjscloser note,nearDark;theme-deeper-accent-dark-line) - Changeset
exact-secondary-text-stays-readable: verified (_palette.mjs,compileTheme) - Changeset
experimental-theme-asks-of-parts: verified (_how-question.mjsreference, others,atOnce, inline-state wash, rowPad;_check.mjsborder refusal;theme-asks-of-parts) - Changeset
experimental-theme-broken-words: verified (cut-short.mjsbrokenWords,cutShortNote;theme-pictures-broken-words) - Changeset
experimental-theme-button-style-check: verified (buttonStyleProblems;theme-scoped-text) - Changeset
experimental-theme-changed-tokens-built: verified (partTokenChanges;theme-changed-tokens-built-values) - Changeset
experimental-theme-compound-words: verified (clausesOf;theme-compound-words) - Changeset
experimental-theme-contrast-low: verified (wholeOf/wholeGrounds, darker fix,isCheckNote;theme-contrast-low) - Changeset
experimental-theme-destructive-lookalike: verified (destructiveLookalike,LOOKS_ALIKE;theme-destructive-lookalike) - Changeset
experimental-theme-dial-number-unit: verified (dialNumber;theme-dial-number-unit) - Changeset
experimental-theme-how-answer-wording: verified (withoutColorNow,withoutLooksNow,pluralOf,nearOfftint;theme-how-answer-wording) - Changeset
experimental-theme-how-app-pasted-css-variables: verified (draftAnswer rewrites, side and width innamedProperty, readable-text line;theme-readers-thin-headings-weight) - Changeset
experimental-theme-how-asks-read: verified (visibilityAsk, joined colors, ring at rest,_part-words.mjs;theme-how-asks-read) - Changeset
experimental-theme-how-mostly-draw-light-dark: verified (pageTones, border keep, unselected pass, complaint pass, 2.5:1 links;theme-how-clause-scope) - Changeset
experimental-theme-how-neutral-variants: verified (keptLines; updated how tests) - Changeset
experimental-theme-how-one-line-looks: verified (draftAnswer rewrites;theme-how-one-line-looks,theme-main-panel-own-fill) - Changeset
experimental-theme-how-order-leaves-out-would: verified (finishno-op filter in_how.mjs, heavy shadows,colorCheck;theme-readers-joined-drops-alone) - Changeset
experimental-theme-how-variant-looks: verified (variant passes,onSurfacesmirror,_part-words.mjs;theme-how-variant-looks) - Changeset
experimental-theme-missed-parts-named: verified (missedSummary,missedLine, corners guard,openGroupOf;theme-missed-parts-named) - Changeset
experimental-theme-missed-step-lines: verified (textFollows,sayNextStepClears;theme-missed-step-lines) - Changeset
experimental-theme-near-property-form-family: verified (family()in undo near matches) - Changeset
experimental-theme-new-color-warnings: verified (newThemepalette failures;theme-new-color-warnings) - Changeset
experimental-theme-pages-stand: verified (leaveLargeStyleAssets,UNWRITABLE) - Changeset
experimental-theme-part-own-fill: verified (nearerFillOf,groundPart;theme-part-own-fill-contrast) - Changeset
experimental-theme-pictures-one-browser: verified (screenshots(),eachAtOnce,SHEET_CSS,_catalog.mjs;theme-pictures-one-browser) - Changeset
experimental-theme-placeholder: verified (placeholderProblems;theme-placeholder) - Changeset
experimental-theme-progress-bar-height-track: verified (track branch, other-part state answer;theme-progress-bar-height-track) - Changeset
experimental-theme-receipts-and-pointers: verified (DIAL_VALUE_WORDS, inner state lines, no-change note, mode order;theme-edit-receipts-and-pointers) - Changeset
experimental-theme-receipts-happened-value-font: verified (unchanged line,nowAppliesIn, mode note, beyond line;theme-receipts-happened-value-instead) - Changeset
experimental-theme-saved-state-lines: verified (readSavedStates/LOADED_STATE;theme-saved-state-lines,theme-aria-state-name) - Changeset
experimental-theme-sheet-cells-b: verified (cutTall/pagesOfPicture,SETTLE_ANIMATIONS, required sample props,SHEET_CSS, deprecated and open-scene skips;theme-sheet-cells-b) - Changeset
experimental-theme-show-png-families(edited): verified (pagesOfPicture,lookAtPicturescuts) - Changeset
experimental-theme-starter-typescript-imports: verified (referencedPaths, import-equals intemplate-needs.mjs,_preview-app.mjs;theme-starter-typescript-imports) - Changeset
experimental-theme-table-rows: verified (rowPad branch) - Changeset
experimental-theme-token-name-free-without: verified (newThemetoken-name check;theme-receipts-happened-value-instead) - Changeset
experimental-theme-token-read-in-variant: verified (_compiler.mjs;theme-token-read-in-variant) - Changeset
experimental-theme-typed-forms-read: verified (partInValue,withoutScopeWords, pasted head, comma pairs, debris, weight-named family;theme-typed-forms-read) - Changeset
fix-theme-use-default-line: verified (text only, JSON unchanged) - Changeset
flat-own-fill: verified (ownFillincompileTheme;theme-flat-pieces) - Changeset
floating-edge: verified (FLOATING_PANELS/FLOATING_SURFACES,floatingEdgeProblems;theme-floating-edge) - Changeset
gray-fade-v2: verified (v2 only; v1 and every shipped palette unchanged; v2 has not been released yet) - Changeset
info-clash-note: verified (infoClashNotes;theme-info-clash-note) - Changeset
neutral-same-grays: verified (GRAYS_SHOWNnote;theme-neutral-same-grays) - Changeset
on-color-reaches-black-or-white: verified (_palette.mjsramp end;theme-on-color-reaches-black-or-white) - Changeset
role-dials-reach-base-colors: verified (roleReach,compileTheme, missed filter;theme-role-dials-reach-base-colors,theme-role-tokens) - Changeset
role-text-follows-exact-fill: verified (_palette.mjs;theme-role-text-follows-exact-fill) - Changeset
theme-build-color-pair-halves: verified (isOtherThanColor, computed-in-file wording,Object.isinherited check;theme-values-build-warns-light,css-checks.kept) - Changeset
theme-build-fields-through-expressions: verified (objectsOf, doctor message naming both causes,extendscycle refusal,renderOwnerGone;build-stable-fields-through-expressions,theme-checks,theme-wrong-shape-recovered-damaged) - Changeset
theme-build-unusual-inputs: verified (assignments,namespaceOf,entriesNotRead, textless objects,writtenPrimitivesindefineThemeInput,asPrimitive;theme-build-unusual-inputs) - Changeset
theme-build-watch-import-equals: verified (parsedSpecifiers;theme-starter-typescript-imports) - Changeset
theme-editor-font-own-family: verified (ownFamilyNotes;theme-own-family-note) - Changeset
track-contrast: verified (trackContrastProblems;theme-track-contrast)
Files:
- Changesets:
- clear:
b-radius-and-font-fallbacks.md,b-rounded-font-help.md,base-redraws.md,deeper-accent-dark-line.md,exact-secondary-text-stays-readable.md,experimental-theme-asks-of-parts.md,experimental-theme-broken-words.md,experimental-theme-button-style-check.md,experimental-theme-changed-tokens-built.md,experimental-theme-compound-words.md,experimental-theme-contrast-low.md,experimental-theme-destructive-lookalike.md,experimental-theme-dial-number-unit.md,experimental-theme-how-answer-wording.md,experimental-theme-how-app-pasted-css-variables.md,experimental-theme-how-asks-read.md,experimental-theme-how-mostly-draw-light-dark.md,experimental-theme-how-neutral-variants.md,experimental-theme-how-one-line-looks.md,experimental-theme-how-order-leaves-out-would.md,experimental-theme-how-variant-looks.md,experimental-theme-missed-parts-named.md,experimental-theme-missed-step-lines.md,experimental-theme-near-property-form-family.md,experimental-theme-new-color-warnings.md,experimental-theme-pages-stand.md,experimental-theme-part-own-fill.md,experimental-theme-pictures-one-browser.md,experimental-theme-placeholder.md,experimental-theme-progress-bar-height-track.md,experimental-theme-receipts-and-pointers.md,experimental-theme-receipts-happened-value-font.md,experimental-theme-saved-state-lines.md,experimental-theme-sheet-cells-b.md,experimental-theme-show-png-families.md,experimental-theme-starter-typescript-imports.md,experimental-theme-table-rows.md,experimental-theme-token-name-free-without.md,experimental-theme-token-read-in-variant.md,experimental-theme-typed-forms-read.md,fix-theme-use-default-line.md,flat-own-fill.md,floating-edge.md,gray-fade-v2.md,info-clash-note.md,neutral-same-grays.md,on-color-reaches-black-or-white.md,role-dials-reach-base-colors.md,role-text-follows-exact-fill.md,theme-build-color-pair-halves.md,theme-build-fields-through-expressions.md,theme-build-unusual-inputs.md,theme-build-watch-import-equals.md,theme-editor-font-own-family.md,track-contrast.md
- clear:
- Stable theme build, doctor, theme use, discovery and palette:
- clear:
api/theme/build/radius-values.mjs,api/doctor/theme-checks.mjs,api/doctor/theme-checks.test.mjs,api/theme/build/build-stable-fields-through-expressions.test.mjs,api/theme/build/build-stable-typography-values.test.mjs,api/theme/build/build.mjs,api/theme/build/css-checks.kept.test.mjs,api/theme/build/input-fields.mjs,api/theme/build/typography-values.mjs,api/theme/build/written-values.mjs,api/theme/palette/generate/generator.mjs,api/theme/palette/generate/recipe-v2.test.mjs,clients/cli/commands/theme.mjs,foundation/discovery/template-needs.mjs
- clear:
- Editor source and types:
- clear:
api/theme-edit/_catalog.mjs,api/theme-edit/_check.mjs,api/theme-edit/_color.mjs,api/theme-edit/_compiler.mjs,api/theme-edit/_context.mjs,api/theme-edit/_edit.mjs,api/theme-edit/_how-question.mjs,api/theme-edit/_how.mjs,api/theme-edit/_missed.mjs,api/theme-edit/_normal.mjs,api/theme-edit/_palette.mjs,api/theme-edit/_part-words.mjs,api/theme-edit/_parts.mjs,api/theme-edit/_png.mjs,api/theme-edit/_preview-app.mjs,api/theme-edit/_preview.mjs,api/theme-edit/_project.mjs,api/theme-edit/_settings.mjs,api/theme-edit/_tables.mjs,api/theme-edit/theme-edit.type.mjs
- clear:
- Page rendering, pictures and response docs:
- clear:
foundation/render/cut-short.mjs,foundation/render/picture-chrome.mjs,foundation/render/picture-playwright.mjs,foundation/render/picture-window.mjs,foundation/render/render-page.mjs,foundation/response/response-types.doc.mjs
- clear:
- Command docs, command and command tests:
- clear:
clients/cli/commands/experimental-theme-editor-new.doc.mjs,clients/cli/commands/experimental-theme-editor-set.doc.mjs,clients/cli/commands/experimental-theme-editor-show.doc.mjs,clients/cli/commands/experimental-theme-editor-undo.doc.mjs,clients/cli/commands/experimental-theme-show-text.test.mjs,clients/cli/commands/experimental/theme.mjs,clients/cli/commands/text-json-parity.test.mjs
- clear:
- Editor tests:
- clear:
api/theme-edit/theme-aria-state-name.test.mjs,api/theme-edit/theme-asks-of-parts.test.mjs,api/theme-edit/theme-auto-media.test.mjs,api/theme-edit/theme-base-redraws.test.mjs,api/theme-edit/theme-build-names-pictures-removed.test.mjs,api/theme-edit/theme-build-unusual-inputs.test.mjs,api/theme-edit/theme-change-leaves-unchecked-unreached.test.mjs,api/theme-edit/theme-changed-tokens-built-values.test.mjs,api/theme-edit/theme-compound-words.test.mjs,api/theme-edit/theme-contrast-check-measures-draws.test.mjs,api/theme-edit/theme-contrast-low.test.mjs,api/theme-edit/theme-cut-short.test.mjs,api/theme-edit/theme-deeper-accent-dark-line.test.mjs,api/theme-edit/theme-destructive-lookalike.test.mjs,api/theme-edit/theme-dial-number-unit.test.mjs,api/theme-edit/theme-edit-receipts-and-pointers.test.mjs,api/theme-edit/theme-elements.test.mjs,api/theme-edit/theme-exact-secondary-text-stays-readable.test.mjs,api/theme-edit/theme-except-apart-comma-led.test.mjs,api/theme-edit/theme-family-pictures.test.mjs,api/theme-edit/theme-fixture-writes-stay-in-fixture.test.mjs,api/theme-edit/theme-flat-pieces.test.mjs,api/theme-edit/theme-floating-edge.test.mjs,api/theme-edit/theme-font-families-map-fontsource.test.mjs,api/theme-edit/theme-how-amount-softening-word-words.test.mjs,api/theme-edit/theme-how-answer-wording.test.mjs,api/theme-edit/theme-how-asks-read.test.mjs,api/theme-edit/theme-how-border-color-reaches-variant.test.mjs,api/theme-edit/theme-how-clause-scope.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-dark.test.mjs,api/theme-edit/theme-how-draws-modes-clearly-light.test.mjs,api/theme-edit/theme-how-one-line-looks.test.mjs,api/theme-edit/theme-how-possessive-owner-several-words.test.mjs,api/theme-edit/theme-how-repeatable-answers.test.mjs,api/theme-edit/theme-how-thicker-radio-checkbox-border.test.mjs,api/theme-edit/theme-how-variant-looks.test.mjs,api/theme-edit/theme-how.test.mjs,api/theme-edit/theme-info-clash-note.test.mjs,api/theme-edit/theme-leased-lock-taken-process.test.mjs,api/theme-edit/theme-main-panel-own-fill.test.mjs,api/theme-edit/theme-media-width.test.mjs,api/theme-edit/theme-missed-parts-named.test.mjs,api/theme-edit/theme-missed-step-lines.test.mjs,api/theme-edit/theme-missed-summary.test.mjs,api/theme-edit/theme-neutral-mode-words-direction.test.mjs,api/theme-edit/theme-neutral-same-grays.test.mjs,api/theme-edit/theme-new-color-warnings.test.mjs,api/theme-edit/theme-on-color-reaches-black-or-white.test.mjs,api/theme-edit/theme-open-states-page-starter.test.mjs,api/theme-edit/theme-open-states-picture-people.test.mjs,api/theme-edit/theme-own-family-note.test.mjs,api/theme-edit/theme-palette.test.mjs,api/theme-edit/theme-part-match-missed-list.test.mjs,api/theme-edit/theme-part-own-fill-contrast.test.mjs,api/theme-edit/theme-picture-fonts.test.mjs,api/theme-edit/theme-picture-links.test.mjs,api/theme-edit/theme-picture-offline.test.mjs,api/theme-edit/theme-pictures-agents-open-overlays.test.mjs,api/theme-edit/theme-pictures-broken-words.test.mjs,api/theme-edit/theme-pictures-one-browser.test.mjs,api/theme-edit/theme-pictures-open-named-people.test.mjs,api/theme-edit/theme-pictures-overlays-drawn-open.test.mjs,api/theme-edit/theme-pictures-sees-once-page.test.mjs,api/theme-edit/theme-placeholder.test.mjs,api/theme-edit/theme-preview-follows-through-browser.test.mjs,api/theme-edit/theme-preview-follows-through-pictures.test.mjs,api/theme-edit/theme-preview-follows-through-playwright.test.mjs,api/theme-edit/theme-preview-follows-through-remove.test.mjs,api/theme-edit/theme-preview-follows-through-stop.test.mjs,api/theme-edit/theme-previews-truly-file-regular.test.mjs,api/theme-edit/theme-problems-change-lead-result.test.mjs,api/theme-edit/theme-progress-bar-height-track.test.mjs,api/theme-edit/theme-question-means-part-compares.test.mjs,api/theme-edit/theme-reader-input-path-family.test.mjs,api/theme-edit/theme-readers-buttons-color-links.test.mjs,api/theme-edit/theme-readers-clause-subject-part.test.mjs,api/theme-edit/theme-readers-fainter-word-part.test.mjs,api/theme-edit/theme-readers-joined-drops-alone.test.mjs,api/theme-edit/theme-readers-look-request-list.test.mjs,api/theme-edit/theme-readers-mediums-color-ground.test.mjs,api/theme-edit/theme-readers-part-named-color.test.mjs,api/theme-edit/theme-readers-share-part-fainter.test.mjs,api/theme-edit/theme-readers-share-words-figures.test.mjs,api/theme-edit/theme-readers-text-part-colored.test.mjs,api/theme-edit/theme-readers-thin-headings-weight.test.mjs,api/theme-edit/theme-readers-value-question-part.test.mjs,api/theme-edit/theme-receipts-happened-value-instead.test.mjs,api/theme-edit/theme-recovery-file-remake-values.test.mjs,api/theme-edit/theme-renders-end-to-end.test.mjs,api/theme-edit/theme-results-mode-names-drawing.test.mjs,api/theme-edit/theme-role-dials-reach-base-colors.test.mjs,api/theme-edit/theme-role-text-follows-exact-fill.test.mjs,api/theme-edit/theme-role-tokens.test.mjs,api/theme-edit/theme-saved-state-lines.test.mjs,api/theme-edit/theme-scoped-text.test.mjs,api/theme-edit/theme-sheet-cells-b.test.mjs,api/theme-edit/theme-sheet-cells.test.mjs,api/theme-edit/theme-sheet-modes.test.mjs,api/theme-edit/theme-sheet-overlay-open-light.test.mjs,api/theme-edit/theme-starter-apps-pages-pictures.test.mjs,api/theme-edit/theme-starter-typescript-imports.test.mjs,api/theme-edit/theme-state-thing-part-place.test.mjs,api/theme-edit/theme-states-picture.test.mjs,api/theme-edit/theme-table-states.test.mjs,api/theme-edit/theme-through-shared-readers-bases.test.mjs,api/theme-edit/theme-through-shared-readers-lists.test.mjs,api/theme-edit/theme-toast-picture.test.mjs,api/theme-edit/theme-token-check-source-design.test.mjs,api/theme-edit/theme-token-dial-values-refusal.test.mjs,api/theme-edit/theme-token-read-in-variant.test.mjs,api/theme-edit/theme-track-contrast.test.mjs,api/theme-edit/theme-typed-forms-read.test.mjs,api/theme-edit/theme-typography-family.test.mjs,api/theme-edit/theme-unicode-space-font-family.test.mjs,api/theme-edit/theme-values-build-warns-light.test.mjs,api/theme-edit/theme-wrong-shape-recovered-damaged.test.mjs
- clear:
- Test setup, helpers, timing and CI:
- clear:
.github/workflows/deploy.yml,test-utils/base-theme-fixture.mjs,test-utils/checkout-writes.mjs,test-utils/real-base-themes.mjs,test-utils/theme-cache-warm.mjs,test-utils/theme-cache.mjs,test-utils/theme-render-stub.mjs,scripts/vitest-node-durations.json,vitest.global-setup.node.mjs,vitest.setup.node.mjs
- clear:
…d (resolve conflict with #12097)
Summary
The fourteenth round of fixes for
astryx experimental theme, from more rounds of testing the editor with real requests, plus the build and palette fixes they turned up. Each fix is at its cause, with tests.how
--when variant:…line for each.Checks and lines
changedTokens, tokens set on parts in a newchangedPartTokensfield.Pictures
show --pngtakes every picture of a run with one browser, a few pages at a time, and is faster than before; group names (--on inputs) count as their parts; tall rows are never cut; focus rings have room; the sample page has links so link contrast is measured.Reading what was typed
padding 'card 8px'), a pasted result line,newwith comma pairs, copy debris on a base name, and a px unit on a px dial (text-size 24px) are all read as meant.Theme build and the palette
theme buildwarns a misspelled field reached through a reassignedlet, a dynamic import, a const member, an array element, a ternary branch orObject.assign; warnsMap/Settokens and[light, dark]pairs with a half that is no color; stops at a field holding an object with no text form; warns a radius scale with no base (the editor refuses it); and--watchfollowsimport x = require().theme useopens its receipt with the default it set.Pictures and rendering (found by drawing for real in tests)
showon a theme holding an image over 8 MB draws the rest and names the image, instead of refusing the whole render.Scope
Components: experimental theme (editor, how, preview, pictures, compile, theme cache), theme build (field and value warnings, watch), theme use (receipt), palette generator (recipe v2 gray fade), foundation render (pictures)
Tests
New editor, build and palette test files for each item, plus the updated expectations each fix names. The editor's tests now stand in for drawing a page by default (the build, page source, notes and warnings still run, and the stand-in produces the same page list as a real draw); files whose assertions read drawn pages or pictures draw for real, end-to-end tests drive real drawing for every command that renders, and a teardown check fails the run if a test writes into the checkout.
THEME_EDIT_REAL_RENDERS=1draws for real everywhere; the hourly full run on main sets it (one env line in the deploy workflow). The full CLI suite passes on a main-based tree in both modes (only this box's known environment failures). Structure, changesets, tsc, eslint and prettier are clean. Recorded Node test times for this round's files are included and fit the per-leg budget.