Repository navigation
Commit e42520c
docs(changelog): the 35827 note names GridCellSelectionProvider as the host to mount (#38129)
<!-- claude-projects-attribution: {"github_login":"os-tesla"} -->
_Requested by **Tesla** · [project
thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoPm5yqPvuwrjEV9JhFTrVJj)_
Fixes #37521
repo:objectstack#3 · os-tesla · session_01L9qibxEbSk19qJRPHrm3v9
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 是什么:纯文档。#35827 已发布的发版说明里,迁移表有两行叫宿主去挂
`GridCellSelection`,这是类型名,挂不上;改成要挂的组件 `GridCellSelectionProvider`。
- 为什么:PR #38097 已把运行时警告改对,发版说明还写着旧名字,照着做会编译不过。
- 影响谁:只影响读 CHANGELOG 的宿主开发者;没有行为变化,可整体撤回。
- 需要你:无。
## What changes
The migration table of the #35827 note ("the staged editing model is
retired"), two rows, in six copies: the five published `CHANGELOG.md`
entries (`@objectstack/spec`, `@object-ui/app-shell`,
`@object-ui/components`, `@object-ui/plugin-grid`, `@object-ui/types`,
each in its `19.0.0-next` section) and the consumed prerelease changeset
`.changeset/pre/35827-data-table-staged-edit-retired.md`.
- Row `data-table` schema `onBatchSave: (changes) => …`, TO column.
Before: "`onRowSave` inside a `GridCellSelection` host, or render
`object-grid`". After: "`onRowSave` inside a `GridCellSelectionProvider`
host, or render `object-grid`".
- Row "an editable `data-table` with no … host or no `onRowSave`".
Before: "an editable `data-table` with no `GridCellSelection` host or no
`onRowSave` | mount `GridCellSelection` and pass `onRowSave`, or render
`object-grid`; until then it renders read-only and warns". After: "an
editable `data-table` with no `GridCellSelectionProvider` host or no
`onRowSave` | mount `GridCellSelectionProvider` and pass `onRowSave`, or
render `object-grid`; until then it renders read-only and warns".
Nothing else in the note moves. The note's opening sentence, "edits only
inside a select-first host (`GridCellSelection`)", names the model and
is left as written; the other `GridCellSelection` mentions in these
CHANGELOGs name the type's members (`GridCellSelection.confirmCommit`,
`.describeCell`, `referenceCells`) and are correct.
## DELIBERATE CORRECTION
This PR rewrites a released note, the #35827 note, in its consumed
changeset `.changeset/pre/35827-data-table-staged-edit-retired.md` and
in the five CHANGELOG entries compiled from it.
- AGENTS.md *Documentation Guardrails*, `packages/*/CHANGELOG.md` row: a
factual error in a released entry is amended in that entry, in a
dedicated docs-only PR.
- The consumed prerelease copy is changed byte-equal with the CHANGELOG
rows (bar the CHANGELOG's two-space indent), so the stable cut, which
re-applies consumed changesets, prints the corrected rows.
- The corrected sentences are quoted under *What changes* above.
Because the PR changes an existing changeset and adds none, `Check
Changeset` is red by design; it carries no `skip-changeset` label.
## Why
`GridCellSelection` is the context's value type; the component a host
mounts is `GridCellSelectionProvider`, exported from
`@object-ui/components` beside it. PR #38097 (part 1 of #37521)
corrected the runtime warning that said the same thing; this is the
release-text half the card's contract record 7189751333 named.
## Verification
- `git diff origin/main --stat`: 6 files, 12 insertions, 12 deletions,
two lines per file.
- The six copies of each corrected row are identical apart from the
indent (`git diff`).
- `GridCellSelectionProvider` is the exported component name in
`ui/packages/components/src/index.ts` and
`ui/packages/components/src/context/gridCellSelection.tsx`.
## Human Minimum
- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(not touched)
- [x] 2. Every name I added uses the casing for its kind. (no names
added)
- [x] 3. No formatter ran; `pnpm lint` passes. (no code)
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset. (publishes
nothing of its own; corrects a consumed note, see above)
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed. (only its CHANGELOG)
- [ ] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`. — one deliberate
hand edit of a released CHANGELOG entry, the docs-only route AGENTS.md
prescribes for a factual error.
- [x] 8. Title, body and comments are in English. (the 维护者速读 block is
the fleet's maintainer summary)
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01L9qibxEbSk19qJRPHrm3v9
---
_Generated by [Claude
Code](https://claude.ai/code/session_01L9qibxEbSk19qJRPHrm3v9)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent 98bd8de commit e42520c
6 files changed
Lines changed: 12 additions & 12 deletions
File tree
- .changeset/pre
- packages/spec
- ui/packages
- app-shell
- components
- plugin-grid
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
1518 | | - | |
| 1518 | + | |
1519 | 1519 | | |
1520 | | - | |
| 1520 | + | |
1521 | 1521 | | |
1522 | 1522 | | |
1523 | 1523 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
862 | | - | |
| 862 | + | |
863 | 863 | | |
864 | | - | |
| 864 | + | |
865 | 865 | | |
866 | 866 | | |
867 | 867 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments