Repository navigation
chore: land 3 reviewed pull requests together (batch 131) - #13189
Conversation
…itten as its sides, in one change with one undo
…value typed and the sides written
… alone through beside it
…ands and is read by its own check; a repeat with no change says so with the typed value
…the same value on every side collapses only when it is one working length [skip ci]
…g on the part, and a repeat that changes nothing keeps every side in place [skip ci]
…r moves back on top [skip ci]
… away, so it is never empty [skip ci]
…so a padding written as sides is offered as working [skip ci]
…e, as set writes it as its sides [skip ci]
…iable's typo note [skip ci]
…epeat whose later side carries a note adds no undo step [skip ci]
…ver a stale build claims no undo step [skip ci]
…s its sides [skip ci]
…s own exemption and note go The status border and icon take the same search (the fill's shade, the page grounds, 3:1), so a border that reads at no shade always comes with an icon that reads at no shade, and the role keeps the base theme's colors. The border's exemption from that rule and the 'border under 3:1' wording never applied.
|
/approve-spec bebc130 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
Covers the theme-editor behavior this pull request decides (the owner's ruling): on a part whose padding Core reads inside calc(), two to four padding values are written as their sides in one change, each side value checked on its own; one bare undo takes them all back; the same length on every side is written as that one length; |
PR Analysis Report🔎 Preview ·
|
| Package | Where | Signature | Usage | |
|---|---|---|---|---|
| + | cli |
./api/experimental · Types · type ThemeEditChangeData |
asSides?: { thing: string; value: string; sides: ThemeEditSetting[] } | undefined |
import type {ThemeEditChangeData} from '@astryxdesign/cli/api/experimental'; const x: ThemeEditChangeData = {asSides: …} |
Not run on this PR: add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.
Generated by PR Enrichment workflow | View full report
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, because heavy CI is deferred until review passes and runs before merge (lint, typecheck and the CLI smoke test passed). This batch lands #12742 and #13185 with the same patches each was reviewed on, and the engineering owner's /approve-spec of this head decides the new set behavior and the experimental asSides result field. No blocking findings remain, and the status-border change leaves every theme's CSS identical.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: the pull request lands two reviewed pull requests, each reviewed on its own head (verified: both commits carry exactly the patches of #12742 and #13185 at their reviewed heads).
- Claim: they touch separate files (verified: 12 and 3 files, none shared).
- Claim: they change no records (verified: no knowledge-record file changes).
- Claim: #12742 writes a two-to-four-length padding where one length works as its sides (verified: the sides tests and a command-line run).
- Claim: #13185 measures a status border like its icon, so the border's exemption and its note go (verified:
derive-look.tslines 752-754, 826-831 and 959-964). - Claim: the scope is the CLI's experimental theme editor, and #13185 changes no component or API (verified: the only API change is the experimental
asSidesfield; Core and the themes have none). - Claim: each pull request is closed with a note when this one merges (a merge-time process step outside the code; nothing to check here).
- Changeset claim: the editor and Core's palette source measure a status border like its icon (verified:
derive-look.ts:826-831and its generated copy). - Changeset claim: a role whose border reads at no shade keeps the base theme's colors (verified:
derive-look.ts:966-972). - Changeset claim: every border and icon take the same search, so no theme output changes (verified: identical search arguments at
derive-look.ts:959-964; all seven themes build byte-identical CSS). - Changeset claim:
setwrites block and inline for two lengths, top, inline and bottom for three, and each side for four, each with the length typed (verified: the sides tests and command-line runs). - Changeset claim: before, two lengths got a pointer to
how, and three or four got one line with the first length only (verified: a run at the commit before the side-lines change). - Changeset claim: the result names the sides, and one
undotakes back all of them (verified: the sides tests and a command-line run). - Changeset claim: the same working length on every side is written as that one length (verified: the sides test for
5px 5px). - Changeset claim: both notes are experimental patch changes (verified:
[experimental]tags and patch bumps). - File
.changeset/editor-status-border-like-icon.md: clear. - File
.changeset/experimental-theme-calc-padding-sides.md: clear. - File
packages/cli/api/theme-edit/_check.mjs: clear. - File
packages/cli/api/theme-edit/_edit.mjs: clear. - File
packages/cli/api/theme-edit/_how-commands.mjs: clear. - File
packages/cli/api/theme-edit/_normal.mjs: clear. - File
packages/cli/api/theme-edit/_settings.mjs: clear. - File
packages/cli/api/theme-edit/_vet.mjs: clear. - File
packages/cli/api/theme-edit/theme-edit-calc-padding-sides.test.mjs: clear. - File
packages/cli/api/theme-edit/theme-edit.type.mjs: clear. - File
packages/cli/api/theme-edit/theme-palette.test.mjs: clear. - File
packages/cli/api/theme-edit/theme-repair-gate-value-carry.test.mjs: clear. - File
packages/cli/api/theme/palette/generate/derive-look.mjs: clear (it matches Core's source). - File
packages/cli/clients/cli/commands/experimental/theme.mjs: clear. - File
packages/core/src/palette/derive-look.ts: clear.
The export test that checked ten refused or accepted imports in one test ran about 11 s alone and timed out at 30 s on a busy CI leg. Each case is now its own test, with the same pages and assertions. [skip ci]
…e works is written as its sides
…e icon, so its own exemption and note go
bebc130 to
000216f
Compare
|
/approve-spec 000216f |
|
Covers the theme-editor behavior this pull request decides (the owner's ruling): on a part whose padding Core reads inside calc(), two to four padding values are written as their sides in one change, each side value checked on its own; one bare undo takes them all back; the same length on every side is written as that one length; |
There was a problem hiding this comment.
Approved pending CI: the heavy CI jobs have not run on this head yet; they are deferred until review passes and run before merge, and lint, typecheck and the CLI smoke test passed. This batch lands #12742, #13185 and #13194: the engineering owner's /approve-spec of this head decides the new set behavior and the experimental asSides result field, the status-border change leaves every theme's output identical, and the test split keeps every case and assertion. No blocking findings.
Claims and files checked
Review mode: full; reason: history
- Claim: the batch lands three reviewed pull requests in one CI run, each reviewed on its own head (verified: each merge brings in that pull request's head with no conflict resolution, and each has an automated review at that head).
- Claim: they touch separate files (verified: 12, 3 and 1 files, none shared).
- Claim: they change no records (verified: no knowledge-record file changes).
- Claim: #12742 writes a padding of two to four lengths where only one works as its sides (verified: the sides tests and command-line runs).
- Claim: #13185 measures a status border like its icon, so the border's own exemption and note go (verified:
derive-look.tslines 752-754 and 826-831). - Claim: #13194 runs the export test's refused-import cases as one test each (verified:
render.interactive.test.mjs:1504holds ten tests with every page and assertion kept, and the type-only test passes alone). - Claim: the scope is the CLI's experimental theme editor and the export tests, and #13185 changes no component or API (verified: the only API change is the experimental
asSidesfield; Core and the themes have none). - Claim: each pull request is closed with a note when this one merges (a merge-time step outside the code; nothing to check here).
- Changeset claim: the editor and Core's palette source measure a status border like its icon (verified:
derive-look.ts:826-831and its generated copy). - Changeset claim: a role whose border reads at no shade keeps the base theme's colors (verified:
derive-look.ts:966-972). - Changeset claim: every border and icon take the same search, so no theme output changes (verified:
derive-look.ts:959-964; all seven themes build byte-identical output). - Changeset claim:
setwrites block and inline for two lengths, top, inline and bottom for three, and each side for four, each with the length typed (verified: the sides tests and command-line runs). - Changeset claim: before, two lengths got a pointer to
how, and three or four got one line with the first length only (verified: command-line runs at the commit before the side lines landed). - Changeset claim: the result names the sides, and one
undotakes back all of them (verified: the sides tests and a command-line run). - Changeset claim: the same working length on every side is written as that one length (verified: the sides test and a command-line run for
5px 5px). - Changeset claim: both notes are experimental patch changes (verified:
[experimental]tags and patch bumps). - File
.changeset/editor-status-border-like-icon.md: clear. - File
.changeset/experimental-theme-calc-padding-sides.md: clear. - File
packages/cli/api/render/render.interactive.test.mjs: clear. - File
packages/cli/api/theme-edit/_check.mjs: clear. - File
packages/cli/api/theme-edit/_edit.mjs: clear. - File
packages/cli/api/theme-edit/_how-commands.mjs: clear. - File
packages/cli/api/theme-edit/_normal.mjs: clear. - File
packages/cli/api/theme-edit/_settings.mjs: clear. - File
packages/cli/api/theme-edit/_vet.mjs: clear. - File
packages/cli/api/theme-edit/theme-edit-calc-padding-sides.test.mjs: clear. - File
packages/cli/api/theme-edit/theme-edit.type.mjs: clear (theasSidesfield is decided by the owner's ruling). - File
packages/cli/api/theme-edit/theme-palette.test.mjs: clear. - File
packages/cli/api/theme-edit/theme-repair-gate-value-carry.test.mjs: clear. - File
packages/cli/api/theme/palette/generate/derive-look.mjs: clear (it matches Core's source). - File
packages/cli/clients/cli/commands/experimental/theme.mjs: clear. - File
packages/core/src/palette/derive-look.ts: clear.
This pull request lands 3 reviewed pull requests together in one CI run. Each one was reviewed on its own head.
They touch separate files.
They change no records.
Scope
experimental exporttestsWhen this merges, each pull request above is closed with a note that names this one.