Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
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 resultssection reporting R1-R7 fromdocs/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).
| 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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 thanflat, 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
mainit is DEC-7 (DEC-6 is now the children-mode column decision), so please update both references. - The description needs a
## Writing rubric resultssection reporting R1-R7 fromdocs/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).
| - 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. |
There was a problem hiding this comment.
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.
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.customPluginsprop is rejected because the named plugin record already accepts custom plugins (AV5).