Skip to content

chore: land 1 reviewed pull request (batch 98) - #13059

Merged
josephfarina merged 12 commits into
mainfrom
josephfarina/land-batch-98
Nov 20, 2026
Merged

josephfarina merged 12 commits into
mainfrom
josephfarina/land-batch-98

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

Merges this reviewed pull request onto current main as a merge commit. This branch checks that it builds and tests on today's main.

Scope

Core docs: the useTableSortableState page states the comparator rules, and the Table docs say Table has no row-click prop. Docs only; no behavior change.

Records

None.

Writing rubric results

No record changes, so R1–R7 do not apply.

When this merges, the pull request above is closed with a note that names this one.

@vercel

vercel Bot commented Nov 20, 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 20, 2026 5:14am UTC

Request Review

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

astracat-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 20, 2026, 5:21 AM UTC

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec df796f4

@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: the heavy CI jobs have not run on this head yet, and they still have to pass before merge.

The comparator wording, the new sorting example and the columns sentence match what the sort hook and Table do today, and the public API is unchanged, so nothing needs to change. One optional note: "A Date sorts by its time" holds for years 0000 to 9999; the comparator sorts a Date by its ISO text, so a Date after year 9999 sorts first, which a getTime() comparison in the hook would fix in a later change.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Description: it merges the reviewed docs pull request onto current main as a merge commit. Verified: the head's two parents are main at the base and that pull request's head.
  • Description: the listed pull request is the useTableSortableState comparator and Table row-click docs change. Verified: its title and head match.
  • Description: the useTableSortableState page states the comparator rules. Verified: useTableSortableState.doc.mjs:58, :115, :142 and :165.
  • Description: the Table docs say Table has no row-click prop. Verified: Table.doc.mjs:208; Table/types.ts has no row-click prop.
  • Description: docs only, no behavior change. Verified: only doc strings and a release note change; the sort tests pass and the built API surface is identical.
  • Description: no records change, so the writing rubric does not apply. Verified: no file under docs/ changes.
  • Description: this branch checks that the change builds and tests on current main. Partly verified: Lint and the CLI smoke test pass at this head; the heavy CI jobs have not run yet.
  • Description: when this merges, the listed pull request is closed with a note. Not checkable here: it is a merge-time step.
  • Release note: arrays and plain objects have no sort text, so they need a comparator. Verified: useTableSortableState.tsx:46-59 and :204; a probe keeps them equal, in data order, before text ascending.
  • Release note: a Date sorts by its time. Verified for years 0000 to 9999: useTableSortableState.tsx:47-48 and a probe down to the millisecond; a Date after year 9999 sorts first (non-blocking, inherited).
  • Release note: an Invalid Date sorts with the missing values. Verified: useTableSortableState.tsx:38-44 and :185-195; the Invalid Date tests pass.
  • Release note: a new useTableSortable example sorts by a status rank and a tags array. Verified: useTableSortable.doc.mjs:57-86 type-checks against this head and, rendered, orders blocked, active, done.
  • Release note: Table's columns prop says there is no onRowClick prop and to put a Link or Button in the main cell's renderCell. Verified: Table.doc.mjs:208, printed on the columns line of the short Table answer.
  • Release note: no API or behavior changes. Verified: the built API surface of Core and the seven themes has no changed row.
  • File .changeset/sortable-state-options-table-no-row-click.md: clear; the changeset check accepts it.
  • File packages/core/src/Table/Table.doc.mjs: clear.
  • File packages/core/src/Table/plugins/sortable/useTableSortableState.doc.mjs: clear.
  • File packages/core/src/Table/useTableSortable.doc.mjs: clear.

Automated review (maintainer link)

@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · df796f4

Storybook · Sandbox · built from this PR's head

Modified components

Component Size LoC Visual · A11y · RTL
TableBody 6.6 kB (0) · 3.3 kB CSS (0) — — · ✓ · ✗
TableFooter 3.5 kB (0) · 3.3 kB CSS (0) — — · ✓ · ✗
TableHeader 3.5 kB (0) · 3.3 kB CSS (0) — — · ✓ · ✗
5 more components
Component Size LoC Visual · A11y · RTL
TableRow 7.2 kB (0) · 4.1 kB CSS (0) — — · ✓ · ✗
Table 123.8 kB (0) · 21.1 kB CSS (0) — — · ✓ · —
TableCell 105.9 kB (0) · 20.1 kB CSS (0) — — · ✓ · ✓
TableHeaderCell 105.8 kB (0) · 20.0 kB CSS (0) — — · ✓ · ✓
TableSelectionToolbar 77.7 kB (0) · 14.5 kB CSS (0) — — · ✓ · ✓

Package size: @astryxdesign/core 7.85 MB packed (+460 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
josephfarina merged commit 7fcbf02 into main Nov 20, 2026
137 of 140 checks passed
@github-actions
github-actions Bot deleted the josephfarina/land-batch-98 branch November 21, 2026 06:04

This branch was successfully deployed

1 active deployment
Preview — df796f43 Deployed Nov 20, 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