Skip to content

chore: land 5 reviewed pull requests together (batch 15) - #12859

Merged
josephfarina merged 20 commits into
mainfrom
josephfarina/land-batch-15
Nov 19, 2026
Merged

josephfarina merged 20 commits into
mainfrom
josephfarina/land-batch-15

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

Members, merged in this order with --no-ff:

Combines five reviewed pull requests, each merged with --no-ff at its current head on main:

  • [experimental] export: checks the file it wrote and names the one file to share
  • [experimental] export: the size output names each part of the file under its JSON key (architecture:cli-surface)
  • fix(Markdown): keep task lists inside their column
  • docs: Toast needs no provider; Table hooks name their row-type generic
  • [experimental] export: a package linked from a folder inside the project is a package, so --reverse gives the page back

Scope

Components: cli (experimental export, RenderPageResponse), Markdown, List (internal context only), Toast, useTableSortable, useTableSortableState, useTablePagination, useTableFiltering, useTableColumnSettings, useTableColumnSettingsState, useTableColumnResize, useTableInfiniteScroll, useTableStickyColumns

Records

  • docs/architecture/cli-surface.md

Page size (shared modules)

First-load JavaScript per reference page (minified / gzip bytes), base → batch head, from pnpm size:pages:

Page (components) Base Head Change
docs (Text, Heading, Link, Card, Divider, List) 231,897 / 76,323 232,102 / 76,424 +205 / +101
form (Button, IconButton, TextInput, CheckboxInput, Text, Heading, Card) 313,476 / 106,281 313,476 / 106,281 +0 / +0
menu (DropdownMenu, ContextMenu, Button, Text) 320,441 / 108,691 320,441 / 108,693 +0 / +2
table (Table, Text, Button) 350,561 / 119,940 350,561 / 119,938 +0 / −2

Writing rubric results

Export size output (docs/architecture/cli-surface.md, the owning-code bullet for the render's size output, and render.doc.mjs, the render's record line on its size output):

  • R1 narration: none; each states what the module owns or prints, in the present tense.
  • R2 research: none in the records; the blind-run numbers stay out of them.
  • R3 evidence: no evidence cells changed.
  • R4 rejected alternatives: none.
  • R5 change references: none.
  • R6 open questions: none.
  • R7 project status: none; "experimental" is the fields' stability, not project status.

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

…ect is a package, so --reverse gives the page back
… alias are carried; a linked package's @import stays the package's

[skip ci]
A Markdown task list stepped its CheckboxList out 8px past both column edges
to cancel the row inset. The rows now take List's flush edge through an
internal ListEdgeScope, so checkboxes and text keep their positions and the
list box matches the column. CheckboxList itself is unchanged.
… edge

Task rows never swipe, so Markdown wraps its task CheckboxList in an
internal ListStaticScope, and the List inside drops its inline clip, as
Markdown's other lists do through xstyle. A plain List keeps its clip.
… scope

ListStaticScope now marks only the next List: List resets it for its rows,
so a List nested in a row keeps its clip. Markdown's bulleted and numbered
lists use the scope too, and their own xstyle copy is gone.

[skip ci]
Markdown nests lists up to 100 deep, and a wrapper component plus a reset
provider at each level exhausted the stack there. Each Markdown list now
provides its own static mark, and a List that reads its parent List's mark
is in a row, so it keeps its clip with no reset provider.

[skip ci]
…nside the project is a package, so --reverse gives the page back
@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 7:52am 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, 8:14 AM UTC

@github-actions github-actions Bot added the needs:design-review Affects visuals — Design should review label Nov 19, 2026
@github-actions
github-actions Bot requested a review from rubyycheung November 19, 2026 07:42
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec c2a9fb1
Approves at this head the architecture:cli-surface owning-code bullet (the export Checks section data.checks, the size breakdown markupBytes/sourceBytes and the wider remote-asset warning) and the three experimental RenderPageResponse.data fields.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec c2a9fb1

@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · c2a9fb1

Storybook · Sandbox · built from this PR's head

Modified components

Component Size LoC Visual · A11y · RTL
TableBody 3.5 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) — ✓ · ✓ · ✗
21 more components
Component Size LoC Visual · A11y · RTL
TableRow 7.1 kB (0) · 4.0 kB CSS (0) — ✓ · ✓ · ✗
Markdown · Storybook 206.1 kB (+150 B) · 22.3 kB CSS (−8 B) 8,875 (+11) ✓ · ✓ · —
lab/CommentThread 373.5 kB (+120 B) · 2.4 kB CSS (0) — — · — · —
lab/Comments 380.5 kB (+117 B) · 2.5 kB CSS (0) — — · — · —
CheckboxList 73.9 kB (+100 B) · 7.8 kB CSS (+11 B) — — · — · —
List 19.1 kB (+79 B) · 807 B CSS (+13 B) — ✓ · ✓ · —
lab/TransferList 137.0 kB (+86 B) · 1.2 kB CSS (0) — — · — · —
lab/TabBarMoreList 103.0 kB (+83 B) · 1.8 kB CSS (0) — — · — · —
lab/TransferListSelector 145.9 kB (+77 B) · 1.4 kB CSS (0) — — · — · —
lab/ListInput 95.8 kB (+18 B) · 922 B CSS (0) — — · — · —
CheckboxListItem 80.9 kB (+17 B) · 12.2 kB CSS (0) — — · — · —
ListItem 80.1 kB (+13 B) · 12.2 kB CSS (0) — ✓ · ✓ · ✓
ContextMenu 103.9 kB (0) · 19.0 kB CSS (+12 B) — — · — · —
DropdownMenu 109.3 kB (0) · 19.2 kB CSS (+12 B) — — · — · —
PowerSearch 311.4 kB (0) · 25.8 kB CSS (+12 B) — — · — · —
MoreMenu 109.6 kB (−1 B) · 19.2 kB CSS (+12 B) — — · — · —
TableCell 105.1 kB (0) · 19.5 kB CSS (+11 B) — ✓ · ✓ · ✓
Table 122.1 kB (0) · 20.1 kB CSS (+10 B) — ✓ · ✓ · —
TableHeaderCell 104.9 kB (−1 B) · 19.4 kB CSS (+11 B) — ✓ · ✓ · ✓
TableSelectionToolbar 77.1 kB (0) · 14.2 kB CSS (0) — ✓ · ✓ · ✓
Toast · Storybook 106.4 kB (0) · 11.2 kB CSS (0) 1,754 (0) ✓ · ✓ · ✓

Package size:

  • @astryxdesign/cli 5.54 MB packed (+7.4 kB); no new dependencies
  • @astryxdesign/core 7.71 MB packed (+3.3 kB); no new dependencies

API changes: cli +0 · ~1 · −0

