Repository navigation
chore: land 2 reviewed pull requests together (batch 159) - #13489
Conversation
…ce per check `contrastProblems` asked `partsOf` for the parts a setting lands on at every lookup, for each pair, side and mode, and `partsOf` walks the groups and the members' fill and border parts each time. A setting's parts depend only on the setting and the project, which the check does not change, so the check now keeps them in a map for that one check. The callers only read the lists. Tests change the theme between checks in one process (a later fill, a fill for a state, and a fill that reaches every input then the same fill kept to one input) and show that each check reads the settings and their parts as they are then. [skip ci]
…ne list of when the stripe stays
…bra rows keeps the stripe
|
/approve-spec 6916e3c |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
There was a problem hiding this comment.
Approved pending CI: the heavy CI jobs run after review passes and before merge, so they have not run on this head yet; typecheck, lint and smoke-test pass.
All four changes check out here. The family build now accepts local TypeScript and JSX registries, and its --check stays clean right after such a build, which settles the earlier change request on #13358; the new tests fail on main and pass on this head. There are no blocking findings.
Non-blocking:
- "a table with bold headers and taller zebra rows" now drops the stripe that "a table with taller zebra rows" keeps, because only the clause right after "with" sees it (
packages/cli/api/theme-edit/_how-question.mjs:11452); a test row would pin the reading you want.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: this lands four pull requests in one CI run. Verified: four clean merges, each of one pull request's head.
- Claim: three were reviewed and approved on their own heads, and #13358 is reviewed here. Verified: approvals exist at the exact heads merged for #13388, #13409 and #13474; #13358's last review asked for
--checkto pass right after a TSX family build, which this head does (build.self-contained.test.mjs:510-520). - Claim: they merged in the listed order and each merge was clean. Verified: every merge equals the automatic merge of its parents.
- Claim: the shared files are the family release note,
build.mjsandbuild.self-contained.test.mjs. Verified: no other file is changed by two of them. - Claim: they change no records. Verified.
- Claim: the scope is the CLI, with #13474 limited to the experimental theme editor. Verified.
- Claim: each pull request is closed with a note on merge. Not checkable at this head (merge automation).
- Release note (family build): a member's local TypeScript or JSX registry builds and is compiled into
<family-key>.modules/. Verified: tests atbuild.self-contained.test.mjs:290-338pass here and fail onmain. - Release note (family build): each compiled copy is imported with Node before outputs are written. Verified (
build.mjs:2712-2746,:7207). - Release note (family build):
mainstopped on.tsx,.jsxand extensionless imports, and on.tsbefore Node 22.18. Verified for the first three onmain; the Node 22.18 boundary was not run. - Release note (family build): a registry plain Node cannot load still stops the build, names the file and writes nothing. Verified (
:340-419). - Release note (family check): right after a build,
--checkreports the family up to date by importing the committed copies and writes nothing. Verified (:443-457,:510-520). - Release note (family check): a stale or missing copy is reported by the output comparison. Verified: the stale test (
:522-539) and a missing-folder run. - Release note (
how): "zebra rows" beside only a row metric answers that metric and no longer stripes every data table. Verified: the four rows fail onmainand pass here. - Release note (
how): the stripe stays for a colour or a fill, shading, lightness or tone word, a fill asked by another clause, an ask for zebra rows, and striped tables. Verified for every example (26 rows). - Release note (contrast): the check works out each setting's parts once per check. Verified (
_settings.mjs:11860-11873and its eight call sites); the speed-up was not timed. - Release note (contrast): what it finds does not change. Verified:
partsOfonly reads, the check awaits once before any lookup, and the tests pass. - Doc: the family paragraph names the
<family-key>.modules/folder. Verified: true at this head. - Goldens: the
iconsearch counts one more match. Verified: the golden tests pass. - File
.changeset/experimental-theme-how-stripe-words-beside.md: clear. - File
.changeset/family-build-compiled-registry-check.md: clear. - File
.changeset/family-check-committed-modules.md: clear. - File
.changeset/theme-contrast-parts-once.md: clear. - File
packages/cli/api/theme-edit/_how-question.mjs: two non-blocking notes (:11452,:11455). - File
packages/cli/api/theme-edit/_settings.mjs: clear. - File
packages/cli/api/theme-edit/theme-contrast-settings-each-check.test.mjs: clear. - File
packages/cli/api/theme-edit/theme-how.test.mjs: clear. - File
packages/cli/api/theme/build/build.mjs: non-blocking note (:2721repeats the stale comparison). - File
packages/cli/api/theme/build/build.self-contained.test.mjs: clear. - File
packages/cli/assets/docs/author-a-theme.doc.mjs: clear. - Files
packages/cli/test/__golden__/no-icon-set/search-icon.jsonandsearch-icon.txt: clear.
…e rows' size, with no stripe (#12971 on main)
…ng's parts once per check
6916e3c to
83ddb87
Compare
|
/approve-spec 83ddb87 |
There was a problem hiding this comment.
Approved pending CI: build, test and docsite-test run after review passes and before merge, so they have not run on this head yet; typecheck, lint and smoke-test pass.
Both changes check out here. how now answers "zebra rows taller", "zebra rows bold" and "compact zebra rows" with the row metric alone, and the contrast check's per-check parts map leaves its results unchanged; the new metric-only test rows fail on main and pass on this head. There are no blocking findings.
Non-blocking:
- "a table with bold headers and taller zebra rows" now drops the stripe that "a table with taller zebra rows" keeps, because only the clause right after "with" sees it (
packages/cli/api/theme-edit/_how-question.mjs:11452); a test row would pin the reading you want.
Claims and files checked
Review mode: full; reason: rebase
- Claim: this lands two pull requests in one CI run. Verified: two clean merges, each of one pull request's head.
- Claim: each was reviewed and approved on its own head. Verified: approvals exist at the exact heads merged for #13409 and #13474.
- Claim: they touch separate files. Verified: no file is changed by both.
- Claim: they change no records. Verified.
- Claim: #13409 lists no component or API change, and #13474's scope is the CLI's experimental theme editor. Verified: no public API row changes, and both changes sit in the experimental theme editor.
- Claim: each pull request is closed with a note when this merges. Not checkable at this head (merge automation).
- Release note (
how): "zebra rows" beside only a row metric answers that metric and no longer stripes every data-driven table. Verified: the four metric-only rows fail onmainand pass here. - Release note (
how): the stripe stays for any colour, or a colour, fill, background, shading, tint, band, stripe, lightness, tone or intensity word, a fill asked by another clause, an ask for zebra rows, and striped tables. Verified for every example (26 rows pass onmainand here). - Release note (contrast): the check works out the parts each setting lands on once for each check. Verified (
_settings.mjs:11864-11873and its eight call sites); the speed-up was not timed. - Release note (contrast): what it finds does not change. Verified:
partsOfonly reads, the check awaits once before the map exists, and the contrast suites pass. - File
.changeset/experimental-theme-how-stripe-words-beside.md: clear. - File
.changeset/theme-contrast-parts-once.md: clear. - File
packages/cli/api/theme-edit/_how-question.mjs: two non-blocking notes (:11452,:11455). - File
packages/cli/api/theme-edit/_settings.mjs: clear. - File
packages/cli/api/theme-edit/theme-contrast-settings-each-check.test.mjs: clear. - File
packages/cli/api/theme-edit/theme-how.test.mjs: clear.
This pull request lands 2 reviewed pull requests together in one CI run. Each one was reviewed and approved on its own head.
They touch separate files.
They change no records.
Scope
When this merges, each pull request above is closed with a note that names this one.