Repository navigation
docs(grid): scope the rich text cell panel wording to the select-first grid - #36414
Conversation
…t grid The plugin-grid and fields READMEs, the plugin-grid docs page, the IN_CELL_PANEL_EDIT_WIDGETS jsdoc and the pending rich-text changeset's "Before" line now name the select-first grid (cellSelection) for the panel and its keys, and say what a grid without cellSelection does. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTqAcPU4VyEPH7iVn2
…mpty)"
GroupRowProps.label and the temporalCellFace doc comment still said an
empty group key is labelled "(empty)"; the heading is the grid's
empty-value string grid.empty ("Empty" in English).
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jTqAcPU4VyEPH7iVn2
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTqAcPU4VyEPH7iVn2 Final green head · area f7-docs · 2026-11-22T11:12Z |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jSpi3g1dQNTvN6zEuH 席位核对L1 (L1-e) on head DELIBERATE CORRECTION of
Checklist
|
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTqAcPU4VyEPH7iVn2 Landing · area f7-docs · 2026-11-22T11:19Z
State: ready + auto-merge into the merge queue. |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC Landing (seat 7, 2026-11-22T11:20Z): head |
Requested by Steedos · project thread
Fixes #36360
Part of #35155 (item 3 only, the two "(empty)" doc comments; items 1-2 stay on that card)
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Text only, no code or behaviour change. Each text that described the rich-text cell panel now names the select-first grid (
cellSelection) for the panel and its keys, and says in one sentence what a grid withoutcellSelectiondoes:ui/packages/plugin-grid/README.md(ships in the npm tarball): panel sentence scoped; adds the non-select-first sentence.ui/packages/fields/README.md(ships): same.content/docs/frontend/plugins/plugin-grid.mdx: panel sentence scoped (its keys sentence already was); adds the non-select-first sentence.ui/packages/fields/src/FieldEditWidget.tsx: jsdoc onIN_CELL_PANEL_EDIT_WIDGETSonly..changeset/36023-rich-text-cell-panel.md(pending, not yet consumed by a release): the "Before" line now says the "This field can't be edited in a list" notice was the select-first grid's..changeset/36360-rich-text-panel-wording.md: new patch note for the two published READMEs.GroupRowProps.labelinui/packages/plugin-grid/src/GroupRow.tsxand the doc comment inui/packages/plugin-grid/src/temporalCellFace.tsnow say an empty group key is labelled with the grid'sgrid.emptystring ("Empty" in English,useGroupedData.tsemptyLabel = t('grid.empty')), not "(empty)". Comments only.DELIBERATE CORRECTION of the pending note
.changeset/36023-rich-text-cell-panel.md(Check Changeset's foreign-changeset rule stays red by design). Corrected sentence: "Before, these cells opened no editor; on a select-first grid the cell said "This field can't be edited in a list"." Reason: the notice comes fromcellSelection.describeCell, which only a select-first grid has (factsOfindata-table.tsx).Every clause was measured in
ui/packages/components/src/renderers/complex/data-table.tsxat the base:editsBelow = isEditing && selectFirst && editorBelow, elseplacement: 'cover'(over the cell);onClickcallsstartEditundersingleClickEdit, whichObjectGriddefaults totrue;selectFirst && (ctrlKey || metaKey);exitEdit(true)on both hosts;pointerdownlistener callssaveEdit(true), which stages; withoutautosaves(selectFirst && onRowSave) the staged value waits for the save bar (hasPendingChanges && !autosaves).Tests
No tested behaviour changed, so no tests and no ablation.
Acceptance notes
autosaves(selectFirstplusonRowSave); a select-first grid wired withonBatchSavealone keeps the save bar. Not changed here (outside the card's wording); noted only.Verification
Two-minute check:
git diff origin/main...HEAD -- ui/packages/plugin-grid/README.mdshows the panel bullet now opening "on a select-first grid (cellSelection)" and a second sentence for a grid without it.Files to read first:
ui/packages/plugin-grid/README.md(published),.changeset/36023-rich-text-cell-panel.md(the corrected pending note).Local gates at 83d66cf
dispatch-gates --commandsderived 66 commands; 59 exit 0.check-empty-changeset --base origin/mainexit 1: the expected DELIBERATE CORRECTION refusal above.dist/, shared verify lock contended):check:doc-formula-expressions(3),check:doc-security-posture(3), speccheck:docs(1), speccheck:skill-examples(3),check:docs-transcript-drift(3),pnpm --dir ui exec vitest run scripts/(all 56 failures import the unbuilt@objectstack/specdist). CI builds and runs them.overlap-check: VERDICT clean exit 0 (feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357, feat(automation): the stage confirms name the flows a move would start (#35928) #36316 merge cleanly).check-nul-bytes: OK.🤖 Generated with Claude Code
https://claude.ai/code/session_01QsR2jTqAcPU4VyEPH7iVn2