Skip to content

spec(Table, AST-105): tables with column lines do not glide yet (FR15) - #8679

Merged
cixzhang merged 5 commits into
mainfrom
spec/table-grid-no-glide
Oct 27, 2026
Merged

cixzhang merged 5 commits into
mainfrom
spec/table-grid-no-glide

Conversation

@cixzhang

@cixzhang cixzhang commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Decided (Cindy, 2026-10-26 21:49, D37; scope line recorded as record accuracy).

User impact

A table that draws vertical column lines (dividers="grid") keeps its rows still when a detail row opens or closes, so its column lines never detach from moving rows. Every other table glides as FR15 describes.

Change: component:Table FR15

  • A table that draws column lines (dividers="grid" or "columns", which draw the same lines) does not glide yet: with the option its panel and rows change at once, and the glyph keeps its own turn. AST-105's Coverage row carries the exception.
  • The verification row adds a grid table with the option and fails one whose rows glide.

Writing rubric results

  • R1 present tense: pass ("yet" names the current limit, not a plan).
  • R2 research: none. R3 verification: the FR15 row is extended.
  • R4 rejected alternatives: none. R5 change references: none. R6 open questions: none.

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec a0f07dd

@vercel

vercel Bot commented Oct 27, 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 Oct 27, 2026 2:28pm UTC

Request Review

@astracat-bot

astracat-bot Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Oct 27, 2026, 3:01 PM UTC

@github-actions github-actions Bot added the spec-auto-merge Auto-merge was enabled by the spec owner gate label Oct 27, 2026
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

Current run: The current change has no visual or preview-producing scope. Visual checks are not applicable; preview links are not shown.

The exact-head preview is not available yet.


Generated by PR Enrichment workflow | View current CI run

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

Requesting changes: the grid exception in FR15 is approved for this head, but it leaves the spec records inconsistent and its scope unclear.

  • docs/specs/AST-105-animated-layout/spec.md Coverage still says Table rows glide after a detail row opens or closes and lists no divider exception, so please carry the exception into AST-105 in this PR, including what happens to content after a grid table.
  • dividers="columns" draws the same column lines as "grid" (packages/core/src/Table/useTableCellStyles.ts:44) but keeps gliding under this text, while the description says only grid tables draw them, so either name both values or correct the description.
  • FR15's exception extends the "Without the option," sentence and the verification row still fails "rows that jump with the handle", so a grid table holding the handle fails whether its rows jump or glide; a separate sentence for tables holding the handle (covering the panel and glyph) and a scoped failure list would fix both.

The new head will need a fresh /approve-spec from an engineering owner.

[Automated review]

Comment thread packages/core/src/Table/Table.spec.md Outdated
| FR13 | In data-driven mode, each explicit column whose `width` is omitted keeps one equal flexible share and a 60px readability floor. A column sets its own floor with `proportional(value, {minWidth})`, which replaces the 60px floor for that column; Table has no table-wide floor setting. Resolution is a pure function of the final column definitions: row values, rendered header/body measurement, locale, sorting, filtering, virtualization, and loading state do not change any floor. Explicit pixel and proportional widths retain their authored floors. When the resolved floors exceed available inline space, the existing Scroll region provides horizontal overflow. | `component:Table/DEC-2`; current source and tests | Verified by width-resolution unit coverage and the ResponsiveScroll real-browser geometry fixture |
| FR14 | Wherever Table shows a row divider, including while rows glide and in pinned columns, the divider has the width, style and colour the row's border would have: the theme's tokens and any app override on `tr`, `tbody` or `td` borders, so customizations still show. | `component:Table/DEC-3` | Not implemented: rows do not glide yet, the pinned-column divider is pending, and an open detail panel's divider draws the default tokens, which `table-cell` overrides do not reach |
| FR15 | `useTableRowExpansion` takes an `animatedLayout` option, the handle `spec:AST-105` FR1 defines: when an Expanded detail row opens, the panel plays in and the rows after it glide to their new places; when one closes, it hides at once and the rows after it glide up into its space (`spec:AST-105` Coverage). The Expansion glyph turns on the same motion; under reduced motion the rows move without travel (`spec:AST-105` FR4). Without the option, rows change at once. | `spec:AST-105` FR1, FR4; owner decision, 2026-10-26 | Not implemented |
| FR15 | `useTableRowExpansion` takes an `animatedLayout` option, the handle `spec:AST-105` FR1 defines: when an Expanded detail row opens, the panel plays in and the rows after it glide to their new places; when one closes, it hides at once and the rows after it glide up into its space (`spec:AST-105` Coverage). The Expansion glyph turns on the same motion; under reduced motion the rows move without travel (`spec:AST-105` FR4). Without the option, rows change at once, and tables with `dividers="grid"` do not glide yet: their rows change at once. | `spec:AST-105` FR1, FR4; owner decision, 2026-10-26 | Not implemented |

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.

