Skip to content

Commit 7a7ab47

Browse files
fix(record-page): an all-empty field group is counted and revealed by Show empty fields (#36824)
<!-- claude-projects-attribution: {"github_login":"os-support-ai"} --> _Requested by **Yibo Wang** · [project thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBTDAJKyXUan6fJCKsZUf5Pv)_ Fixes #36593 repo:objectstack#3 · os-support-ai · session_01WGufziG2t1d9cfRQJDrHkB Clause-②: no Metadata-protocol: semantic Skills-docs: none — no file under skills/ teaches `hideEmpty` (git grep at 2b334bf: zero hits) ## 维护者速读 - 用户在记录页(侧边预览、手机、宽屏左栏)阅读记录时:所有字段都为空的分组,以前整组消失,「显示 N 个空字段」不计入它,也点不出来;现在它会被计入,点开后整组连同标题出现在原位。没点开前,页面与现在一样紧凑。作者在页面配置里明确设为「全空时隐藏」的分区也一样:不再无条件隐藏,而是让位于读者的「显示空字段」选择。这一点对记录详情块和详情视图里的分区都成立,不只是默认记录页上对象自己声明的分组。 - 为什么做:「记录页空字段统一收进末尾一行」的规则漏掉了全空分组,和已修好的「更多详情」分组是同一个问题。默认记录页上这些分组的隐藏,和作者手写的隐藏在页面上分不开,所以按已定的处理路线,两者都改为「只在读者隐藏空字段时才隐藏」。 - 出错会怎样:最坏情况是读者打开「显示空字段」后,多看到作者原本要隐藏的全空分区;没有记住的显示选择时它照旧隐藏;打印页和编辑模式不变。可直接撤回此提交。 - 要你做什么:无。 ## What changes A `record:details` section's `hideEmpty` now hides an all-empty section **only while the reader hides empty fields**. This is the seat's route on #36593 (claim amendment comment 7118947910, a route call, not a maintainer ruling). The same reading applies to an authored `hideEmpty: true` and to the renderer default (an omitted key), because the default record page writes each declared field group as a `{ group }` reference with no `hideEmpty`, `record:details` fills in `true`, and nothing downstream can tell the two apart. - `ui/packages/plugin-detail/src/DetailSection.tsx`: the all-empty hide now also requires the reader not to be showing empty fields (`readerShowsEmpty`: on the field list, the list's 「显示 N 个空字段」 state; elsewhere, the per-object choice a section's own toggle writes). A print page never counts as showing, so paper keeps the hide. On the field list the section's empty fields are reported to the row whether or not `hideEmpty` is on, so N counts them before the press. - `packages/spec/src/ui/component.zod.ts`: the `hideEmpty` describe on the `record:details` section entry states the new reading, plus a TSDoc paragraph. The accept set is unchanged: still an optional boolean. `content/docs/references/ui/component.mdx` is regenerated from it. - `EmptySectionsFold.tsx` is not changed: the field list's count lives in `DetailSection` (`useReportEmptyFields`). **What an all-empty group shows before the button is pressed: nothing, not even its heading.** Reason: the page stays as compact as it is today, and the button is the reader's explicit ask. Every all-empty group on the field list already draws nothing until shown (the field-list ruling on #36147, item 4: one row at the end of the field area). A group with at least one value draws exactly as before. Edit mode is unchanged and draws every field as an input. Files to read first, by risk: 1. `ui/packages/plugin-detail/src/DetailSection.tsx`, the `readerShowsEmpty` / `hideAllEmptySection` hunk and the `useReportEmptyFields` line. 2. `packages/spec/src/ui/component.zod.ts`, the `hideEmpty` describe. 3. `ui/packages/plugin-detail/src/__tests__/DetailSection.fieldList-36147.test.tsx`, the new `objectstack#36593` describe and the flipped item-5 pin. ## Tests New pins, as a top-level describe in the existing field-list harness `DetailSection.fieldList-36147.test.tsx`, drawn through `buildDefaultPageSchema`'s `record:details` node, the real renderer and `RecordPageColumns`: - the default page's declared group (renderer default, firing control: its reference carries no `hideEmpty`) is counted (phone + street + city = 3), draws nothing before the press, draws heading and both fields after it, and leaves again when the row is pressed again; - an authored `hideEmpty: true` group is counted (3) and drawn by the row the same way; - CONTROL: a group with a value draws before any press and only its empty field is counted (2). Pins this route flips on purpose (rewritten to the new reading, the old title kept in a comment above each): - `DetailSection.fieldList-36147.test.tsx` › "an authored all-empty hide is not the reader’s to undo, and is not counted" → "an all-empty `hideEmpty: true` group is counted, and drawn once the reader shows empty fields". - `DetailSection.emptyFieldsRemembered-25883.test.tsx` › "a remembered choice does not undo an authored `hideEmpty: true` on an all-empty section" → "a remembered choice reveals an authored `hideEmpty: true` all-empty section, and choosing to hide hides it again" (docblock item 6 rewritten the same way). Not flipped, still green: `record-details.hideEmptyRetired-7129` (4/4 asserts the hide with no reader choice), `record-details.emptySectionDefault`, `DetailSection.allEmptyFold-13386`, `detailSectionAuthoredHideEmpty-10485`, and `detailSectionPrintEmptyToggle-12717` (print keeps the hide). Ablation, one run at head 2b334bf, under the verify lock: `DetailSection.tsx` restored to `origin/main` 4c93f88 (marker `readerShowsEmpty` counted 0 on disk): the two harness files go red, 4 failed / 31 passed (the three new non-control pins plus the two flipped ones fail, the control passes). Restored to `HEAD` (marker count 2, `git diff HEAD` 0 bytes, blob 8c81114 equal to the `HEAD` blob): 35/35 passed. These are relative imports, so no rebuild sits between the edit and the run. <details><summary>Test readings</summary> - `pnpm --dir ui exec vitest run packages/plugin-detail/src/` at a2cbc99 (the code commit; later commits add only the changeset and the regenerated reference), under the verify lock → Test Files 416 passed, 1 skipped (417); Tests 3916 passed, 18 skipped. VERDICT command-exit 0. - `pnpm --filter @object-ui/plugin-detail run type-check` (both `tsc --noEmit` and `tsc -p tsconfig.test.json`) at 2b334bf → exit 0. - `record-details.emptySectionDefault` + `record-details.hideEmptyRetired-7129` after the spec rebuild, at 2b334bf → 2 files, 11 tests passed. - `pnpm --filter @objectstack/spec build && check:generated` → `check:docs` stale; after `gen:docs`: "All 14 generated artifacts are up to date", exit 0. </details> ## Acceptance notes - The strip fallback (a synthesized page whose strip cannot be laid out, `EmptySectionsLine`) is covered only in part: such a group is revealed when the reader expands the empty-sections line (the same per-object choice), but it is not named or counted in that line, because `isFoldableEmptySection` still skips `hideEmpty: true` sections. Changing that would change what the page draws with the toggle off, which this route rules out. - The `record:details` `inputs` description in `ui/packages/plugin-detail/src/index.tsx`, and `content/docs/ui/components/record.mdx` generated from it, still read "a section whose fields are every one of them empty renders nothing at all". Both are outside this card's file surface; the seat can carry the wording follow-up. ## Verification Two-minute check: open the default record page of an object whose declared field group is all empty on one record (showcase `client_brief`, group 「Internal Only」 with `internal_notes` and `deal_value` empty), in read mode. The 「显示 N 个空字段」 row counts the two fields; press it and the 「Internal Only」 heading appears with both fields under it. Browser readings before and after, at phone and desktop widths, follow in a PR comment. <details><summary>Local gate readings (derived families at 2b334bf)</summary> `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` → 117 commands, plus the two test/type-check lines above: 116 exit 0. Three exited 3 (prerequisite not met, nothing measured), so locally they read NOT MEASURED and CI runs them: - `node scripts/check-plugin-teardown-shape.mjs --self-test`: its positive control is pinned to a commit this shallow checkout cannot reach. - `pnpm --filter @objectstack/spec run check:skill-examples`: needs `@objectstack/client-react` built with declarations. - `pnpm check:dual-build-cjs-loads`: needs a full `pnpm build`. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01WGufziG2t1d9cfRQJDrHkB)_ <!-- signed: repo:objectstack#3 · os-support-ai · session_01WGufziG2t1d9cfRQJDrHkB --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5c2e34c commit 7a7ab47

13 files changed

Lines changed: 223 additions & 29 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
'@objectstack/spec': minor
3+
'@object-ui/plugin-detail': minor
4+
'@object-ui/types': minor
5+
---
6+
7+
fix(record-page): a field group whose fields are all empty is counted and revealed by "Show N empty fields"
8+
9+
Clause-②: no
10+
Metadata-protocol: semantic
11+
12+
On an object's default record page, a field group the object declares (`fieldGroups`) no longer disappears for good when every one of its fields is empty. Before, read mode drew nothing for such a group, the field list's closing "Show N empty fields" row left its fields out of the count, and pressing the row did not draw them; they appeared only in edit mode. Now the row counts them, and pressing it draws the group in its place, heading and fields. With the row not pressed the page looks as before: an all-empty group draws nothing, not even its heading.
13+
14+
What changed is the meaning of a `record:details` section's `hideEmpty` in read mode: it now hides an all-empty section only while the reader hides empty fields. This holds for an authored `hideEmpty: true` and for the renderer default (an omitted `hideEmpty`), which the default page's declared groups carry. When the reader shows empty fields, through the field list's row or the per-object choice a section's own "Show N empty fields" toggle writes, the section draws like any kept all-empty section. A print page has no toggle and keeps the section hidden. Edit mode is unchanged and still draws every field as an input. A group with at least one value draws exactly as before. An authored `hideEmpty: true` on a `detail-view` section gives way to the reader in the same way: it draws once the reader's remembered per-object choice is to show empty fields. Outside the field list, with no remembered choice (no host preference store, or no object name), the section stays hidden as before. This supersedes the line in the pending `36147-record-field-list` changeset that says an authored `hideEmpty` group "stays hidden and is not counted": on the record page's field list such a group is now counted by the one "Show N empty fields" row and drawn when the reader shows empty fields.
15+
16+
The accepted keys and values are unchanged: `hideEmpty` is still an optional boolean. Its `describe()` in `@objectstack/spec`, the `DetailViewSection` and `record:details` section docs and the `views.zod` describe in `@object-ui/types`, and the `record:details` and `detail-section` input descriptions in `@object-ui/plugin-detail` state the new reading.

‎content/docs/references/ui/component.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,7 @@ An any-of group: `{ or: [rule, ...] }` matches a record when ANY of its rules ma
17651765
| **columns** | `integer` | optional | Field-grid columns for this section (1-4). Omitted → the renderer derives the width. |
17661766
| **group** | `string` | optional | Field group key (snake_case) whose members and presentation this section inherits, from the object's `fieldGroups` (ADR-0085 §5 `deriveFieldGroupLayout`). Mutually exclusive with `fields`, and with every key the group itself declares (`name`, `label`, `icon`, `description`, `collapsible`, `defaultCollapsed`). Must name a declared group — checked by reference diagnostics. |
17671767
| **fields** | `string[]` | optional | Field names rendered in this section, in order. Omit only when `group` supplies the members instead. |
1768-
| **hideEmpty** | `boolean` | optional | Whether this section disappears when ALL its fields are empty (renderer default: on — it then renders nothing at all: no heading, no skeleton). Set `false` to keep it on an all-empty record (e.g. a brand-new one): in read-only mode the details body names it in the one line that closes the body, beside every other all-empty section kept this way, and expanding that line renders each in its place as its heading plus one fold row that counts the empty fields and reveals them on request — the same fold a partly-filled section uses; in edit mode it renders every field as an editable row. |
1768+
| **hideEmpty** | `boolean` | optional | Whether this section disappears when ALL its fields are empty (renderer default: on — it then renders nothing at all: no heading, no skeleton). It is hidden while the reader hides empty fields: its empty fields are counted by the empty-fields toggle that ends the record page's field list, and showing empty fields there, or a remembered per-object choice to show them elsewhere, draws the section in its place (outside the field list with no remembered choice it stays hidden), the same for an authored `true` and the default; a print page keeps it hidden. Set `false` to keep it on an all-empty record (e.g. a brand-new one): in read-only mode the details body names it in the one line that closes the body, beside every other all-empty section kept this way, and expanding that line renders each in its place as its heading plus one fold row that counts the empty fields and reveals them on request — the same fold a partly-filled section uses; in edit mode it renders every field as an editable row. |
17691769
| **collapsible** | `boolean` | optional | Render this section as a collapsible card — the heading becomes a chevron toggle, initially expanded (renderer default: off). |
17701770
| **showBorder** | `boolean` | optional | Draw this section's card chrome (renderer default: derived — on for a titled section, off for an untitled one). Set `false` for a borderless titled section, or `true` for a bordered untitled one. |
17711771
| **defaultCollapsed** | `boolean` | optional | Start a `collapsible: true` section collapsed (renderer default: expanded). Consulted only when `collapsible` is on — a non-collapsible section never reads its collapse state. |

‎content/docs/ui/components/record.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Namespace `record`.
5454
| Input | Type | Required | Description |
5555
| :--- | :--- | :--- | :--- |
5656
| `columns` | `enum`: `1`, `2`, `3`, `4` | | Number of columns for field layout (1-4) |
57-
| `sections` | `array` of `object` | | Field groups rendered as the detail body, in order. Every entry is an OBJECT — `{ name?, label?, columns?, fields }` — a bare section-id string is NOT accepted (the spec retired that spelling in objectstack#5611, and the renderer reads name/label/fields off each entry, so a string entry renders no fields at all). `fields` are the field names shown in this section, in order — required unless `group` supplies the members instead (the spec refuses a section carrying neither, and refuses one carrying both). `label` is the section heading; omit it for an untitled, borderless section. `name` is a stable snake_case identifier and the i18n anchor — the heading resolves through objects.\<object>._sections.\<name>.label, so a section without a name shows its authored label in every locale. `columns` (1-4) is THIS section's field-grid width; omit it and the renderer derives the width. Authoring `sections` at all makes it the only source of the detail body; omit it and the body falls back to the object's highlightFields. @objectstack/spec 17.3.0 declares eight more member keys on an entry, and this renderer honours all eight: `icon` (a Lucide name on the section header), `description` (sub-heading copy under the heading), `collapsible` and `defaultCollapsed` (a foldable section and its initial state), `showBorder` (force the Card wrapper on or off, overriding the heading-derived default) and `headerColor` (a header tint from the shared palette) through DetailSection, plus `group` — the ADR-0085 §5 REFERENCE form, the alternative to enumerating `fields`. `{ group: 'contact_info' }` inherits the object's `fieldGroups` entry with that key: its members (the group's own `fields` list in its order, then every other visible field whose `group` names it, in declaration order), its presentation (label, icon, description, collapse) and its `visibleWhen` all come from the group, so the section restates none of it — the predicate is evaluated against the bound record exactly as the entry form evaluates it, and a group it hides renders nothing (a `visibleWhen` written on a section itself is refused by the spec and not read: gate the group and reference it) and the spec refuses those keys beside `group`; `columns`, `showBorder` and `headerColor` stay yours because they are how THIS page lays the section out. A `group` naming no declared group renders nothing and is reported to the console (`@objectstack/lint` flags it as `page-section-group-unknown`). `hideEmpty` is the eighth, and it decides whether an ALL-empty section exists: it defaults to on, so a section whose fields are every one of them empty renders nothing at all — no heading, no skeleton — and `hideEmpty: false` is the spelling that keeps the section on a brand-new record: in read-only mode named in the one line that closes the body, beside every other all-empty section kept this way, and expanding that line draws each in its place as its heading plus one fold row that counts the empty fields and reveals them on request (the same fold a partly-filled section uses, objectui#13386), in edit mode as every field an editable row. It decides ONLY the all-empty case; the empty rows of a section that still has a filled one belong to DetailSection's auto-hide heuristic plus the reader's show-empty toggle, which no authored value overrides in either polarity (objectui#7129 Q2-C), and inline-edit mode renders the section either way so its fields stay reachable. Restored under objectui#8603 (maintainer 2026-09-15) after objectui#7129 retired it on the premise, since falsified upstream, that the spec refused the key. None of the eight has a designer control yet; they are authorable in source mode only, tracked as a deferred feature. @objectstack/spec 18 declares a ninth, `count` (`{ field }`): the renderer fills the heading's `{{ count }}` hole with how many values that multi-value field holds on the current record — `{ name: 'tagging', label: '{{ count }} tags', count: { field: 'tags' }, fields: ['tags'] }` reads `3 tags` when three are selected. An absent or empty value counts 0; `count` changes only the heading, never whether the section renders, so with `hideEmpty` on an all-empty section is still absent. The hole is filled after the heading is translated, so each locale of an inline label map and a translated objects.\<object>._sections.\<name>.label write the same `{{ count }}`. The spec refuses `count` beside `group`, on a section with no `label`, and on a label with no hole; a heading on a section without `count` prints as written. Like the eight, `count` has no designer control yet. |
57+
| `sections` | `array` of `object` | | Field groups rendered as the detail body, in order. Every entry is an OBJECT — `{ name?, label?, columns?, fields }` — a bare section-id string is NOT accepted (the spec retired that spelling in objectstack#5611, and the renderer reads name/label/fields off each entry, so a string entry renders no fields at all). `fields` are the field names shown in this section, in order — required unless `group` supplies the members instead (the spec refuses a section carrying neither, and refuses one carrying both). `label` is the section heading; omit it for an untitled, borderless section. `name` is a stable snake_case identifier and the i18n anchor — the heading resolves through objects.\<object>._sections.\<name>.label, so a section without a name shows its authored label in every locale. `columns` (1-4) is THIS section's field-grid width; omit it and the renderer derives the width. Authoring `sections` at all makes it the only source of the detail body; omit it and the body falls back to the object's highlightFields. @objectstack/spec 17.3.0 declares eight more member keys on an entry, and this renderer honours all eight: `icon` (a Lucide name on the section header), `description` (sub-heading copy under the heading), `collapsible` and `defaultCollapsed` (a foldable section and its initial state), `showBorder` (force the Card wrapper on or off, overriding the heading-derived default) and `headerColor` (a header tint from the shared palette) through DetailSection, plus `group` — the ADR-0085 §5 REFERENCE form, the alternative to enumerating `fields`. `{ group: 'contact_info' }` inherits the object's `fieldGroups` entry with that key: its members (the group's own `fields` list in its order, then every other visible field whose `group` names it, in declaration order), its presentation (label, icon, description, collapse) and its `visibleWhen` all come from the group, so the section restates none of it — the predicate is evaluated against the bound record exactly as the entry form evaluates it, and a group it hides renders nothing (a `visibleWhen` written on a section itself is refused by the spec and not read: gate the group and reference it) and the spec refuses those keys beside `group`; `columns`, `showBorder` and `headerColor` stay yours because they are how THIS page lays the section out. A `group` naming no declared group renders nothing and is reported to the console (`@objectstack/lint` flags it as `page-section-group-unknown`). `hideEmpty` is the eighth, and it decides whether an ALL-empty section exists: it defaults to on, so a section whose fields are every one of them empty renders nothing at all — no heading, no skeleton — but only while the reader hides empty fields: on the record page's field list the one `Show N empty fields` row still counts its fields and showing them draws the section in its place, elsewhere it draws once the reader's remembered per-object choice is to show empty fields (with no remembered choice it stays hidden), and a print page keeps it hidden; this holds for an authored `true` and for the default alike. `hideEmpty: false` is the spelling that keeps the section on a brand-new record: in read-only mode named in the one line that closes the body, beside every other all-empty section kept this way, and expanding that line draws each in its place as its heading plus one fold row that counts the empty fields and reveals them on request (the same fold a partly-filled section uses, objectui#13386), in edit mode as every field an editable row. It decides ONLY the all-empty case; the empty rows of a section that still has a filled one belong to DetailSection's auto-hide heuristic plus the reader's show-empty toggle, which no authored value overrides in either polarity (objectui#7129 Q2-C), and inline-edit mode renders the section either way so its fields stay reachable. Restored under objectui#8603 (maintainer 2026-09-15) after objectui#7129 retired it on the premise, since falsified upstream, that the spec refused the key. None of the eight has a designer control yet; they are authorable in source mode only, tracked as a deferred feature. @objectstack/spec 18 declares a ninth, `count` (`{ field }`): the renderer fills the heading's `{{ count }}` hole with how many values that multi-value field holds on the current record — `{ name: 'tagging', label: '{{ count }} tags', count: { field: 'tags' }, fields: ['tags'] }` reads `3 tags` when three are selected. An absent or empty value counts 0; `count` changes only the heading, never whether the section renders, so with `hideEmpty` on an all-empty section is still absent while the reader hides empty fields, and the show-empty toggle counts and reveals it like any other. The hole is filled after the heading is translated, so each locale of an inline label map and a translated objects.\<object>._sections.\<name>.label write the same `{{ count }}`. The spec refuses `count` beside `group`, on a section with no `label`, and on a label with no hole; a heading on a section without `count` prints as written. Like the eight, `count` has no designer control yet. |
5858
| `fields` | `array` of `string` | | Explicit field list (overrides highlightFields) |
5959
| `hideFields` | `array` of `string` | | Field names to omit from the body — applied to the top-level `fields` list AND to every section's `fields`. Bare field names only. Authors rarely need it: the default record page sets none and draws no highlight strip, and a page that places a `record:highlights` block gets the fields of that block dropped from the body live through HighlightFieldsContext, so its purpose is suppressing a field you do not want repeated (the page H1 title field is dropped for you too). Hiding every field of a section leaves that section out entirely. |
6060
| `inlineEdit` | `boolean` | | Offer the per-field edit affordances in the detail body. On the default record page a click on a value (or its pencil) edits that field alone in place and saves it on Enter or a click elsewhere; on a page an author laid out a double-click (or the pencil) enters the page's whole-record edit session, saved together by its Save bar. On by default, and an OPT-OUT only: the value is combined with the object's own editability (system, engine-owned, append-only and better-auth objects are not user-editable unless they opened userActions.edit) and with the server's effective API operation set for the object, so `false` always wins while `true` cannot open editing the platform refuses. The whole-record session and its atomic Save bar are hosted by the page, so that one draft spans the highlights strip and this body. |

‎packages/spec/src/ui/component.zod.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,8 +1421,13 @@ export const RecordDetailsProps = strictObject({
14211421
* case: a partly-filled section's empty rows follow the renderer's own
14221422
* fold (objectui#7129 Q2-C) in either polarity, so the old lead "hide this
14231423
* section's empty fields" no longer told the two values apart.
1424+
*
1425+
* The hide holds only while the reader hides empty fields (#36593, a seat
1426+
* route): showing them reveals the section, authored `true` or default,
1427+
* and the record page's field list counts its fields in its one toggle.
1428+
* The accept set is unchanged; only the read-mode meaning moved.
14241429
*/
1425-
hideEmpty: z.boolean().optional().describe('Whether this section disappears when ALL its fields are empty (renderer default: on — it then renders nothing at all: no heading, no skeleton). Set `false` to keep it on an all-empty record (e.g. a brand-new one): in read-only mode the details body names it in the one line that closes the body, beside every other all-empty section kept this way, and expanding that line renders each in its place as its heading plus one fold row that counts the empty fields and reveals them on request — the same fold a partly-filled section uses; in edit mode it renders every field as an editable row.'),
1430+
hideEmpty: z.boolean().optional().describe('Whether this section disappears when ALL its fields are empty (renderer default: on — it then renders nothing at all: no heading, no skeleton). It is hidden while the reader hides empty fields: its empty fields are counted by the empty-fields toggle that ends the record page\'s field list, and showing empty fields there, or a remembered per-object choice to show them elsewhere, draws the section in its place (outside the field list with no remembered choice it stays hidden), the same for an authored `true` and the default; a print page keeps it hidden. Set `false` to keep it on an all-empty record (e.g. a brand-new one): in read-only mode the details body names it in the one line that closes the body, beside every other all-empty section kept this way, and expanding that line renders each in its place as its heading plus one fold row that counts the empty fields and reveals them on request — the same fold a partly-filled section uses; in edit mode it renders every field as an editable row.'),
14261431
/** Collapsible card. Initial state is expanded; the toggle is the heading. */
14271432
collapsible: z.boolean().optional().describe('Render this section as a collapsible card — the heading becomes a chevron toggle, initially expanded (renderer default: off).'),
14281433
/** Card chrome; the renderer derives it from the presence of a title. */

‎scripts/sdui-manifest.record.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
],
1414
"source": "built-tree",
1515
"generator": "scripts/gen-sdui-manifest-node.mjs",
16-
"generatedAt": "2026-11-22",
17-
"sha256": "55bd784883a5f29c504d8db6b79f6f843387b9afc09795811ff3cf86a2541031",
16+
"generatedAt": "2026-11-24",
17+
"sha256": "36170a5f0406f280028d3a3825d2f3abda571b1afc58c32321f6de51c511bec2",
1818
"components": 106,
1919
"inTree": {
2020
"modulesRoot": "ui/apps/console",

0 commit comments

Comments
 (0)