1 API change (advisory)
Package Where Signature Usage
~ cli ./api/experimental · Types · type RenderPageResponse data: { input: string; output: string; bytes: number; files: string[]; stylesheets: string[]; classes: number; cssBytes: number; images: number; warnings: RenderWarni … #528aac16 → data: { input: string; output: string; bytes: number; files: string[]; stylesheets: string[]; classes: number; cssBytes: number; markupBytes: number; sourceBytes: num … #4d58a781 import type {RenderPageResponse} from '@astryxdesign/cli/api/experimental'; const x: RenderPageResponse = {data: …}

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

@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. The five merged changes do what their release notes and the description say, and CI at this head is green.

  • Non-blocking: the bullet added to docs/architecture/cli-surface.md describes the export's size output but not its Checks section (data.checks and the "Share this one file" line) or the wider remote-asset warning; one more sentence there would record what the spec approval covers.
Claims and files checked

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

Claims:

  • Export treats an npm link, file: or workspace package inside the project as a package, so --reverse gives the page back exactly instead of refusing it: verified (the new tests pass here; 8 of them fail on the base with the refusal).
  • Markdown task lists stay inside their column, no longer widen a phone-width page, and keep checkbox and text positions: verified (Chromium at 390px: the list box moves from 8px past each edge onto the column; with the column at the viewport edge the page goes from 398px to 390px wide; checkbox and label positions are identical).
  • Export checks the written file for anything its markup and stylesheets load from outside (the page's script is not read) and for an exact round trip, names any file that differs, and names the one file to share with its size: verified (share-checks tests, render and CLI output tests).
  • Export prints one size line per part, with a note when the script is most of the file, and adds markupBytes and sourceBytes to its JSON: verified (CLI output test; the parts sum to no more than the file size).
  • The Toast doc says useToast() needs no provider or mounted viewport, and seven Table hook docs say the row type is not inferred and falls back to Record<string, unknown>, with typed examples and no API or behavior change: verified against the hook sources.
  • Description: the five members are merged in the listed order with --no-ff: verified from the history.
  • Description: the scope line and the one changed record: verified against the changed files.
  • Description: the page-size table: verified by re-measuring from the merge base (docs page +205 / +101 bytes; the menu and table gzip cells differ by 2 bytes).
  • Description: the writing-rubric results for the new record bullet and the render doc line: verified (present tense, no narration, history, research or project status).
  • Description: the member pull requests are closed when this merges: a landing step, outside the code.

Files:

  • .changeset/export-linked-package.md: clear
  • .changeset/markdown-task-list-fits-column.md: clear
  • .changeset/render-checks-its-file.md: clear
  • .changeset/render-size-breakdown.md: clear
  • .changeset/toast-no-provider-table-hook-row-type.md: clear
  • docs/architecture/cli-surface.md: non-blocking note above
  • internal/eslint-plugin-astryx/no-comment-provenance.baseline.json: clear
  • packages/cli/api/render/_adapter.mjs: clear
  • packages/cli/api/render/render.doc.mjs: clear
  • packages/cli/api/render/render.interactive.test.mjs: clear
  • packages/cli/api/render/render.test.mjs: clear
  • packages/cli/api/render/render.type.mjs: clear
  • packages/cli/clients/cli/commands/experimental/render-output.mjs: clear
  • packages/cli/clients/cli/commands/text-json-parity.test.mjs: clear
  • packages/cli/foundation/render/page-worker.mjs: clear
  • packages/cli/foundation/render/render-page.mjs: clear
  • packages/cli/foundation/render/share-checks.mjs: clear
  • packages/cli/foundation/render/share-checks.test.mjs: clear
  • packages/cli/foundation/response/response-types.doc.mjs: clear
  • packages/core/src/List/List.tsx: clear
  • packages/core/src/List/ListContext.tsx: clear
  • packages/core/src/Markdown/Markdown.tsx: clear
  • packages/core/src/Markdown/__tests__/MarkdownListBounds.a11y.chromium.spec.ts: clear
  • packages/core/src/Markdown/listEdge.test.tsx: clear
  • packages/core/src/Table/plugins/columnSettings/useTableColumnSettingsState.doc.mjs: clear
  • packages/core/src/Table/plugins/sortable/useTableSortableState.doc.mjs: clear
  • packages/core/src/Table/useTableColumnResize.doc.mjs: clear
  • packages/core/src/Table/useTableColumnSettings.doc.mjs: clear
  • packages/core/src/Table/useTableFiltering.doc.mjs: clear
  • packages/core/src/Table/useTableInfiniteScroll.doc.mjs: clear
  • packages/core/src/Table/useTablePagination.doc.mjs: clear
  • packages/core/src/Table/useTableSortable.doc.mjs: clear
  • packages/core/src/Table/useTableStickyColumns.doc.mjs: clear
  • packages/core/src/Toast/Toast.doc.mjs: clear

Automated review (maintainer link)

Comment on lines +830 to +835
- `foundation/render/render-page.mjs` sizes and `clients/cli/commands/experimental/render-output.mjs`
— the size output of `astryx experimental export`: a `bytes` line, with a
note when the page's script is more than half of the file, then one line per
part under its JSON key (`scriptBytes`, `cssBytes`, `markupBytes`,
`sourceBytes`); `markupBytes` (the markup with its inlined images) and
`sourceBytes` (the embedded source) are experimental fields.

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: this bullet records the size output, but the export's Checks section (data.checks.outside, data.checks.roundTrip, the "Share this one file" line) and the wider remote-asset warning are written nowhere in a record. One more sentence here, or in the api/render bullet, would keep them findable.

This branch was successfully deployed

1 active deployment
Preview — c2a9fb1a 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. needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant