Repository navigation
chore: land 6 reviewed pull requests together (batch 82) - #12992
Conversation
`doctor integration components` (and the Core docs test) re-judge a type mismatch without the string values the package marks deprecated in every place the type takes them from: a union member under @deprecated, a @deprecated keyof key, or a @deprecated overload. A value any other form gives (a generic such as Exclude, an indexed access) stays required. FieldStatus variant leaves the known-drift list.
A member's @deprecated comment may sit on its own line before a leading `|` or inline after the `|`; a comment on the line of the member before belongs to that member. TypeScript's own comment ranges place them.
…omponent everywhere [skip ci]
… arrays [skip ci]
The quick-start stylesheets imported reset.css, astryx.css and the theme's theme.css, but not its fonts.css, so a page set up from the README fell back to the system font. astryx theme add imports fonts.css; the README now does too, and says what leaving it out does. [skip ci]
doctor --built flagged import './index.css' in main.tsx as page styling, even when index.css holds only the imports the getting-started steps write (reset.css, astryx.css, a theme's CSS). A stylesheet whose only rules are @imports of Astryx packages' CSS, and @layer order statements, is now read as wiring; one with any rule of its own, a @layer block, or another package's import is still flagged. [skip ci]
…ty cell [skip ci]
… undefined, Invalid Date) [skip ci]
…rules and requests nothing outside the app [skip ci]
…eport The old-transpile-cache check reports only on a computer where an earlier CLI left its transpile folder in the user's cache, so the doctor golden in the isolation test failed on such a box and passed on a clean one. The golden now leaves that check out, as it reduces the other computer checks. [skip ci]
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec ada1d9e |
ada1d9e to
d45a498
Compare
|
/approve-spec d45a498 |
|
Owner decision (engineering owner, recorded for this batch and #12941): Table's default cell renderer shows an invalid Date (one whose time is NaN) as an empty cell, the same as |
There was a problem hiding this comment.
Approved pending CI: CI has not finished on this head yet. One test-node shard fails in the swizzle-sample check for Lab's MediaPlayer; that test fails the same way on main, so it is not caused by this change, but it still has to pass before merge.
All six changes match their governing records. The Table rule is recorded as component:Table FR25 with an engineering owner's approval at this head, and each new test fails before the change and passes after it.
- Suggestion (non-blocking): the Table changeset mentions only the Invalid Date case, but a tree table's tree column without
renderCellalso changes a valid Date fromDate.toString()text to ISO text; one sentence in the changeset would tell those users.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: README setup boxes import the theme's font stylesheet, as the theme command does — verified (README lines 109, 164, 258; the generated theme module imports it)
- Claim: The font stylesheet holds local font faces and requests nothing outside the app — verified (the neutral theme's font stylesheet points only at bundled font files)
- Claim: Before, those setups loaded no theme font — verified (the base boxes had no font import; the theme only names its font)
- Claim:
doctor --builtreads a setup stylesheet that only imports Astryx CSS as wiring, and still flags one with its own rules or another package's import — verified (built-checks.mjs:668-688, :800; new test fails on the base) - Claim:
doctor integration componentsaccepts a doc that leaves out a value deprecated in every source — verified (prop-drift.mjs:889-901, :915-1013; new tests; FieldStatusvariantleaves the known-drift list and Core's docs test passes) - Claim: The styling and typography pages state their rules with one example and keep their guide lists — verified (rendered with the head's CLI)
- Claim: A Table column without
renderCell, the tree column included, no longer throws or prints engine text for an Invalid Date — verified (columnUtils.ts:296, useTableTreeData.tsx:711; new tests fail on the base) - Claim: Sorting already treated an Invalid Date as missing — verified (the base sort's missing-value check)
- Claim: The tree column shows a valid Date as ISO text — verified (useTableTreeData.test.tsx)
- Claim: Six merges in the listed order, each a separate merge — verified (history; every merge is clean)
- Claim: The record edit has an engineering owner's approval on its member and at this head — verified
- Claim:
component:TableFR25 describes display and sorting as the code does — verified (columnUtils.ts:291-310; useTableSortableState.tsx:38-44, 187-195, 226-233) - Claim: No record changes in the prop-drift, docs-page and golden members — verified
- Claim: The doctor golden leaves out the old-transpile-cache check — verified (experimental-isolation.test.mjs:287, 300)
- Claim: Each member is closed with a note after this merges — a later process step, not checkable in the code
- File:
.changeset/core-readme-theme-fonts.md— clear - File:
.changeset/doctor-setup-stylesheet.md— clear - File:
.changeset/prop-drift-deprecated-values.md— clear - File:
.changeset/styling-typography-rules.md— clear - File:
.changeset/table-cell-invalid-date.md— non-blocking: leaves out the tree column's valid-Date text change - File:
docs/specs/components/Table/Table.spec.md— clear - File:
packages/cli/api/doctor/_adapter.mjs— clear - File:
packages/cli/api/doctor/built-checks.mjs— clear - File:
packages/cli/api/doctor/built-checks.test.mjs— clear - File:
packages/cli/api/doctor/doctor.doc.mjs— clear - File:
packages/cli/assets/docs/tree/check-the-props.doc.mjs— clear - File:
packages/cli/assets/docs/tree/styling.doc.mjs— clear - File:
packages/cli/assets/docs/tree/typography.doc.mjs— clear - File:
packages/cli/foundation/discovery/prop-drift.mjs— clear - File:
packages/cli/foundation/discovery/prop-drift.test.mjs— clear - File:
packages/cli/test/core-prop-docs.known-drift.json— clear - File:
packages/cli/test/experimental-isolation.test.mjs— clear - File:
packages/core/README.md— clear - File:
packages/core/src/Table/Table.test.tsx— clear - File:
packages/core/src/Table/columnUtils.ts— clear - File:
packages/core/src/Table/plugins/sortable/useTableSortableState.tsx— clear - File:
packages/core/src/Table/plugins/tree/useTableTreeData.test.tsx— clear - File:
packages/core/src/Table/plugins/tree/useTableTreeData.tsx— clear (see the changeset note)
| '@astryxdesign/core': patch | ||
| --- | ||
|
|
||
| [fix] A Table column without `renderCell`, the tree column of a tree table included, no longer throws or prints engine text when a cell holds an Invalid Date. The default cell renderer now shows an Invalid Date as an empty cell, as it does for null and undefined. Sorting already treats it as a missing value. |
There was a problem hiding this comment.
Non-blocking: in a tree table, the tree column without renderCell now goes through defaultCellRenderer, so a valid Date there changes from Date.toString() text to ISO text (and an array or object value becomes an empty cell, as in other columns). One sentence would tell tree-table users, for example: "In a tree table, the tree column's default text now matches other columns: a valid Date shows as ISO text."
PR Analysis Report🔎 Preview ·
|
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| Table | 123.6 kB (+25 B) · 21.1 kB CSS (0) | — | ✗ · ✓ · — |
| TableBody | 6.6 kB (0) · 3.3 kB CSS (0) | — | ✗ · ✓ · ✗ |
| TableCell | 105.8 kB (0) · 20.1 kB CSS (0) | — | ✗ · ✓ · ✓ |
8 more components
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| TableFooter | 3.5 kB (0) · 3.3 kB CSS (0) | — | ✗ · ✓ · ✗ |
| TableHeader | 3.5 kB (0) · 3.3 kB CSS (0) | — | ✗ · ✓ · ✗ |
| TableHeaderCell | 105.6 kB (0) · 20.0 kB CSS (0) | — | ✗ · ✓ · ✓ |
| TableRow | 7.2 kB (0) · 4.1 kB CSS (0) | — | ✗ · ✓ · ✗ |
| TableSelectionToolbar | 77.6 kB (0) · 14.5 kB CSS (0) | — | ✗ · ✓ · ✓ |
| lab/CommentThread | 377.0 kB (+37 B) · 2.4 kB CSS (0) | — | — · — · — |
| Markdown | 207.9 kB (+32 B) · 23.4 kB CSS (0) | — | — · — · — |
| lab/Comments | 384.0 kB (+23 B) · 2.5 kB CSS (0) | — | — · — · — |
Visual changes: 2 snapshots in 1 component
A change is a question for the reviewer, not a failure.
Inheritance checked against the 7 newest reports of other pull requests.
Package size:
- @astryxdesign/cli 5.71 MB packed (+3.2 kB); no new dependencies
- @astryxdesign/core 7.83 MB packed (+377 B); no new dependencies
Touched components checked; for the full suites, add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.
Generated by PR Enrichment workflow | View full report
|
/approve-spec 67f1775 |
There was a problem hiding this comment.
Approved: all seven changes match their governing records, and CI passed on this head.
The Table rule is recorded as component:Table FR25 with an engineering owner's approval at this head, each new test fails before its change and passes after it, and the new Lab MediaPlayer swizzle sample makes the sample check that fails on main pass, so every test-node shard is green here.
- Suggestion (non-blocking): the Table changeset mentions only the Invalid Date case, but a tree table's tree column without
renderCellalso changes a valid Date fromDate.toString()text to ISO text; one sentence in the changeset would tell those users.
Claims and files checked
Review mode: incremental; reason: none
- Changed rules since the last review (0): none
- Claim: The six reviewed changes merge one at a time in the listed order, and the swizzle-sample fix merges as a seventh — verified (history: seven clean two-parent merges)
- Claim: The two README and doctor changes form a stack — verified (both member descriptions declare it)
- Claim: The record edit has an engineering owner's approval on its member and at this head — verified
- Claim: The swizzle-sample fix lets this batch's test shards pass on today's
main— verified (the sample check fails on the base and passes here; all ninetest-nodeshards pass) - Claim: A Table column without
renderCell, the tree column included, shows an Invalid Date as an empty cell and no longer throws or prints engine text — verified (columnUtils.ts:296, useTableTreeData.tsx:711; new tests fail on the base) - Claim: Sorting already treated an Invalid Date as missing — verified (the base sort's missing-value check)
- Claim: The tree column shows a valid Date as ISO text — verified (useTableTreeData.test.tsx)
- Claim: README setup boxes import the theme's font stylesheet, as the theme command does, and it requests nothing outside the app — verified (README lines 109, 164, 258; the theme's font stylesheet points only at bundled font files)
- Claim:
doctor --builtreads a setup stylesheet that only imports Astryx CSS as wiring, and still flags one with its own rules or another package's import — verified (built-checks.mjs:668-688, :800; new test fails on the base) - Claim:
doctor integration componentsaccepts a doc that leaves out a value deprecated in every source, and the props page says so — verified (prop-drift.mjs:889-901, :915-1013; check-the-props.doc.mjs:97; new tests) - Claim: The styling and typography pages state their rules with one example and keep their guide lists — verified
- Claim: The doctor golden leaves out the old-transpile-cache check — verified (experimental-isolation.test.mjs:287-301)
- Claim:
component:TableFR25 describes display and sorting as the code does — verified (columnUtils.ts:291-310; useTableSortableState.tsx:38-44) - Claim: No record changes in the prop-drift, docs-page and golden members — verified
- Claim: Each member is closed with a note after this merges — a later process step, not checkable in the code
- File:
.changeset/core-readme-theme-fonts.md— clear - File:
.changeset/doctor-setup-stylesheet.md— clear - File:
.changeset/prop-drift-deprecated-values.md— clear - File:
.changeset/styling-typography-rules.md— clear - File:
.changeset/table-cell-invalid-date.md— non-blocking: leaves out the tree column's valid-Date text change - File:
docs/specs/components/Table/Table.spec.md— clear - File:
packages/cli/api/doctor/_adapter.mjs— clear - File:
packages/cli/api/doctor/built-checks.mjs— clear - File:
packages/cli/api/doctor/built-checks.test.mjs— clear - File:
packages/cli/api/doctor/doctor.doc.mjs— clear - File:
packages/cli/assets/docs/tree/check-the-props.doc.mjs— clear - File:
packages/cli/assets/docs/tree/styling.doc.mjs— clear - File:
packages/cli/assets/docs/tree/typography.doc.mjs— clear - File:
packages/cli/foundation/discovery/prop-drift.mjs— clear - File:
packages/cli/foundation/discovery/prop-drift.test.mjs— clear - File:
packages/cli/test/core-prop-docs.known-drift.json— clear - File:
packages/cli/test/experimental-isolation.test.mjs— clear - File:
packages/cli/test/swizzle-proof/samples.mjs— clear - File:
packages/core/README.md— clear - File:
packages/core/src/Table/Table.test.tsx— clear - File:
packages/core/src/Table/columnUtils.ts— clear - File:
packages/core/src/Table/plugins/sortable/useTableSortableState.tsx— clear - File:
packages/core/src/Table/plugins/tree/useTableTreeData.test.tsx— clear - File:
packages/core/src/Table/plugins/tree/useTableTreeData.tsx— clear (see the changeset note)






Merges six reviewed pull requests onto current main, each as its own
--no-ffmerge, in this order. #12886 → #12887 form a stack. Each member keeps its own description, tests and review history, and each record edit below has an engineering owner's/approve-specon its member and at this branch's head.Scope
Tests: a copy of the main-red fix #13001 (a
lab__MediaPlayerswizzle sample), so this batch's test shards run green on today's main.Components: Table. The default cell renderer, and a tree table's tree column, show an invalid Date as an empty cell, like null and undefined, and a valid Date as ISO text (#12941).
Core docs and CLI doctor: the README setup loads the theme's fonts;
fonts.cssholds@font-facerules for font files the theme package ships, so the page requests nothing outside the app (#12886).doctor --builtreads the setup stylesheet as wiring, not page styling (#12887).CLI doctor and docs: a doc may leave out a string value the code marks
@deprecatedin every place the type takes it from; the check-the-props page says so (#12456).CLI docs: the styling and typography pages state their core rules (#12857).
Tests: the experimental-isolation doctor golden leaves out the
old-transpile-cachecheck, which only some computers report (#12994).Records
component:TableFR25: null, undefined and an invalid Date are missing cell values; the default renderer shows an empty cell and never throws; sorting puts them last ascending and first descending (fix(Table): the default cell renderer shows an Invalid Date as an empty cell #12941, HQ ruling).Writing rubric results
Each member's record lines are scored in its own description: present tense, no change references, research or project status; verification rows name tests.
When this merges, each pull request above is closed with a note that names this one.