Repository navigation
chore: land 5 reviewed pull requests together (batch 15) - #12859
Conversation
…ect is a package, so --reverse gives the page back
…ports by a relative path
…s stylesheet is carried [skip ci]
… alias are carried; a linked package's @import stays the package's [skip ci]
…d package keeps the rest [skip ci]
…the images its modules name [skip ci]
… JSON key [skip ci]
…h any quote [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]
…es the one file to share
…of the file under its JSON key
…ow-type generic
…nside the project is a package, so --reverse gives the page back
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec c2a9fb1 |
|
/approve-spec c2a9fb1 |
PR Analysis Report🔎 Preview ·
|
| 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
There was a problem hiding this comment.
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.mddescribes the export's size output but not its Checks section (data.checksand the "Share this one file" line) or the widerremote-assetwarning; 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--reversegives 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
markupBytesandsourceBytesto 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 toRecord<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: cleardocs/architecture/cli-surface.md: non-blocking note aboveinternal/eslint-plugin-astryx/no-comment-provenance.baseline.json: clearpackages/cli/api/render/_adapter.mjs: clearpackages/cli/api/render/render.doc.mjs: clearpackages/cli/api/render/render.interactive.test.mjs: clearpackages/cli/api/render/render.test.mjs: clearpackages/cli/api/render/render.type.mjs: clearpackages/cli/clients/cli/commands/experimental/render-output.mjs: clearpackages/cli/clients/cli/commands/text-json-parity.test.mjs: clearpackages/cli/foundation/render/page-worker.mjs: clearpackages/cli/foundation/render/render-page.mjs: clearpackages/cli/foundation/render/share-checks.mjs: clearpackages/cli/foundation/render/share-checks.test.mjs: clearpackages/cli/foundation/response/response-types.doc.mjs: clearpackages/core/src/List/List.tsx: clearpackages/core/src/List/ListContext.tsx: clearpackages/core/src/Markdown/Markdown.tsx: clearpackages/core/src/Markdown/__tests__/MarkdownListBounds.a11y.chromium.spec.ts: clearpackages/core/src/Markdown/listEdge.test.tsx: clearpackages/core/src/Table/plugins/columnSettings/useTableColumnSettingsState.doc.mjs: clearpackages/core/src/Table/plugins/sortable/useTableSortableState.doc.mjs: clearpackages/core/src/Table/useTableColumnResize.doc.mjs: clearpackages/core/src/Table/useTableColumnSettings.doc.mjs: clearpackages/core/src/Table/useTableFiltering.doc.mjs: clearpackages/core/src/Table/useTableInfiniteScroll.doc.mjs: clearpackages/core/src/Table/useTablePagination.doc.mjs: clearpackages/core/src/Table/useTableSortable.doc.mjs: clearpackages/core/src/Table/useTableStickyColumns.doc.mjs: clearpackages/core/src/Toast/Toast.doc.mjs: clear
| - `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. |
There was a problem hiding this comment.
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.
Members, merged in this order with --no-ff:
Combines five reviewed pull requests, each merged with --no-ff at its current head on main:
architecture:cli-surface)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.mdPage size (shared modules)
First-load JavaScript per reference page (minified / gzip bytes), base → batch head, from
pnpm size:pages:Writing rubric results
Export size output (
docs/architecture/cli-surface.md, the owning-code bullet for the render's size output, andrender.doc.mjs, the render's record line on its size output):When this merges, each pull request above is closed with a note that names this one.