This exception isn't carried into docs/specs/AST-105-animated-layout/spec.md, whose Coverage row still says Table rows glide after a detail row opens or closes and whose out-of-coverage list omits grid tables, so the two current records disagree. It also covers only "grid", although dividers="columns" draws the same column lines (packages/core/src/Table/useTableCellStyles.ts:44). As written it extends the "Without the option," sentence; a separate sentence for tables holding the handle, saying what the panel and glyph do, would remove the ambiguity.

Comment thread packages/core/src/Table/Table.spec.md Outdated
| FR12, PR1 | `Table.perf.test.tsx` plus `useBaseTablePlugins.ts` source inspection | Same plugin references, recreated record, and changed plugin value | Unchanged plugin values must preserve the resolved array and representative no-op row-update budgets; focused named-record identity coverage remains partial. | `audit:Table/performance` |
| FR13, PR3 | `Table.test.tsx`, `plugins/columnResize/useTableColumnResize.test.tsx`, `plugins/stickyColumns/useTableStickyColumns.test.tsx`, and `Table.stories.tsx` ResponsiveScroll play assertions | Width-less columns with empty, short, and long-token rows; mixed explicit widths; pinned columns; narrow and fitting containers | Removing the 60px floor, deriving it from row content, changing explicit width semantics, desynchronizing resize bounds or sticky offsets, or preventing the existing Scroll region from activating fails focused unit or real-browser geometry assertions. | `audit:Table/layout` |
| FR14 | Real-browser computed-style checks of the divider mid-glide, in pinned columns, and under an open detail panel (pending) | a theme with a custom divider colour; an app override of a row's border; both mid-glide and on a pinned cell; an open detail panel's divider under the same theme and override | a divider whose width, style or colour differs from the row's border, or that drops a theme or app override, fails | `audit:Table/theming` |
| FR15 | Real-browser tests of row expansion with and without `animatedLayout` (pending) | open and close with the handle; without it; reduced motion under a coarse and a fine pointer; a glyph turn beside the glide; a `dividers="grid"` table with the option | rows that jump with the handle, a closing panel that animates or leaves its space empty before the rows arrive, a panel and rows on different motion, a glyph on its own timing, travel under reduced motion, or any motion without the handle or a `dividers="grid"` table whose rows glide fails | `audit:Table/plugins` |

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.

The failure list still fails "rows that jump with the handle" without excepting grid tables, so a dividers="grid" table holding the handle fails whether its rows jump or glide; scoping that clause to tables that glide fixes it.

…ge at once; AST-105 coverage carries it; row scoped
@cixzhang cixzhang changed the title spec(Table): grid-divider tables do not glide yet (FR15) spec(Table, AST-105): tables with column lines do not glide yet (FR15) Oct 27, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec e9addc4

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

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

Requesting changes: spec:AST-105 now carries the column-line exception and dividers="columns" is covered, but FR15's new clause contradicts itself about the expansion glyph.

  • FR15 says a table with column lines changes "panel, rows, and glyph" at once "as without it", and its verification row fails one that "animates its panel or glyph", yet without the option the chevron turns over --duration-fast (packages/core/src/Table/plugins/rowExpansion/useTableRowExpansion.tsx:169-173); either let the glyph keep its own turn and drop "or glyph" from the failure list, or keep it at once and drop "as without it".

Once updated, the new head needs a fresh /approve-spec <full head SHA> from an engineering owner, which the author can post as one.

[Automated review]

Comment thread packages/core/src/Table/Table.spec.md Outdated
| FR13 | In data-driven mode, each explicit column whose `width` is omitted keeps one equal flexible share and a 60px readability floor. A column sets its own floor with `proportional(value, {minWidth})`, which replaces the 60px floor for that column; Table has no table-wide floor setting. Resolution is a pure function of the final column definitions: row values, rendered header/body measurement, locale, sorting, filtering, virtualization, and loading state do not change any floor. Explicit pixel and proportional widths retain their authored floors. When the resolved floors exceed available inline space, the existing Scroll region provides horizontal overflow. | `component:Table/DEC-2`; current source and tests | Verified by width-resolution unit coverage and the ResponsiveScroll real-browser geometry fixture |
| FR14 | Wherever Table shows a row divider, including while rows glide and in pinned columns, the divider has the width, style and colour the row's border would have: the theme's tokens and any app override on `tr`, `tbody` or `td` borders, so customizations still show. | `component:Table/DEC-3` | Not implemented: rows do not glide yet, the pinned-column divider is pending, and an open detail panel's divider draws the default tokens, which `table-cell` overrides do not reach |
| FR15 | `useTableRowExpansion` takes an `animatedLayout` option, the handle `spec:AST-105` FR1 defines: when an Expanded detail row opens, the panel plays in and the rows after it glide to their new places; when one closes, it hides at once and the rows after it glide up into its space (`spec:AST-105` Coverage). The Expansion glyph turns on the same motion; under reduced motion the rows move without travel (`spec:AST-105` FR4). Without the option, rows change at once. | `spec:AST-105` FR1, FR4; owner decision, 2026-10-26 | Not implemented |
| FR15 | `useTableRowExpansion` takes an `animatedLayout` option, the handle `spec:AST-105` FR1 defines: when an Expanded detail row opens, the panel plays in and the rows after it glide to their new places; when one closes, it hides at once and the rows after it glide up into its space (`spec:AST-105` Coverage). The Expansion glyph turns on the same motion; under reduced motion the rows move without travel (`spec:AST-105` FR4). Without the option, rows change at once. A table that draws column lines (`dividers="grid"` or `"columns"`) does not glide yet: with the option it changes at once, panel, rows, and glyph, as without it. | `spec:AST-105` FR1, FR4; owner decision, 2026-10-26 | Not implemented |

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.

The glyph half of this clause can't hold as written. Without the option the chevron turns over --duration-fast (plugins/rowExpansion/useTableRowExpansion.tsx:169-173), so "changes at once … glyph" and "as without it" disagree, and the verification row at line 343 fails the "as without it" reading. Either let the glyph keep its own turn ("its panel and rows change at once, as without it, and the glyph keeps its own turn") or drop "as without it".

Comment thread packages/core/src/Table/Table.spec.md Outdated
| FR12, PR1 | `Table.perf.test.tsx` plus `useBaseTablePlugins.ts` source inspection | Same plugin references, recreated record, and changed plugin value | Unchanged plugin values must preserve the resolved array and representative no-op row-update budgets; focused named-record identity coverage remains partial. | `audit:Table/performance` |
| FR13, PR3 | `Table.test.tsx`, `plugins/columnResize/useTableColumnResize.test.tsx`, `plugins/stickyColumns/useTableStickyColumns.test.tsx`, and `Table.stories.tsx` ResponsiveScroll play assertions | Width-less columns with empty, short, and long-token rows; mixed explicit widths; pinned columns; narrow and fitting containers | Removing the 60px floor, deriving it from row content, changing explicit width semantics, desynchronizing resize bounds or sticky offsets, or preventing the existing Scroll region from activating fails focused unit or real-browser geometry assertions. | `audit:Table/layout` |
| FR14 | Real-browser computed-style checks of the divider mid-glide, in pinned columns, and under an open detail panel (pending) | a theme with a custom divider colour; an app override of a row's border; both mid-glide and on a pinned cell; an open detail panel's divider under the same theme and override | a divider whose width, style or colour differs from the row's border, or that drops a theme or app override, fails | `audit:Table/theming` |
| FR15 | Real-browser tests of row expansion with and without `animatedLayout` (pending) | open and close with the handle; without it; reduced motion under a coarse and a fine pointer; a glyph turn beside the glide; a `dividers="grid"` and a `dividers="columns"` table with the option | rows that jump with the handle in a table without column lines, a closing panel that animates or leaves its space empty before the rows arrive, a panel and rows on different motion, a glyph on its own timing, travel under reduced motion, or any motion without the handle or a table with column lines that glides or animates its panel or glyph fails | `audit:Table/plugins` |

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.

If the glyph keeps its own turn on these tables, narrow this clause to "a table with column lines that glides or animates its panel". As written, it fails a table that behaves exactly as it does without the handle.

cixzhang added a commit that referenced this pull request Oct 27, 2026
… at once, panel, rows and chevron

Table FR15 (#8679) covers dividers="columns" as well as "grid": both
paint column lines at the cells' static places. With a handle such a
table changes as without one. jsdom test for both modes (no glide, no
panel entrance, the chevron keeps the theme's turn) and the browser
check for both, through the story's dividers control.
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 9d835d7

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

Requesting changes: FR15's column-line exception and the matching spec:AST-105 Coverage row agree and are approved for this head, but the FR15 verification row still contradicts the new glyph clause. That row keeps failing "a glyph on its own timing" in every state, while FR15 (packages/core/src/Table/Table.spec.md:144) now has a dividers="grid" or "columns" table keep the chevron's own turn, so a conforming table fails line 343; scoping the item to the glide (for example "a glyph on its own timing beside the glide") and adding "a table with column lines whose glyph does not keep its own turn" would fix it. The updated head will need a fresh /approve-spec <full head SHA> from an engineering owner, which the author can post as one.

[Automated review]

Comment thread packages/core/src/Table/Table.spec.md Outdated
| FR12, PR1 | `Table.perf.test.tsx` plus `useBaseTablePlugins.ts` source inspection | Same plugin references, recreated record, and changed plugin value | Unchanged plugin values must preserve the resolved array and representative no-op row-update budgets; focused named-record identity coverage remains partial. | `audit:Table/performance` |
| FR13, PR3 | `Table.test.tsx`, `plugins/columnResize/useTableColumnResize.test.tsx`, `plugins/stickyColumns/useTableStickyColumns.test.tsx`, and `Table.stories.tsx` ResponsiveScroll play assertions | Width-less columns with empty, short, and long-token rows; mixed explicit widths; pinned columns; narrow and fitting containers | Removing the 60px floor, deriving it from row content, changing explicit width semantics, desynchronizing resize bounds or sticky offsets, or preventing the existing Scroll region from activating fails focused unit or real-browser geometry assertions. | `audit:Table/layout` |
| FR14 | Real-browser computed-style checks of the divider mid-glide, in pinned columns, and under an open detail panel (pending) | a theme with a custom divider colour; an app override of a row's border; both mid-glide and on a pinned cell; an open detail panel's divider under the same theme and override | a divider whose width, style or colour differs from the row's border, or that drops a theme or app override, fails | `audit:Table/theming` |
| FR15 | Real-browser tests of row expansion with and without `animatedLayout` (pending) | open and close with the handle; without it; reduced motion under a coarse and a fine pointer; a glyph turn beside the glide; a `dividers="grid"` and a `dividers="columns"` table with the option | rows that jump with the handle in a table without column lines, a closing panel that animates or leaves its space empty before the rows arrive, a panel and rows on different motion, a glyph on its own timing, travel under reduced motion, or any motion without the handle or a table with column lines that glides or animates its panel fails | `audit:Table/plugins` |

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.

This row still fails "a glyph on its own timing" with no scope, but FR15 (line 144) now has a dividers="grid" or "columns" table keep the chevron's own turn, so a conforming column-line table fails here. Scoping the item to the glide ("a glyph on its own timing beside the glide") and adding "a table with column lines whose glyph does not keep its own turn" would fix it.

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 66332da

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

Recommending approval: the column-line limit in component:Table FR15 and the matching spec:AST-105 Coverage row agree, cover both dividers="grid" and "columns", and carry an engineering owner's approval for this head. One optional wording fix: the FR15 verification row's failure list lost an "or" in the last commit ("…any motion without the handle a table with column lines…" in packages/core/src/Table/Table.spec.md), and fixing it would need a fresh /approve-spec on the new head.

[Automated review]

| FR12, PR1 | `Table.perf.test.tsx` plus `useBaseTablePlugins.ts` source inspection | Same plugin references, recreated record, and changed plugin value | Unchanged plugin values must preserve the resolved array and representative no-op row-update budgets; focused named-record identity coverage remains partial. | `audit:Table/performance` |
| FR13, PR3 | `Table.test.tsx`, `plugins/columnResize/useTableColumnResize.test.tsx`, `plugins/stickyColumns/useTableStickyColumns.test.tsx`, and `Table.stories.tsx` ResponsiveScroll play assertions | Width-less columns with empty, short, and long-token rows; mixed explicit widths; pinned columns; narrow and fitting containers | Removing the 60px floor, deriving it from row content, changing explicit width semantics, desynchronizing resize bounds or sticky offsets, or preventing the existing Scroll region from activating fails focused unit or real-browser geometry assertions. | `audit:Table/layout` |
| FR14 | Real-browser computed-style checks of the divider mid-glide, in pinned columns, and under an open detail panel (pending) | a theme with a custom divider colour; an app override of a row's border; both mid-glide and on a pinned cell; an open detail panel's divider under the same theme and override | a divider whose width, style or colour differs from the row's border, or that drops a theme or app override, fails | `audit:Table/theming` |
| FR15 | Real-browser tests of row expansion with and without `animatedLayout` (pending) | open and close with the handle; without it; reduced motion under a coarse and a fine pointer; a glyph turn beside the glide; a `dividers="grid"` and a `dividers="columns"` table with the option | rows that jump with the handle in a table without column lines, a closing panel that animates or leaves its space empty before the rows arrive, a panel and rows on different motion, a glyph on its own timing beside the glide, travel under reduced motion, or any motion without the handle a table with column lines that glides or animates its panel, or one whose glyph does not keep its own turn, fails | `audit:Table/plugins` |

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.

The last commit dropped the "or" before "a table with column lines", so two failure items now run together ("…any motion without the handle a table with column lines that glides…"). Suggested wording for this cell: "…travel under reduced motion, any motion without the handle, a table with column lines that glides or animates its panel, or one whose glyph does not keep its own turn fails".

@cixzhang
cixzhang merged commit a73f030 into main Oct 27, 2026
56 checks passed

This branch was successfully deployed

1 active deployment
Preview — 66332da9 Deployed Oct 27, 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. spec-auto-merge Auto-merge was enabled by the spec owner gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant