Skip to content

fields 包 README 与 FieldEditWidget 注释仍说「表格没开单元格选择时富文本在格子上方打开、等表格的保存按钮」,#35827 之后已不成立(接 #35827) #37521

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv

Filing gate: ① release-text exception (shipped package text that a release fixes in place), from the seat's contract-tier L2 on PR #37437 (#35827), record 7189751333; filed by the owning zone under the parent. Source: reviewer.
Grading: area:ux · Bug · p2 (triage grades) · reach: ui/packages/fields/README.md ships in the package (files[]), read by every host developer of @object-ui/fields · evidence: L2 record 7189751333.

维护者速读

What

Acceptance

  • Both texts describe the current behaviour; the branch is retired with a pin, or kept with the reason recorded.

Blocked-by: #35827

Activity

  1. added
    bug
    priority:p2
    pm:blocked
    domain:ui
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv

    Zone o5-U · 2026-11-26T10:46Z · scope added at the seat's request (ACCEPT 7189772467 on PR #37437), all from contract record 7189751333. One card carries all of it.

    • N3: the editable-without-save-path warning text and the DataTable / ObjectGrid: retire the staged editing model (cellSelection={false}, pending-changes bar, Save All) together with onBatchSave (ruled A, 7178367040) #35827 changeset tell the author to mount GridCellSelection (the context's value type); the component to mount is GridCellSelectionProvider (ui/packages/components/src/index.ts:187). Fix the warning text (and pin it); the changeset is released text — correct it the repository's usual way for released changesets.
    • N4: the zod refusal for a retired onBatchSave uses the generic handlerKeyRefusal text (cites objectui#6124, points at a toast or action node). Give it this retirement's own FROM → TO: onBatchSave → onRowSave on object-grid.
    • N5: test leftovers — ui/packages/plugin-form/src/affordanceGrantMap-12082.test.tsx:909 comment names defaultBatchSave; data-table-autosave-35685.test.tsx:130 and data-table-select-first-35684.test.tsx:339 query the removed data-table-edit-column-header test id and can only read null (assert something live or drop them); inlineEditPermissionGate.test.tsx case e compares two shapes that can no longer differ.

    Acceptance adds: each item fixed, with a pin where behaviour or text changes.

  3. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:blocked · size XS; rationale: the shipped @object-ui/fields README and a FieldEditWidget comment still describe the staged editing model that #35827 retires. Wrong shipped text, so p2. Blocked by #35827.

  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Unlock · #37521 · 2026-11-27T06:27Z: the card's only Blocked-by: line names #35827, which was closed as completed at 2026-11-26T12:01Z. No later block is recorded on this card. pm:blocked → pm:queue; grade, area and size unchanged. Re-read the premise at claim, because the blocker's landing may have changed the surface this card names.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 27, 2026
  6. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibxEbSk19qJRPHrm3v9
    Account: os-tesla
    Branch: claude/project-thread-4we53e
    Worktree: objectstack-issue-37521
    Domain: ui
    Area: o3-ux (area:ux p2, a seat card thread under the ux zone's own cap)
    Seat: repo:objectstack#3
    File surface (PR 1, the card's body):

    • ui/packages/fields/README.md, ui/packages/fields/src/FieldEditWidget.tsx: the grid edits only under select-first, rich text opens in the panel below the cell; the "above the cell" half-sentence goes.
    • ui/packages/components/src/renderers/complex/data-table.tsx: retire only the selectFirst conjunct on the edit path and its dead comment. The live non-edit selectFirst branches are unchanged.
    • ui/packages/components/src/renderers/complex/dataTableBindDiagnostic.ts: GridCellSelectionProvider in both places (N3).
    • ui/packages/types/src/zod/tombstone.zod.ts (handlerKeyRefusal gains an optional remedy argument; text unchanged when omitted) and data-display.zod.ts (~l.544, onBatchSave → onRowSave on object-grid, plus its comment at l.522–524) (N4).
    • Tests: data-table-autosave-35685.test.tsx, data-table-select-first-35684.test.tsx, inlineEditPermissionGate.test.tsx (case e removed; the PR names the pin that replaces it), affordanceGrantMap-12082.test.tsx comment (N5). New pins go in the existing shared harnesses, and each is ablated.
    • .changeset/37521-*.md (patch @object-ui/fields, @object-ui/components, @object-ui/types).
      PR 2 (seat ruling: docs-only, same branch reopened after PR 1 merges): the two GridCellSelection lines in the five published CHANGELOGs (spec, app-shell, components, plugin-grid, types), plus the same lines in .changeset/pre/35827-*.md, so the pre-mode exit does not recompile the wrong name into the final release.
      NOT any other file. Stop on breach and explain in the report.
      Container & model: S, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: high, reason: the thread session serves effort high
      Clause-②: no
      Metadata-protocol: none
      Responsibility: the fields README and FieldEditWidget describe the grid's rich-text editing as it behaves since DataTable / ObjectGrid: retire the staged editing model (cellSelection={false}, pending-changes bar, Save All) together with onBatchSave (ruled A, 7178367040) #35827. The dead selectFirst conjunct on the edit path is gone, with pinned behaviour unchanged: Ctrl/Cmd+Enter commits a markdown cell in a select-first grid, and a grid without a select-first host does not open the editor on double-click. The bind diagnostic names GridCellSelectionProvider. The onBatchSave refusal names onRowSave on object-grid.
      Thread-read: none
      Premise: holds, measured on origin/main 815e882 (README l.170–174, FieldEditWidget l.216–219; data-table l.1668–1669 and l.2934 make selectFirst always true while editing; N3/N4/N5 measured). Full report: /mnt/project-files/card-37521/pre-claim-report-815e882b.md.
      Serial constraints cleared: none — no open PR touches these files and no issue-37521 branch exists
  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  8. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibxEbSk19qJRPHrm3v9
    os-dev-report

    {
      "issue": 37521,
      "status": "done",
      "branch": "claude/project-thread-4we53e",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38097",
      "session": "session_01L9qibxEbSk19qJRPHrm3v9",
      "premise_still_valid": true,
      "summary": "PR 1 of the seat's two-PR split (body says Part of #37521). The fields README and the FieldEditWidget IN_CELL_PANEL_EDIT_WIDGETS docblock no longer describe a grid without cellSelection opening rich text over the cell for save buttons; the over-the-cell branch is unreachable (editable needs selectFirst and onRowSave, startEdit returns when not editable), so its residue in data-table.tsx is retired: the selectFirst conjuncts on the edit path only (editsBelow, the injected editor's Ctrl/Cmd+Enter, Tab and commitMoves guards, focusSelectionRef = selectFirst, the caret effect) and the Tab-outside-select-first comment. N3: describeUnsavableEditable names GridCellSelectionProvider. N4: handlerKeyRefusal takes an optional retirement remedy (internal helper, default text byte-identical, throws for a runtime slot); onBatchSave refuses with onBatchSave -> onRowSave on object-grid. N5: dead data-table-edit-column-header queries, inlineEditPermissionGate case e (+ headerCellCount), and the defaultBatchSave comment removed. One patch changeset (@object-ui/fields, components, types), Clause-2 no, Metadata-protocol none. PR 2 (five CHANGELOGs + .changeset/pre/35827) waits for this merge, per the claim.",
      "tests": "Base 815e882b, head c6bf4f66. Six touched test files: Test Files 6 passed (6), Tests 499 passed (499). Ablations on the committed fix, each restored with git checkout HEAD, status clean after: warning back to GridCellSelection -> autosave 1 failed | 23 passed (24); onBatchSave back to the generic call -> handler-keys 1 failed | 343 passed (344); helper ignoring the argument -> 2 failed | 342 passed (344); injected editor Tab arm removed -> select-first 1 failed | 38 passed (39); textarea Ctrl/Cmd+Enter arm removed -> 1 failed | 38 passed (39). Package suites components/types/fields/plugin-grid/plugin-form after an OS_SKIP_DTS=1 build: 1796 passed, 6 failed, 2 skipped files; the six are spec-parity tests reading packages/spec/dist/*.d.mts ('no module symbol'), which that build does not write; after a dts build of @object-ui/plugin-grid^... and @object-ui/plugin-form^... those six: Test Files 6 passed (6), Tests 145 passed (145).",
      "gates": "Local subset, exit codes read before any pipe: type-check exit 0 for @object-ui/types, components, fields, plugin-grid, plugin-form; eslint on the ten changed ts/tsx exit 0 (0 errors); check-doc-authoring exit 0; ui check-new-cross-file-line-citations exit 0 (0 new); check-changeset-claims, check-changeset-no-major, check-adr-0087-registration, check-changeset-fixed exit 0; dispatch-gates --tier --repo objectstack-ai/objectstack exit 0 (no mandate, no governed path). dispatch-gates --ran reconciliation NOT run: the derived full gate list was not swept locally; CI check-runs on c6bf4f66 are the record, read by the seat at L1-a.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0 GitHub MCP calls",
      "api_writes": "2 — fleet-write relay pr_create (request fw-20261128T021518Z-c9589c, run 46097150908, read-back identical); this os-dev-report via post-stamped",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: PR 2 of this card · the five published CHANGELOG entries and .changeset/pre/35827-data-table-staged-edit-retired.md still say mount GridCellSelection / inside a GridCellSelection host",
        "carrier: none · noted, not filed · ui/packages/components/src/__tests__/test-utils.tsx renderSelectFirstTable docblock says a select-first host (GridCellSelection), naming the model; outside the claimed surface",
        "carrier: none · noted · handler-keys-json-refusal-6124.test.ts (the shared handlerKeyRefusal harness) is in the diff because its per-site guidance assertion had to learn the own-remedy case; the claim named the shared harnesses for new pins"
      ]
    }
  9. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim amendment (file surface), for PR #38097 at c6bf4f6: added handler-keys-json-refusal-6124.test.ts. It is handlerKeyRefusal's shared harness: its per-site text assertions learn the carries-its-own-remedy case, and the new pin lives there. Clause-② no, Metadata-protocol none and patch levels are unchanged.

  10. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibxEbSk19qJRPHrm3v9
    os-dev-report

    {
      "issue": 37521,
      "status": "done",
      "branch": "claude/project-thread-4we53e",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38129",
      "session": "session_01L9qibxEbSk19qJRPHrm3v9",
      "premise_still_valid": true,
      "summary": "PR 2 of the seat's split, docs-only, Fixes #37521, branch restarted from origin/main 079edad0 after PR 1 (#38097) merged. The #35827 note's migration table, two rows, now names GridCellSelectionProvider (the mountable component) where it said GridCellSelection (the context value type): in the five published CHANGELOG entries (spec, app-shell, components, plugin-grid, types) and in the consumed .changeset/pre/35827-data-table-staged-edit-retired.md, byte-equal bar indent. Declared as a DELIBERATE CORRECTION in the PR body with before/after sentences; no skip-changeset label, so Check Changeset is red by design.",
      "tests": "No code or tests touched. git diff origin/main --stat: 6 files, 12 insertions, 12 deletions, two lines per file; each corrected row identical across the six copies apart from the CHANGELOG indent.",
      "gates": "Docs-only diff; no local gate run beyond the diff read. CI on a2ef0114 is the record; Check Changeset red by design (existing changeset changed, none added).",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0 GitHub MCP calls",
      "api_writes": "2 — fleet-write relay pr_create (fw-20261128T032113Z-31bfce, run 46102446021, read-back identical); this os-dev-report via post-stamped",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted · the note's opening sentence 'edits only inside a select-first host (`GridCellSelection`)' names the model and is left; the claim named the two migration-table rows"
      ]
    }
  11. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
    2026-11-28T10:08Z · 收口:PR #38097 与 #38129 都已合入(#38129 于 10:07Z),本卡已关;去掉 pm:dispatched。

  12. removed
    pm:dispatched
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions