Skip to content

feat(plugin-detail): declare hideEmpty on the detail-section node (objectui#10485) - #10552

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-10485-detail-section-hideempty-input
Sep 25, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-10485-detail-section-hideempty-input

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #10485
Clause-②: yes

Declares hideEmpty on the detail-section node, following the objectui#9529 ruling (comment 5724939941) that the triage (5828292064) reuses: declare a key the renderer already honours. The registration in packages/plugin-detail/src/index.tsx gains { name: 'hideEmpty', type: 'boolean', description }, and DETAIL_SECTION_NODE_INPUTS gains 'hideEmpty', the same two edits PR objectui#10484 made for icon. DetailSection's hide logic is not touched: it already reads section.hideEmpty === true.

What changed

File Change
packages/plugin-detail/src/index.tsx the detail-section registration gains hideEmpty (boolean). Its description states the node's omitted default. No defaultValue, since no other input of this node carries one
packages/plugin-detail/src/DetailSectionNode.tsx DETAIL_SECTION_NODE_INPUTS gains 'hideEmpty', so the adapter folds it into section. One comment phrase ("a ninth input") made count-free
packages/plugin-detail/src/__tests__/detailSectionAuthoredHideEmpty-10485.test.tsx the new pin, six rows
.changeset/10485-detail-section-declares-hideempty.md minor on @object-ui/plugin-detail. It names the one widened key and carries the Clause-② line

The omitted default: one value for the node, so it is declared, not escalated

The triage asked me to stop if the record:details / detail-view difference turned out to be a real semantic split rather than a default to declare. I measured all three paths on base 0d5d66aee, each with a sibling control section that must render (it rendered every time). The node row comes from the new pin. The other two rows come from a throwaway probe, which is not committed: detail-view through the real SchemaRenderer, record:details through RecordDetailsRenderer.

Surface hideEmpty omitted true false
detail-section node, base keeps heading + skeleton keeps (warned unknown-prop, dropped by the fold) keeps (warned, dropped)
detail-section node, this PR keeps hides (no heading, no skeleton) keeps
detail-view sections keeps hides keeps
record:details sections hides (hideEmpty: s.hideEmpty ?? true on its own authored sections) hides keeps

true and false mean the same thing on all three surfaces. Only record:details gives an omitted key a different meaning, and it does that by applying a default to its own authored sections, which never go through this node. On the node's own path nothing applies a default, and DetailSection checks === true, so an omitted key has one meaning here: keep the section. That is exactly what detail-view does. The description records that default, and nothing about the behaviour changes.

Premises, measured on base 0d5d66aee before the edit

  1. DETAIL_SECTION_NODE_INPUTS lives in DetailSectionNode.tsx, icon is in it, and hideEmpty is not. Held.
  2. The validator warns about an authored hideEmpty. I checked with a manifest built the same way page.tsx builds it: the result was code unknown-prop, message "DETAIL-SECTION has no prop hideEmpty" (the tag name is spelled out to get past the body sanitizer). Held, with one correction to the mechanism. The validator does not drop anything. It only warns at authoring time. The drop happens in the fold: DetailSectionNode sends an undeclared key to hostProps and not to section, and DetailSection ignores that prop. So hideEmpty: true on an all-empty section still drew its heading and skeleton (base: the pin's true row is red with "expected span to be null").
  3. Readers that enumerate node inputs need a new row, as PR objectui#10484 did for icon. Falsified: nothing to update, and PR objectui#10484 did not update them either. Each of the four console readers (registry-inputs-spec-parity, ga-honoured-inputs-author-reach, public-contract, component-input-union-specimens) has 0 hits for detail-section, and they stay green. check:component-surface-parity is report-only and has no pin file. check:sdui-registration-pins pins registration KEYS derived from the sideEffects array. The script never reads inputs, and this diff adds no registration. The in-package readers stay green without changes: the finding(plugin-detail): every detail-section input is a FLAT prop the renderer never reads — DetailSection reads section.* only, and an authored node hands it section === undefined #8626 fold-parity row (sorted, both directions), the finding(plugin-detail): DetailSection renders section.icon, but detail-section's authoring surface declares no icon — one affordance the renderer honours and no author can reach #9529 pin and the detail-section still offers headerColor as a free-form string input, so the SDUI authoring surface invites values the published validator now refuses #6955 pin.
  4. Regeneration: none of sdui.manifest.json, sdui-intrinsics.d.ts or sdui-blocks.md is checked in. git ls-files finds none of them; as a control, the same listing does find gen-manifest.ts. detail-section is also not in public-blocks.ts (0 hits), while record:details is (1 hit). Nothing to regenerate.

The pin: detailSectionAuthoredHideEmpty-10485.test.tsx

Row Base 0d5d66aee Head d0f0649d8
no diagnostic for an authored boolean hideEmpty, in either polarity red: unknown-prop green
judges hideEmpty as a declared BOOLEAN input ('yes' draws type-mismatch naming hideEmpty) red: unknown-prop green
CONTROL: name still draws unknown-prop green green
hideEmpty: true hides an all-empty section. A sibling node, identical except that it has no key, renders its heading and placeholder in the same render red green
hideEmpty: false keeps the heading and the label skeleton green green
an omitted hideEmpty keeps the all-empty section (the declared default) green green

Base: Tests 3 failed | 3 passed (6). Head: Tests 6 passed (6). The last two rows are green on both sides on purpose. They pin the default this PR declares, so a later change of that default shows up as a red row and not as silence.

Ablation: three legs, each proven on disk and restored by blob

Each mutation went through node ../objectstack/scripts/ablation-replace.mjs --delete. The anchor had to hit exactly once, the blob had to change, and the restore is git checkout HEAD -- on an absolute path, verified by blob equality with HEAD and an empty git diff HEAD. The wrapper has its own trap ... EXIT INT TERM, which repeats that verification for both files. All legs ran on the committed implementation d0f0649d8. There is no build between mutation and assertion: the pin imports ../index relatively, and the root vitest.config.mts aliases @object-ui/core, @object-ui/react and @object-ui/sdui-parser to their src. Expected directions were written down before each run, and every leg matched them.

Leg Mutation Landed Red Stayed green Restored
A delete the hideEmpty entry from the registration's inputs anchor 1 to 0, blob bd23f817f to 04615591b both validate rows, #8626 fold parity the name control, all three render rows, the #9529 pin blob bd23f817f equals HEAD, diff empty
B delete 'hideEmpty' from DETAIL_SECTION_NODE_INPUTS anchor 1 to 0, blob d41d873c3 to 637368d62 the true render row, #8626 fold parity both validate rows, the control, the false and omitted rows blob d41d873c3 equals HEAD, diff empty
C (the dispatch's "warned and dropped") both deletions together both as above both validate rows, the true render row the control, #8626 fold parity (the two lists agree again), the false and omitted rows both blobs equal HEAD, diff empty

Legs A and C read Tests 3 failed | 15 passed (18). Leg B read 2 failed | 16 passed (18). All three ran over the #10485, #8626 and #9529 pins.

Verification, at the final head d0f0649d8

What Command Result
package + the four console readers from the repo root: pnpm exec vitest run packages/plugin-detail/ plus the four apps/console/src/__tests__ readers Test Files 212 passed / 1 skipped (213), Tests 2301 passed / 8 skipped (2309). The readers on their own, verbose: Test Files 4 passed (4), Tests 240 passed (240), each file named in the output
dependency closure pnpm exec turbo run build --filter='@object-ui/plugin-detail^...' --concurrency=2 Tasks: 11 successful, 11 total
types pnpm --filter @object-ui/plugin-detail type-check exit 0; tsc -p tsconfig.test.json --listFiles lists the new pin (1 hit)
control bytes pnpm check:control-bytes OK, exit 0
line citations pnpm check:new-line-citations 0 new citation(s), enforcement report-only -> exit 0
changeset node scripts/check-changeset-presence.mjs 3 source file(s) of 1 released package(s) changed, and this change declares 1 changeset(s)
no major node scripts/check-changeset-no-major.mjs No changeset declares a major bump
changeset claims pnpm check:changeset-claims report-only, exit 0. It flags two pending changesets that name packages/plugin-detail/src/index.tsx: 9280-record-highlights-entry-icon-retired.md (the record:highlights fields description) and record-alert-cta-label-i18n-4998.md (record:alert's action). I read both paragraphs and both are still true, because this diff touches neither registration
gates reading these files check:doc-types, check:registry-bare-names, check:icon-record-names, check:test-path-roots, check:pending-changeset-literals, check:vi-mock-specifiers, check:handler-key-reads, check:governed-queue-guard all exit 0. --test on the four paths answers NOT GOVERNED
component-surface parity (report-only) pnpm check:component-surface-parity exit 0. It lists detail-section.hideEmpty as input-outside-keyset, next to eight pre-existing detail-section inputs including icon, for the same reason as those: the gate sees no named read through DetailSectionNode, which folds by iterating the list
NOT MEASURED pnpm check:sdui-registration-pins exit 2, No console build to weigh (it needs a full console build). Left to CI. It reads registration keys, not inputs

Lint is narrowed, and I am declaring the narrowing. eslint --no-inline-config --format json over the three touched source files: 3 files linted, 0 errors. Per-rule counts on the two edited files are equal to base (base read with git show 0d5d66aee:PATH piped to eslint --stdin --stdin-filename PATH): DetailSectionNode.tsx has 1 react-refresh/only-export-components; index.tsx has 29 react-refresh/only-export-components and 2 @typescript-eslint/no-explicit-any. The new pin has 0 messages. The narrowing counts as a measurement because type-aware linting is not enabled: eslint --print-config on index.tsx resolves an empty parserOptions (no project / projectService), so this diff cannot change the verdict on any file outside it. The repo-wide run belongs to CI.

Acceptance notes

  • The node's omitted default is stated, not reopened. The finding(plugin-detail): #7129 retired hideEmpty on the premise that the spec refuses it — the pin moved to spec 17.3.0 six days later and 17.3.0 DECLARES it, with a describe() promising the behaviour this repo removed #8603 design gave the node no default because it was "a section nobody could write the key on". Now the key can be written on the node in both polarities. Whether the node should therefore adopt record:details' hide-by-default is a product question. This PR does not take it up: the card forbids a behaviour change, and the spec's describe() is scoped to record:details. The node matches detail-view, the other non-spec surface.
  • Four texts outside this claim's file surface now describe the node as unable to write the key. Their conclusions still hold: the node keeps its skeleton when the key is omitted, and DetailSection checks === true. Only their premise is out of date. I did not edit them, because they are outside the claimed surface. Each one is quoted by content:
    • DetailSection.tsx, the comment above hideAllEmptySection: "the detail-section node both synthesize one, and neither surface declares hideEmpty". Fix: drop the node from that sentence, or say it declares the key without a default.
    • renderers/record-details.tsx, the comment on hideEmpty: s.hideEmpty ?? true: "Sections nobody can write it on stay out: the direct-fields fallback body below and the detail-section node". Same fix.
    • renderers/__tests__/record-details.emptySectionDefault.test.tsx, the file header: "a section nobody could have written the key on — the direct-fields fallback body, the detail-section node". Same fix.
    • packages/types/src/views.ts, the DetailViewSection.hideEmpty docblock: "This type is consumed by two authorable renderers". The node is now a third one, and it behaves like detail-view (omitted keeps). This is an incomplete list, not a wrong statement about behaviour, and it ships in the .d.ts.
  • A pending changeset states an old count. .changeset/8626-detail-section-authored-node.md is unreleased and says in present tense that the registration "declares eight FLAT inputs". PR objectui#10484 already noted this when icon made the count nine, and it is ten now. I did not edit it, because it is outside the claimed surface.
  • packages/plugin-detail/README.md and content/docs document no input list for detail-section, so no doc line became false. I added none, to stay inside the claimed surface.

Dispatched by the domain:ui seat #1; session https://claude.ai/code/session_01BA3nKVUwKQJf8DBxrSVtNC.


Generated by Claude Code

… (objectui#10485)

`DetailSection` reads `section.hideEmpty === true` (the all-empty hide), but
the `detail-section` registration and `DETAIL_SECTION_NODE_INPUTS` did not
declare it, so an authored `hideEmpty` drew `unknown-prop` and was dropped
before it reached the section.

The registration gains `{ name: 'hideEmpty', type: 'boolean' }` with a
description stating the node's omitted default (keep the all-empty section,
which is what an unauthored node already did), and the fold list gains
`'hideEmpty'`. No change to `DetailSection`'s hide logic.

New pin: detailSectionAuthoredHideEmpty-10485.test.tsx (validate rows, a lit
`name` control, and render rows through the real SchemaRenderer).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BA3nKVUwKQJf8DBxrSVtNC
@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 6 pending changeset(s) describe a file this change touches

Their bodies publish verbatim into the CHANGELOG at the next release, so this is a request to re-read them against your diff — addressed here because you are the one seat that can answer it without re-deriving anything.

⛔ Nothing here blocks, and nothing here is a verdict on your change. This gate exits 0, is not a required context, and judges name resolution, never meaning: it asked whether a pending body names a file you touched. "Is this sentence still true?" is the one question it will not answer, and the one you are being asked to answer.

.changeset/7997-detail-view-related-retired.md

  • names renderers/record-details.tsx → packages/plugin-detail/src/renderers/record-details.tsx — edited by this change

    Why it retired. @objectstack/spec declares no DetailView schema at all — every DetailView occurrence in packages/spec/src is prose about this repo's own RecordDetailView.tsx — so this array mirrored no protocol schema and drifted freely: it declared columns as TableColumn[] while the renderer it fed also accepted bare field names, { field, label } and legacy { name, label } spellings. The axis that carried the ruling was measured zero pull: no application code authored the member, both internal producers of a detail-view node (RecordDetailDrawer, renderers/record-details.tsx) synthesize it without related, and the only in-tree authorings carrying real columns were two documents — both rewritten here.

.changeset/8394-record-page-emptiness-authority.md

  • names DetailSection.tsx → packages/plugin-detail/src/DetailSection.tsx — edited by this change

    The change. hasCellValue — the predicate objectui#8376 measured into existence — moves out of DetailSection.tsx into a small shared module, and every band above reads it. Its scalar answer is @object-ui/core's recordDisplayValueAt, the same authority the H1 uses, rather than a fifth hand-written test.

.changeset/8400-kanban-name-field-skip-set.md

  • names record-details.tsx → packages/plugin-detail/src/renderers/record-details.tsx — edited by this change

    Deliberately one rung, unlike the same dedupe in record-details.tsx, which also carries deriveTitleField: that ladder filters a synthesized field list, whereas this one filters an author-declared cardFields, where dropping a field the author asked for is a worse failure than a repeated title. A regression test pins both directions, including an object whose declared and derived pointers disagree.

.changeset/8649-detail-renderer-undeclared-keys.md

  • names record-details.tsx → packages/plugin-detail/src/renderers/record-details.tsx — edited by this change

    @object-ui/plugin-detail — the annotation-erasing destructure default is gone from three renderers. record-details.tsx, record-highlights.tsx and record-related-list.tsx each annotated schema correctly and then wrote schema = {} as any. A destructuring default's type joins the annotated property type at the binding, so any erased the annotation for every read site in the file — declared keys and undeclared ones alike read any. No published surface moves: the exported annotations were always correct.

.changeset/9280-record-highlights-entry-icon-retired.md

  • names packages/plugin-detail/src/index.tsx → packages/plugin-detail/src/index.tsx — edited by this change

    • packages/types/src/record-components.ts — RecordHighlightsComponentProps.fields[]'s object arm: { name; label?; icon?; type?; readonly? } → { name; label?; type?; readonly? }. The key is removed, not tombstoned: the contract's arm is $strict, so the refusal an author needs already exists upstream and arrives named (invalid_union at the entry). A ?: never tombstone buys nothing here — it is the remedy for a non-strict mirror that would otherwise strip in silence, which is not this arm. - packages/plugin-detail/src/renderers/record-highlights.tsx — the entry normalizer stops copying icon: f?.icon into the normalized entry. That read was unreachable, not merely unused: no author could feed it past the $strict arm, and HeaderHighlight renders no .icon on the far side either, so the copy had no consumer in either direction. - packages/plugin-detail/src/index.tsx — the registry manifest's fields input description sketched the entry as {name,label?,icon?,type?,readonly?} → {name,label?,type?,readonly?}. The inputs ARE the published contract (gen-manifest.ts serializes them into sdui.manifest.json and sdui-intrinsics.d.ts), so leaving the sketch standing would have gone on teaching AI and human authors a key that gets the whole document refused at publish.

.changeset/record-alert-cta-label-i18n-4998.md

Read the paragraph, not the line: both false halves of the objectui#8617 claim sat in one paragraph, and correcting either alone would have left it asserting the same wrong thing.

If a claim did go false, correct the body. That is precedented and prose-only, frontmatter untouched; check-changeset-overwrite.mjs will report the correction as its own case 2 ("correcting a declaration on purpose … legitimate"), which is the intended shape — one gate asks for the read, the other records the write.

Not covered, stated so nobody reads this as more: a born-false claim that spells no line address at all (objectui#9495 coordinated one by ORDINAL — "a grep finds that member first" — and deciding that means reading what the sentence means), a claim spelled as a symbol or a package rather than a backticked file name, and a file named ambiguously.

Compared the checked-out tree with 2ad36717b (merge-base with origin/main): 6 file(s) changed outside .changeset/, read against 1438 pending declaration(s) that publish a body (2020 pending in total). · run

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3046.3 KB 3104.5 KB
Main entry chunk (gzip) 147.8 KB 350 KB
Entry file index-BtnxGVyS.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.68KB 6.20KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.52KB 3.45KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.13KB 7.95KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 545.50KB 130.49KB
core (index.js) 9.22KB 3.71KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 223.91KB 62.28KB
fields (index.js) 257.41KB 65.16KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.24KB 2.27KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.40KB 12.91KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 39.28KB 11.09KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.01KB 3.93KB
plugin-calendar (index.js) 51.38KB 14.60KB
plugin-charts (index.js) 74.95KB 20.88KB
plugin-chatbot (index.js) 198.36KB 47.20KB
plugin-dashboard (index.js) 133.50KB 35.37KB
plugin-designer (index.js) 216.25KB 44.39KB
plugin-detail (index.js) 232.59KB 61.50KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 146.50KB 37.51KB
plugin-gantt (index.js) 169.64KB 41.92KB
plugin-grid (index.js) 215.37KB 58.92KB
plugin-kanban (index.js) 49.30KB 15.39KB
plugin-list (index.js) 114.55KB 28.29KB
plugin-map (index.js) 23.82KB 7.42KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.55KB 11.99KB
plugin-timeline (index.js) 30.64KB 8.94KB
plugin-tree (index.js) 10.52KB 3.69KB
plugin-view (index.js) 87.31KB 21.78KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 114.58KB 37.60KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.03KB 1.86KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.78KB 2.09KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.78KB 2.56KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 18.27KB 6.20KB
types (ai.js) 4.11KB 2.06KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 17.15KB 6.32KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

…tail-section node (objectui#10485)

Prose only; no code or assertion changes.

- `.changeset/8626-detail-section-authored-node.md` (pending, same release):
  append an in-release paragraph. The registration now declares ten flat
  inputs (the eight plus `icon` and `hideEmpty`). Frontmatter untouched, no
  line deleted.
- The comments in `DetailSection.tsx` (above `hideAllEmptySection`) and
  `renderers/record-details.tsx` (on `hideEmpty: s.hideEmpty ?? true`), and
  the header of `record-details.emptySectionDefault.test.tsx`: the
  `detail-section` node now declares `hideEmpty` and resolves no default. So
  an omitted key still keeps the skeleton there; only the premise changed,
  and the conclusion stands.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BA3nKVUwKQJf8DBxrSVtNC
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3046.3 KB 3104.5 KB
Main entry chunk (gzip) 147.8 KB 350 KB
Entry file index-BtnxGVyS.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.68KB 6.20KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.52KB 3.45KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.13KB 7.95KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 545.50KB 130.49KB
core (index.js) 9.22KB 3.71KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 223.91KB 62.28KB
fields (index.js) 257.41KB 65.16KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.24KB 2.27KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.40KB 12.91KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 39.28KB 11.09KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.01KB 3.93KB
plugin-calendar (index.js) 51.38KB 14.60KB
plugin-charts (index.js) 74.95KB 20.88KB
plugin-chatbot (index.js) 198.36KB 47.20KB
plugin-dashboard (index.js) 133.50KB 35.37KB
plugin-designer (index.js) 216.25KB 44.39KB
plugin-detail (index.js) 232.59KB 61.50KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 146.50KB 37.51KB
plugin-gantt (index.js) 169.64KB 41.92KB
plugin-grid (index.js) 215.37KB 58.92KB
plugin-kanban (index.js) 49.30KB 15.39KB
plugin-list (index.js) 114.55KB 28.29KB
plugin-map (index.js) 23.82KB 7.42KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.55KB 11.99KB
plugin-timeline (index.js) 30.64KB 8.94KB
plugin-tree (index.js) 10.52KB 3.69KB
plugin-view (index.js) 87.31KB 21.78KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 114.58KB 37.60KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.03KB 1.86KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.78KB 2.09KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.78KB 2.56KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 18.27KB 6.20KB
types (ai.js) 4.11KB 2.06KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 17.15KB 6.32KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review September 25, 2026 08:47
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Sep 25, 2026
Merged via the queue into main with commit 9cbe4db Sep 25, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-10485-detail-section-hideempty-input branch September 25, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant