Skip to content

chore: land 6 reviewed pull requests together (batch 82) - #12992

Merged
josephfarina merged 21 commits into
mainfrom
josephfarina/land-batch-82
Nov 19, 2026
Merged

josephfarina merged 21 commits into
mainfrom
josephfarina/land-batch-82

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Merges six reviewed pull requests onto current main, each as its own --no-ff merge, 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-spec on its member and at this branch's head.

Scope

Tests: a copy of the main-red fix #13001 (a lab__MediaPlayer swizzle 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.css holds @font-face rules for font files the theme package ships, so the page requests nothing outside the app (#12886). doctor --built reads the setup stylesheet as wiring, not page styling (#12887).

CLI doctor and docs: a doc may leave out a string value the code marks @deprecated in 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-cache check, which only some computers report (#12994).

Records

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.

josephfarina and others added 13 commits November 17, 2026 14:05
`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.
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]
…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]
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 19, 2026 9:12pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 19, 2026
@astracat-bot

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 19, 2026, 9:28 PM UTC

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec ada1d9e
Covers the doctor and README records as #12886 and #12887 state them, the three stripe answers decided on #12903 (HQ ruling), and #12456's prop-drift rule.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec ada1d9e

@josephfarina josephfarina changed the title chore: land 4 reviewed pull requests together (batch 82) chore: land 6 reviewed pull requests together (batch 82) Nov 19, 2026
@josephfarina
josephfarina force-pushed the josephfarina/land-batch-82 branch from ada1d9e to d45a498 Compare November 19, 2026 20:18
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec d45a498
Covers component:Table FR25 (#12941, HQ ruling), the doctor and README records as #12886 and #12887 state them, and #12456's prop-drift rule.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec d45a498

@josephfarina

Copy link
Copy Markdown
Contributor Author

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 null and undefined, instead of the text "Invalid Date". This is the display half of the rule decided on #12921, where useTableSortableState sorts an invalid Date with the missing values. No other value's display changes.

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 renderCell also changes a valid Date from Date.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 --built reads 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 components accepts a doc that leaves out a value deprecated in every source — verified (prop-drift.mjs:889-901, :915-1013; new tests; FieldStatus variant leaves 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:Table FR25 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)

Automated review (maintainer link)

'@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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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."

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 67f1775

Storybook · Sandbox · built from this PR's head

Modified components

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.

Component · story Before After Diff
Table · Default (neutral, dark) · same image also changed on another pull request, not proven from main before frame after frame diff frame
Table · Default (neutral, light) · same image also changed on another pull request, not proven from main before frame after frame diff frame

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

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 67f1775

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 renderCell also changes a valid Date from Date.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 nine test-node shards 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 --built reads 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 components accepts 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:Table FR25 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)

Automated review (maintainer link)

This branch was successfully deployed

1 active deployment
Preview — 67f1775b Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant