Skip to content

docs(spec): Core ships the Table plugins that set the table's behavior - #10107

Draft
cixzhang wants to merge 3 commits into
mainfrom
spec/table-plugin-admission
Draft

cixzhang wants to merge 3 commits into
mainfrom
spec/table-plugin-admission

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

People who use a keyboard or screen reader need a table's selection, tree, and grid behavior to work the same everywhere and to combine. Twenty Table plugin requests wait because no record says which plugins belong in Core. This draft adds the admission rule to component:Table. Core ships the plugins that set what the table is and how people move through it. Everything else is built on the public plugin protocol in Lab or in an app.

Spec explainer (human view): kept internally with the owner review.

Owner decision (draft until decided)

Which Table plugins Core ships (ownership bullet, DEC-6, decider pending). Recommended A: row model, whole-row owner, role and keyboard model (grid, treegrid), selection, sort, and the loading, empty, and error states. An accessibility behavior arrives as a plugin that adjusts the table. Alternatives: B, the whole feature suite; C, the protocol only.

Current-state impact

  • component:Table: one Owns bullet and DEC-6.
  • No API change. A separate customPlugins prop is rejected because the named plugin record already accepts custom plugins (AV5).
  • No code changes. No open pull request claims these lines.

@vercel

vercel Bot commented Nov 5, 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 3:36pm UTC

Request Review

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

astracat-bot Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 19, 2026, 3:41 PM UTC

@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 5, 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.

This pull request needs a maintainer check before review continues.

[Automated review]

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

Approval waits on an engineering owner's decision on DEC-6, and three fixes are needed in the record and the description.

The new Owns bullet and DEC-6 add a rule for which Table plugins Core ships that no current record states yet. An engineering owner records the decision by commenting /approve-spec <full head SHA> on the final head, and the author may do so if they are an engineering owner.

  • The rule does not say what happens to the Table plugins Core already ships outside its list (pagination, column settings, column resize, filtering, row status, row virtualization), or whether row index and sticky columns, which only declare rowModel: 'flat', "set a row model"; please state their standing, keeping AST-017 FR22 and FR26 (released stable surfaces stay stable) in mind, and list it under Current-state impact.
  • DEC-6 says "a tree plugin switches the table to treegrid navigation", but the shipped tree plugin keeps native table semantics, so please state this as a rule for role-changing plugins rather than as current behavior.
  • The description needs a ## Writing rubric results section reporting R1-R7 from docs/contributing/spec-writing.md, which the knowledge-contracts record requires for every pull request that changes a record.

Fill in DEC-6's Decider line with the decider and date in the commit the owner approves, since a new commit resets the approval.

Claims and files checked
  • Claim: the Table record gains a rule for which plugins Core ships (verified).
  • Claim: Core ships plugins that set what the table is and how people move through it, and other plugins build on the public protocol in Lab or an app (verified).
  • Claim: the recommended option lists row model, whole-row owner, role and keyboard model, selection, sort, and loading, empty and error states (verified).
  • Claim: an accessibility behavior arrives as a plugin that adjusts the table (present; its treegrid example does not match the shipped tree plugin).
  • Claim: shipping the whole feature suite and shipping only the protocol are rejected (verified).
  • Claim: the impact is one ownership bullet and one decision, with no API or code change (verified).
  • Claim: a separate custom-plugins prop is rejected because the named plugin record already accepts custom plugins (verified).
  • Claim: no open pull request claims these lines (not checked).
  • Claim: about twenty Table plugin requests wait for this rule (roughly consistent with the open issue list).
  • File: docs/specs/components/Table/Table.spec.md (three findings above).

Automated review (maintainer link)

Comment on lines +572 to +574
accepts any plugin under any name (AV5). An accessibility behavior arrives as a
plugin that adjusts the table, not as code inside Table: a tree plugin switches
the table to treegrid navigation.

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 shipped tree plugin keeps native table semantics (aria-expanded stays on the expander button), and the tree module record says treegrid semantics are not there today, so this reads as current behavior Core lacks. Suggested wording: "A plugin that changes the table's role, such as to treegrid, ships in Core with its own record; Table carries no role-specific code."

main now holds Table DEC-6 (children-mode wrapping columns follow their content). The Core-ships-plugins decision moves to DEC-7, with its reference and Out-of-scope pointer renamed.

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

Approval waits on an engineering owner's decision on DEC-7, and four fixes are needed in the record and the description.

The new Owns bullet and DEC-7 in the Table record add a rule for which Table plugins Core ships that no current record states yet. An engineering owner records the decision by commenting /approve-spec <full head SHA> on the final head, and the author may do so if they are an engineering owner.

  • The rule does not say whether the released Core plugins outside its list (pagination, column settings, column resize, filtering, row status, the rows and columns virtualization hooks) stay in Core, and "sets a row model" cannot be decided because every flat body modifier, row index and sticky columns included, declares rowModel: 'flat'; please state their standing under the released-API rules, define the row-model clause as a model other than flat, and list the effect under Current-state impact.
  • DEC-7 says "a tree plugin switches the table to treegrid navigation", but the shipped tree plugin and its module record keep native table semantics with the disclosure pattern, so please state this as a rule for role-changing plugins rather than as current behavior.
  • The description calls this decision DEC-6 in its owner-decision line and its Current-state impact, but after the merge from main it is DEC-7 (DEC-6 is now the children-mode column decision), so please update both references.
  • The description needs a ## Writing rubric results section reporting R1-R7 from docs/contributing/spec-writing.md, which the knowledge-contracts record requires for every pull request that changes a record.

Fill in DEC-7's Decider line with the decider and date in the commit the owner approves, since a new commit resets the approval.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the Table record gains a rule for which plugins Core ships (verified).
  • Claim: Core ships plugins that set what the table is and how people move through it, and other plugins build on the public protocol in Lab or an app (verified).
  • Claim: the recommended option lists row model, whole-row owner, role and keyboard model, selection, sort, and loading, empty and error states (verified).
  • Claim: an accessibility behavior arrives as a plugin that adjusts the table (present; its treegrid example does not match the shipped tree plugin).
  • Claim: shipping the whole feature suite and shipping only the protocol are rejected (verified).
  • Claim: the impact is one ownership bullet and DEC-6 (false: the decision is DEC-7 at this head).
  • Claim: no API change and no code change (verified).
  • Claim: a separate custom-plugins prop is rejected because the named plugin record already accepts custom plugins (verified).
  • Claim: no open pull request claims these lines (verified for the open Table pull requests checked).
  • Claim: about twenty Table plugin requests wait for this rule (roughly consistent with the open issue list).
  • Claim: the spec explainer is kept with the owner review (not checkable; no link in the description).
  • File: docs/specs/components/Table/Table.spec.md (findings above).

Automated review (maintainer link)

Comment on lines +145 to +151
- Which plugins Core ships (DEC-7). A plugin ships in Core when it sets what
the table is or how a person moves through it: a row model, a whole-row
owner, the table's role and keyboard model (grid, treegrid), selection, sort,
or the table's loading, empty, and error states. Other plugins, such as value
heatmaps, column transposition, drag previews, prefetching, and bulk-action
wrappers, are built in Lab or in an app on the same `TablePlugin` protocol,
passed under any name (AV5), and earn Core only through this rule.

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 rule does not say whether the Table plugins Core already ships outside its list stay (useTablePagination, useTableColumnSettings, useTableColumnResize, useTableFiltering, useTableRowsVirtualization, useTableColumnsVirtualization; useTableRowStatus is unclear). "Sets a row model" is also undecidable: FR17 has useTableSelection and useTableStickyColumns declare rowModel: 'flat', useTableRowIndex does too, and the plugins docs require every flat body modifier to declare it, so a heatmap plugin would pass. AST-017 FR22 and FR26 keep released stable surfaces stable, so please state their standing here or in DEC-7, define the row-model clause as a model other than flat, and list the effect under Current-state impact.

This branch was successfully deployed

1 active deployment
Preview — 60561c52 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:spec-owner-review Current knowledge records await owner approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant