Repository navigation
spec(Table): record the approved flat-data v1 decision - #8279
humbertovirtudes wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
0096b2c to
f9a3b58
Compare
e223300 to
62e3e47
Compare
f9a3b58 to
73c5f14
Compare
62e3e47 to
16eee55
Compare
16eee55 to
ad57643
Compare
73c5f14 to
da5e7e4
Compare
da5e7e4 to
8a56fda
Compare
ad57643 to
0c8e2cd
Compare
0c8e2cd to
1f31ed7
Compare
8a56fda to
d87cbc0
Compare
There was a problem hiding this comment.
Recording module:Table/useTableActivation as current needs a fresh owner decision on this exact head: the approval it carries was given to an earlier head of #7972, and the record's parent references have since moved to Table FR16–FR21 and DEC-4/DEC-5, which are still pending. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner); otherwise the record stays draft. If it is promoted, two wording fixes are still needed:
- Lines 42 and 58 say the parent contract decisions have owner approval, but
Table.spec.mdstill lists DEC-4 and DEC-5 as pending exact-head owner review. - The record still says "owner review pending" (lines 81–85 and 156) and calls itself a draft (lines 44, 175 and 190) beside the new approval stamps.
[Automated review]
| @@ -3,11 +3,11 @@ schema_version: 3 | |||
| template_version: 4 | |||
| kind: module | |||
| id: module:Table/useTableActivation | |||
| authority: draft | |||
| authority: current | |||
There was a problem hiding this comment.
This promotion has no owner decision on this pull request's head. The approval it records was given to an earlier head of #7972, and a new commit invalidates an approval; since then the parent references below moved from FR14–FR19 and DEC-3/DEC-4 to FR16–FR21 and DEC-4/DEC-5. An engineering owner records the decision with /approve-spec <full head SHA> here; approved_by, approved_at and the five Decider lines should then name that decision.
| @@ -39,11 +39,11 @@ references: | |||
| | Behavior | Eligible flat product rows request activation on primary click or Enter/Space after non-owning handlers; canonical identity, cancellation, descendant controls, and intersecting text selection gate the request. | | |||
| | End-user impact | One product row anchors adjacent detail or preview state without becoming selection, navigation, or focus ownership. | | |||
| | Builder impact | The caller supplies explicit stable unique `idKey`, controls the active key, and owns adjacent content; no second extractor, interaction mode, or theme state is public. | | |||
| | Compatibility/readiness | Additive and unreleased. Draft choices are closed; actual owner review of this text and the parent additions, source implementation, and all implementation evidence remain pending. | | |||
| | Compatibility/readiness | Additive and unreleased. The module and parent contract decisions have owner approval; source implementation and runtime evidence remain release gates. | | |||
There was a problem hiding this comment.
At this head Table.spec.md still lists DEC-4 and DEC-5 as "pending exact-head owner review" (lines 480 and 495), so the parent contract decisions do not have owner approval. Limit this to the module's own decisions and keep the parent additions pending, as the Governing rules row below already says.
| @@ -55,7 +55,7 @@ This table is a review projection; the body below defines the draft contract. | |||
| - Compatibility class: additive unreleased hook; unsupported new-capability combinations are neutralised without disabling legacy plugins. | |||
| - Migration decision: `module:Table/useTableActivation/DEC-1` and DEC-5. | |||
|
|
|||
| Consumer signatures, imports, examples, and migration instructions belong in the module's consumer docs. This draft is not implementation authority. Promotion requires actual owner review of the exact module and parent contract text; merged code, authored decisions, or successful checks do not substitute for approval. | |||
| Consumer signatures, imports, examples, and migration instructions belong in the module's consumer docs. Owner approval establishes the normative module and parent decisions; implementation and release evidence remain separate. Merged code or successful checks alone do not establish approval. | |||
There was a problem hiding this comment.
Same parent-approval claim as line 42: the parent's FR16–FR21 and DEC-4/DEC-5 are not approved at this head. The record also still says "owner review pending" at lines 81–85 and 156 and calls itself a draft at lines 44, 175 and 190; update those projections together with any approval.
d87cbc0 to
4fad71d
Compare
1f31ed7 to
31f47b0
Compare
There was a problem hiding this comment.
Making module:Table/useTableActivation current needs an owner decision on this exact head: the approval it records was given to an earlier head of #7972, and since then the record's parent references moved to Table FR16–FR21 and DEC-4/DEC-5, two of those parent rows (FR18 and FR20) were rewritten, and DEC-4/DEC-5 still read pending. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner); otherwise the record stays draft. If it is promoted, two wording fixes are still needed:
- Lines 42 and 58 say the parent contract decisions have owner approval, but
Table.spec.mdlines 480 and 495 still list DEC-4 and DEC-5 as pending exact-head owner review. - The record still says "owner review pending" (lines 81–85 and 156) and calls itself a draft (lines 44, 175 and 190) beside the new approval stamps.
[Automated review]
31f47b0 to
9a7b307
Compare
4fad71d to
3b8541b
Compare
There was a problem hiding this comment.
Making module:Table/useTableActivation current needs an owner decision on this exact head: the approval it records was given to an earlier head of #7972, and since then the record's parent references moved to Table FR16–FR21 and DEC-4/DEC-5, three of those parent rows (FR17, FR18 and FR20) were rewritten, and DEC-4/DEC-5 still read pending. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner); otherwise the record stays draft. If it is promoted, two wording fixes are still needed:
- Lines 42 and 58 say the parent contract decisions have owner approval, but
Table.spec.mdlines 480 and 495 still list DEC-4 and DEC-5 as pending exact-head owner review. - The record still says "owner review pending" (lines 81–85 and 156) and calls itself a draft (lines 44, 175 and 190) beside the new approval stamps.
[Automated review]
Count both applicable scroll axes in windowed keyboard access and share programmatic removal focus. Delegate busy announcements solely to the mounted Button loading region. Retain existing column-floor and scroll compatibility facts and clarify the plugin render-state source boundary. This diff was generated with AI assistance (Navi). Tags: ai-generated Clarify and implement parent-owned unknown row totals for admitted incremental loading; past approval does not cover the new protocol claim. Clarify runtime Table windowing admission while preserving the exported props interface. No approval or runtime behavior change. AI-assisted changes. Declare first-party flat Table modifiers in the canonical admission contract. This diff was generated with AI assistance (Navi). Tags: ai-generated
This diff was generated with AI assistance (Navi). Tags: ai-generated Clarify and implement parent-owned unknown row totals for admitted incremental loading; past approval does not cover the new protocol claim. Clarify runtime Table windowing admission while preserving the exported props interface. No approval or runtime behavior change. AI-assisted changes. Declare first-party flat Table modifiers in the canonical admission contract. This diff was generated with AI assistance (Navi). Tags: ai-generated
9a7b307 to
eadf763
Compare
3b8541b to
0635533
Compare
There was a problem hiding this comment.
Making module:Table/useTableActivation current needs an engineering owner's decision on this exact head: the approval it records was given to an earlier head of #7972, and since then the record's parent references moved to Table FR16–FR21 and DEC-4/DEC-5, parent FR17, FR18 and FR20 were rewritten, and DEC-4/DEC-5 still read pending. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner); otherwise the record stays draft. Before this can merge, these also need fixing:
- Lines 42 and 58 say the parent contract decisions have owner approval, but
Table.spec.mdlines 493 and 508 still list DEC-4 and DEC-5 as pending exact-head owner review. - The record still says "owner review pending" (lines 81–85 and 156) and calls itself a draft (lines 44, 175 and 190) beside the new approval stamps.
- The title and the description's opening describe four records on an exact copy of the approved #7972 head; this head changes one record on #7972's current head.
[Automated review]
7c6b965 to
cd0ac39
Compare
|
(Posted by Cindy's agent.) Thanks! Main already has the newer approved Table flat-data v1 text, so nothing is left to add here. Closing. |
Exact decision recorded
Record the approval already given for the flat-data v1 contract text in #7972 at
0096b2cedd77a33c9c11fac84ca57c965ace2fb7(owner-command receipt). This changes approval metadata, deciding-owner labels and stale draft/readiness projections in the four existing records. It does not add another API decision or claim runtime/performance results.Current scope
This is a draft bookkeeping follow-up, based on an exact copy of the approved #7972 head. #7972 remains the prerequisite; its owner gate passed, but automatic merge did not complete. No gate or merge is bypassed. The approval being recorded covers the earlier exact contract text, not this follow-up head or a runtime implementation.
Writing rubric results
Validation
node scripts/check-knowledge.mjs, exact-file formatting and diff whitespace checks pass. No runtime changes are included.This PR was generated with AI assistance (Navi).
Rebase verification (2026-10-27)
Rebased the existing dependency stack onto
0cbddeac0270ffa06819330dd9b07686e833e6a2. Table accessibility bindings from #7695 and first-frame scroll keyboard access from #8388 are preserved. Conflicts were confined to Table verification-map composition and the shared scroll measurement; original PR scopes remain unchanged.Shipping TypeScript, 290 targeted tests in 13 files, knowledge/client/format checks, current global baseline routing and a real Chromium smoke check pass. The loading test fault fixture now returns actual synchronous void/throw instead of an async function that converted those cases into Promise outcomes; production loader behavior is unchanged.
These are rebase checks, not a fresh full performance/AT/visual certification. Earlier evidence remains tied to its captured heads; existing release holds and draft states remain. No merge or new implementation approval was performed.
The owner approval in #7972 remains evidence for exact prior head
0096b2cedd77a33c9c11fac84ca57c965ace2fb7. This rebase does not transfer that approval to a new SHA; exact-head owner review must be refreshed where required. The approval-record metadata describes that earlier decision, not approval of this rebased head.Latest-main refresh (2026-10-28)
Refreshed this same dependency stack onto
327dd846b7d64a114168915868abc0c4aa7a13bc. Released Table divider/motion contracts from #8652/#8679 retain FR14/FR15/DEC-3. Pending flat-data plugin claims move to FR16–FR22 and DEC-4/DEC-5; their module parent references are updated to avoid duplicate IDs. Module-local IDs and runtime patches are unchanged. This is reference reconciliation, not a new behavior decision or approval.Shipping types and 290 targeted tests in 13 files pass. Existing draft/lifecycle states, dependency bases, previous evidence limitations and release gates are preserved. Old exact-head owner approval is historical; it is not transferred to these refreshed SHAs. No merge or new PR was performed.
Contract projection accuracy (2026-10-28)
Corrected four spec-only wording projections from the latest review: FR15 describes the approved, not released, motion decision; Table lists all three optional plugin fields; the Scroll region projection names applicable inline/block axes; the loading-module dependency summary includes parent FR22. Normative behavior, released divider/motion claims and all runtime source are unchanged. Knowledge, exact-file formatting and whitespace checks pass.
No fresh owner decision was supplied. Pending deciding-owner fields remain unstamped in the contract PR; historical approval metadata in its separate follow-up remains evidence only for the prior approved text. No approval was transferred and no merge or draft-state change was performed.
Incremental row-total correction (2026-10-28)
The current review found an unknown-total gap when loading and windowing compose. Parent Table FR20 now owns the only row-count rule: an admitted nonempty windowed table reports
aria-rowcount=-1while any loading source reportshasMore=true, whether idle, busy or retry-paused. Exhaustion makes it the exact header-plus-data count; appending while more data exists keeps it unknown. The existing render-state snapshot gains optionalhasMoreavailability besideisLoading, preserving loading-only sources. This adds no caller total/count setting or hook configuration field. Both module records cite that parent owner.The three optional plugin declarations remain stable public surfaces (additive compatibility, not an experimental lifecycle). Plugin diagnostics retain non-function and empty-plugin warnings; PR2 now names parent identity/render/viewport costs. Pending deciding-owner fields remain unstamped until a real exact-head decision.
Matching implementation and tests are in this same dependency stack: the parent reads a stable primitive loading/availability aggregate, the loading hook publishes an immutable availability snapshot, and seven new real-Table composition tests cover idle/busy, append/exhaustion, server/empty metadata, legacy counts, loading-only compatibility and independent availability updates. Five failing behavior assertions were observed first; the complete 297-test/14-file regression run and shipping TypeScript pass. Matched real-source browser count/focus evidence is retained for the owner outside public source.
This is a new normative clarification awaiting fresh owner approval, not a transfer of the earlier approval. The approval-record follow-up does not stamp the modified loading/windowing decisions with that historical approval; those records stay draft/null. Existing PR draft statuses, dependency bases and other release gates are unchanged. No merge or new PR was performed.
This historical approval-record follow-up now retains only the unchanged activation decision. Parent and loading/windowing row-count changes remain unapproved; the earlier four-record promotion description is superseded by this hold.
Scope and review-projection repair (2026-10-28)
Restored the existing non-goal for pagination, filtering, column-management, tree/grouping, sticky-column and context-menu anatomy beyond explicitly recorded stable parts. Flat-data capability work does not expand Table ownership into those module-specific anatomy contracts. The Table overview now names the render-state source, and the loading overview cites parent FR20 for row-total ownership. All runtime source, behavioral requirement sections and the corrected unknown-total rule are unchanged. Knowledge, exact-file formatting and whitespace checks pass.
A deciding owner and date cannot be invented: DEC-4/DEC-5 remain pending in the contract until an actual exact-head decision, and no historical approval is transferred. Existing PR identities, dependency bases and draft statuses are preserved; nothing merged.
Runtime admission contract accuracy (2026-10-28)
FR18 now names runtime admission of data mode, explicit identity and constrained content, with diagnostic full-render fallback, rather than claiming a restrictive opt-in props type. The exported TableProps interface remains compatible with existing interface extenders. This is a single-sentence accuracy correction; all owner, authority and lifecycle metadata remains unchanged and no approval is transferred to the new head.
Writing rubric results for the edited sentence: R1 present-tense runtime boundary, not change narration; R2 no research embedded; R3 no change-id evidence; R4 no rejected-alternative change; R5 no PR/issue link in the record; R6 no question options changed. Knowledge/SYNC/format checks pass.
Owner approval, authored-size scrutiny, authenticated evidence, full Storybook and numerical release gates remain open. Draft/non-draft lifecycle and dependency bases are unchanged. No duplicate PR, owner stamp, approval transfer or merge.
First-party flat admission clarification (2026-10-28)
Table FR17 explicitly requires the first-party selection and sticky-column plugins to declare rowModel: flat; their selection cells and pinned-cell wrappers preserve flat product-row structure. This closes the mismatch between fail-closed unknown-modifier admission and the promised first-party compositions. The FR16-FR22 verification map also names first-party declarations and the diagnostic full-render fallback. No declaration is inferred from plugin name or order; unknown modifiers still need a compatible explicit declaration.
Only Table.spec.md changed. All runtime source, tests, module records, owner/frontmatter metadata, lifecycle and dependency bases are unchanged. The runtime already carries these declarations; this update does not add or remove runtime admission. Knowledge, SYNC, formatting and whitespace checks pass, and per-head tree comparisons verify unchanged implementation files. The previously recorded360 runtime tests and browser checks belong to the byte-identical runtime; they were not rerun for this specification-only correction.
Writing rubric results for this clarification
DEC-4 and DEC-5 deciding-owner names/dates remain pending for the actual engineering owner to supply. No owner identity, decision date or exact-head approval is invented or transferred. Owner approval, authored-size scrutiny/decomposition and release gates remain open; nothing merged.