Skip to content

fix(plugin-dashboard,plugin-designer): the 22 slot-entry and chart-producer reads compile without BaseSchema's index signature (objectui#11598) - #11599

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-11598-dashboard-reads-off-signature
Oct 4, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-11598-dashboard-reads-off-signature

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #11598

Clause-②: no

The plugin-dashboard and plugin-designer half that the removal of BaseSchema's index signature (objectui#8347) needs first. The 22 source reads that compiled only through that signature now compile without it, and the signature is still present. Two commits, one per class, so they read apart: 921e56cc (N1) and d6da79f6 (N2). The parent objectui#8347 stays open; this PR only clears its Blocked-by:.

N1: the chart producers' render keys (seat ruling B)

  • New packages/plugin-dashboard/src/chartRenderHandoff.ts declares DashboardChartRenderSchema: ChartSchema plus colors?: string[] and isAnimationActive?: boolean. Its header follows plugin-timeline's renderHandoff.ts (the objectui#6356 ruling, Q1 = A). It is not exported from the package index (the built dist/index.d.ts names it 0 times) and is not added to @object-ui/types.
  • DashboardRenderer and DashboardGridLayout build the static-data chart node as a const annotated with the hand-off. That annotation excess-checks the literal against it. The node is then returned to SchemaRenderer with no cast. Nothing drawn changes.
  • H3 holds; the consumer side needs nothing. ChartRenderer (packages/plugin-charts/src/ChartRenderer.tsx) declares both keys on its own props type (ChartRendererProps.schema: colors?: string[], isAnimationActive?: boolean) and reads schema.colors and schema.isAnimationActive with no cast. The registered chart component receives the node as schema, typed by that props type, not by ChartSchema. The new test pins the hand-off's two key types as assignable to React.ComponentProps of ChartRenderer's schema.

N2: widget keys read off the slot entry (seat ruling A, premised)

  • Premise checked first, and it holds (evidence below): no authored document carries a widget-arm key on a metric-card entry.
  • Both surfaces now decide the slot-component passthrough before reading any widget key: if (isSlotComponentEntry(widget)) return toDashboardNodeType({ ...widget }). Below that line widget is the widget arm, so options, chartConfig, filter, compareTo, searchable and pagination are read off the arm that declares them.
  • The either-arm dataset fork is gone. DashboardRenderer reads dataset off widgetArm (the entry narrowed by isSlotComponentEntry). DashboardGridLayout's twin fork was a cast, (widget as { dataset?: unknown }). The P1 census could not see a cast, so this is a 23rd read; it now narrows the same way.
  • entryComponent reads component on the widget arm only. Its cross-arm read is gone.
  • DashboardWithConfig seeds the config panel's dataset, dimensions, values and colorVariant from the widget arm. Before, the first three were read through as any.
  • DashboardEditor (plugin-designer) narrows with a local twin of the guard, because it cannot import plugin-dashboard (the same reason its measureRefusal is a twin). Both read the one closed list, DASHBOARD_COMPONENT_WIDGET_TYPES. The Color Variant select is offered for a widget only (H2, below).
  • Also narrowed: the filter-bar scoping in DashboardRenderer (buildWidgetScopedFilter reads filterBindings through a Pick), and the subCaption read at both dataset forks.
  • What changes at runtime. Only a metric-card entry that carries a widget key changes. The strict face refuses such an entry and the tolerant face accepts it (pinned). That card now draws itself. Before, it drew one of three other things: the dataset tile (on both surfaces), its own keys with options spread over them, or the node in its component envelope. Every document the strict face accepts draws as before.

Measurements

H1: the 22 sites, before and after

The instrument: the four tsc programs (tsconfig.json and tsconfig.test.json of each package), one-off, trap-restored. It deletes the docblock and signature lines of BaseSchema in packages/types/src/base.ts and rebuilds @object-ui/types; the dist keeps one signature, ComponentRendererProps'. Restore is proven by the blob hash equal to HEAD's and an empty git diff HEAD.

H1 holds: origin/main is still the census's 94985a9, and BASE reproduces the census exactly. No site was added or removed.

Site (file · key) BASE 94985a9, signature removed HEAD d6da79f6, signature removed
DashboardRenderer · dataset TS2339 none
DashboardRenderer · options TS2339 none
DashboardRenderer · chartConfig TS2339 none
DashboardRenderer · filter (object-chart node) TS2339 none
DashboardRenderer · compareTo TS2339 none
DashboardRenderer · colors on the chart literal (N1; isAnimationActive is its second excess key, which tsc does not name) TS2353 none
DashboardRenderer · filter (object-data-table node) TS2339 none
DashboardRenderer · searchable TS2339 none
DashboardRenderer · pagination TS2339 none
DashboardRenderer · filter (dataset-widget merge) TS2339 none
DashboardGridLayout · options TS2339 none
DashboardGridLayout · chartConfig TS2339 none
DashboardGridLayout · colors on the chart literal (N1) TS2353 none
DashboardGridLayout · filter TS2339 none
DashboardGridLayout · searchable TS2339 none
DashboardGridLayout · pagination TS2339 none
DashboardWithConfig · colorVariant TS2339 none
widgetDispatch entryComponent · component TS2339 none
DashboardEditor · values TS2339 none
DashboardEditor · dimensions TS2339 none
DashboardEditor · dimensions TS2339 none
DashboardEditor · colorVariant TS2339 none

Program totals with the signature removed, BASE then HEAD:

  • plugin-dashboard src: 18, then 0.
  • plugin-dashboard test: 24, then 6.
  • plugin-designer src: 4, then 0.
  • plugin-designer test: 4, then 0.

The 6 left are objectui#8347's adjudicated probe flips (bogusKey ×2, zzUndeclared7353 ×4), the same 6 at BASE. With the signature present, all four programs exit 0 at both commits.

The N1 hand-off really checks the literal. In a one-off probe with the signature removed, a planted bogusProbeKey11598 on each chart literal fails with TS2353 "does not exist in type 'DashboardChartRenderSchema'", in DashboardGridLayout and in DashboardRenderer. The probe was trap-restored and hash-verified.

N2 premise census (at BASE)

  • Population: git grep -l -F metric-card 94985a92 -- ., 45 files. Each file is read with git show at the same commit, so the file list and the contents come from the same source.
  • Detector: every object literal whose type is 'metric-card', found two ways. AST: the TypeScript compiler over TS, TSX and JSON. SCAN: the balanced brace region around each occurrence, which covers md and mdx. Each literal's keys are compared with the widget-arm-only key set (dataset, options, chartConfig, filter, component, colorVariant, values, dimensions, compareTo, searchable, pagination, filterBindings and the rest of the spec row).
  • Result: 51 AST and 88 SCAN literals. 2 carry a widget-arm key, both in packages/types/src/__tests__/metric-card-needs-value-11483.test.ts. They are refusal probes: a card with dataset and values, and a card with options, each with no value and refused on every face. They are not authored documents.
  • Per corpus, 0 hits:
    • content/docs/**: 2 files, 9 literals.
    • examples/**: 3 schema-catalog dashboards, 11 literals.
    • Package READMEs: 2 files, 16 literals.
    • skills/**: no file in the population.
    • app-shell seeds and presets: none. app-shell's only file in the population is a test that uses the plugin-dashboard:metric-card node key.
  • Lit controls:
    • Planted: an md file with a fenced dashboard whose card carries dataset, and a TS file whose card carries options and component. Both are flagged.
    • Real corpus: the same detector pointed at type: 'bar' sees the known widget-arm dataset entry in content/docs/plugins/plugin-dashboard.mdx ({ "id": "w1", "type": "bar", "dataset": "invoices", … }) and the schema catalog's filtered-dashboard-dataset-widgets.json entry.

The two-way dataset pin, and reverse validation

packages/plugin-dashboard/src/__tests__/slotEntryWidgetArmReads-11598.test.tsx tests on both surfaces. It identifies DatasetWidget by its dataset-loading skeleton under a query that never settles.

  • A widget-arm entry with dataset draws DatasetWidget, and the query is called with { dimensions: ['status'], measures: ['count'] }.
  • A metric-card carrying dataset does not reach it: the card's $24k is drawn, no skeleton appears, and no query is sent.
  • The CONTROL is a strict-valid card, which draws as before.
  • The file also pins the options and component reads, entryComponent, and the face verdicts: each moved card is strict-refused at widgets.0 and tolerant-accepted.

The designer test is packages/plugin-designer/src/__tests__/DashboardEditor.slotComponentArm-11598.test.tsx.

Reverse validation, run from the committed state. The five N2 source files were put back to their bytes at 921e56cc. On disk, the N2 A markers went from 10 to 0 and the either-arm comment came back. With the new pins unchanged, the run was Tests 8 failed | 10 passed (18):

  • every card case failed on both surfaces: dataset-loading rendered in the card's place, OPTIONS-FIGURE drawn, and the envelope drawn;
  • the entryComponent unit failed;
  • the designer metric-card case failed;
  • the positives, controls and face checks stayed green.

The direction was red, as expected. The restore is proven by 5 blob hashes equal to HEAD and git diff HEAD at 0 bytes. My first attempt stopped before running any test: its marker count was wrong, because N1 had already put the issue number into two of the files. It was re-run with the N2 A marker.

H2: DashboardEditor

  • values and dimensions are read by measureRefusal, the door probe behind the type picker. For a strict-valid metric-card they were already absent, so the probe is unchanged and nothing is visible.
  • colorVariant is the Color Variant select. Here the seat's "invisible" expectation does not hold. The select was offered for every metric-card entry, and a pick wrote colorVariant onto the card. The strict face refuses that key on the card, and MetricCard has no such prop, so the value is not drawn (app-shell's widget-dom-leak-sweep test notes it lands as a colorvariant DOM attribute). After this PR, a metric-card entry is not offered the select. Title, width and height stay, and a widget is offered the select as before. So one control is gone for strict-valid cards, and its only effect was storing a key that publish refuses.

Gates (all at d6da79f6, each exit captured before any pipe, heavy runs under the shared verify lock, TURBO_FORCE=true on every turbo run)

  • turbo run build for plugin-dashboard and plugin-designer: exit 0. "Tasks: 19 successful, 19 total", "Cached: 0 cached".
  • Build of the doc-gate closure (--build-filter): exit 0, "Tasks: 35 successful, 35 total".
  • pnpm --filter @object-ui/plugin-dashboard type-check: exit 0.
  • pnpm --filter @object-ui/plugin-designer type-check: exit 0.
  • pnpm --filter @object-ui/types type-check: exit 0.
  • pnpm exec vitest run --maxWorkers=2 packages/plugin-dashboard/: exit 0, "Test Files 168 passed (168)", "Tests 1669 passed | 6 skipped (1675)".
  • pnpm exec vitest run --maxWorkers=2 packages/plugin-designer/: exit 0, "Test Files 41 passed (41)", "Tests 305 passed (305)".
  • check:doc-snippets: exit 0, "777 of 777 block(s) judged, 0 failed".
  • check:doc-examples: exit 0, "35 compile, 87 fail, 87 of those declared in the ledger".
  • check:doc-types: exit 0.
  • check:readme-exports: exit 0.
  • The first runs of check:doc-snippets, check:doc-examples and check:readme-exports stopped on PRECONDITION NOT MET (packages unbuilt). They were not red, and were re-run after the closure build.
  • check:changeset-claims: exit 0.
  • check:pending-changeset-literals: exit 0.
  • check:control-bytes: exit 0.
  • changeset:check: exit 0.
  • check-changeset-presence: exit 0, "9 source file(s) of 2 released package(s) changed, and this change declares 1 changeset(s)".
  • type-check:coverage: exit 0.
  • check:new-line-citations: exit 0, "0 new citation(s)".
  • ESLint, narrowed to the 9 touched TS/TSX files: 0 errors and 23 warnings, all pre-existing rules on lines this PR did not add. The count of 9 is read from the --format json output. The config does not enable type-aware linting, so this diff cannot move a verdict on an untouched file. The repo-wide pnpm lint is left to CI.
  • Consumer type-check (app-shell, console): NOT MEASURED. No exported declaration changed: the hand-off is not reachable from dist/index.d.ts, and the props of DashboardRenderer, DashboardGridLayout, DashboardWithConfig and DashboardEditor are untouched.

Acceptance notes

  • File surface, declared. This PR also rewrites one paragraph in packages/plugin-dashboard/README.md and the same paragraph in content/docs/plugins/plugin-dashboard.mdx. Both said "a dataset makes the dashboard draw its dataset tile in the card's place", which this change makes false (AGENTS.md Add automated testing infrastructure and CI/CD workflows #2). It also repairs four cross-file line citations inside the DashboardGridLayout.tsx comments it touched, by content (AGENTS.md [WIP] Update documentation for project #11).

  • Prose made false in packages/types, not edited, because the claim excludes packages/types. Each is a present-tense account of the either-arm draw:

    • complex.ts, in the DASHBOARD_COMPONENT_WIDGET_TYPES docblock: "a dataset draws DatasetWidget in the card's place by a rule that ignores the type";
    • zod/complex.zod.ts, the same sentence, plus "The options bag is spread onto the node as literal props";
    • __tests__/metric-card-needs-value-11483.test.ts, in its header and two inline comments.

    The first two ship in @object-ui/types' dist JSDoc. Proposed carrier: the PR that executes objectui#8347, which already edits complex.ts's widgets notes. Or the seat may direct otherwise (see the report).

  • Observation, not reproduced: DashboardEditor's type picker still offers widget types for a metric-card entry. A pick would write a widget type onto the card's keys.

  • isLegacyRetiredWidget still reads dataset, data, options and object through its own named shape. After the reorder, it only ever receives widget-arm entries on both surfaces.


Generated by Claude Code

claude added 2 commits October 4, 2026 06:05
…ate hand-off type, `ChartSchema` plus `colors` and `isAnimationActive` (objectui#11598, N1)

Both dashboard surfaces compose the palette and `isAnimationActive: false`
onto the `chart` node they build for a series widget bound to inline rows.
Neither face of `ChartSchema` declares the two keys, so the literal compiled
only through `BaseSchema`'s index signature, which objectui#8347 removes.

The literal is now checked against `DashboardChartRenderSchema`
(`chartRenderHandoff.ts`), not exported from the package index and never
added to `@object-ui/types`: the seat's ruling B on objectui#8347, reusing
the objectui#6356 ruling carried by plugin-timeline's `renderHandoff.ts`.
The node is handed to `SchemaRenderer` with no cast. Nothing drawn changes.

Claude-Session: https://claude.ai/code/session_01CPvhwGcirXqBGEdPSb72TZ
Co-authored-by: Claude <noreply@anthropic.com>
…dget arm alone; the either-arm `dataset` fork retires (objectui#11598, N2)

Every dashboard surface reads a `widgets[]` entry by the slot's element type,
the component arm (`metric-card`) or the widget arm. Twenty reads took a
widget key off that union, which compiled only through `BaseSchema`'s index
signature (objectui#8347 removes it), and one was a deliberate fork: "a
`dataset` draws `DatasetWidget` on either arm".

The seat's ruling N2 = A on objectui#8347: every read narrows with
`isSlotComponentEntry` first. Both surfaces decide the slot-component
passthrough before any widget key is read; `entryComponent` reads
`component` on the widget arm only; the dataset fork, the filter-bar
scoping and the config panel's seed read the widget arm; `DashboardEditor`
narrows with a local twin of the guard (it cannot import plugin-dashboard)
and offers the widget-only Color Variant select on a widget alone.

Runtime moves only for a `metric-card` entry carrying a widget key, which
the strict face refuses: it draws its card instead of the dataset tile, the
spread `options`, or the envelope node. The two doc passages that described
the dataset tile in the card's place are rewritten.

Claude-Session: https://claude.ai/code/session_01CPvhwGcirXqBGEdPSb72TZ
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation plugin tests labels Oct 4, 2026
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 331 chunks) 3312.0 KB 3330.4 KB
Main entry chunk (gzip) 151.2 KB 350 KB
Entry file index-CO16fXO-.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) 17.22KB 6.37KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
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.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.17KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.70KB 10.94KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
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.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 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) 572.97KB 137.34KB
core (index.js) 10.00KB 3.96KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 232.57KB 64.51KB
fields (index.js) 261.62KB 66.20KB
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.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 35.66KB 9.49KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 39.47KB 11.25KB
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.86KB 5.00KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.52KB 2.26KB
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.04KB 3.92KB
plugin-calendar (index.js) 53.17KB 15.46KB
plugin-charts (index.js) 83.60KB 22.89KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 142.89KB 38.62KB
plugin-designer (index.js) 231.41KB 48.84KB
plugin-detail (index.js) 245.60KB 64.57KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 175.44KB 45.28KB
plugin-gantt (index.js) 179.16KB 45.06KB
plugin-grid (index.js) 235.63KB 64.77KB
plugin-kanban (index.js) 49.59KB 15.58KB
plugin-list (index.js) 116.46KB 28.93KB
plugin-map (index.js) 25.60KB 8.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 38.80KB 11.71KB
plugin-tree (index.js) 14.51KB 5.15KB
plugin-view (index.js) 90.23KB 22.73KB
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.81KB 3.58KB
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) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 6.06KB 2.68KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 21.42KB 7.05KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.16KB 1.96KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
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) 5.07KB 2.39KB
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) 2.52KB 1.31KB
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) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.25KB
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

…widget arm alone, as of objectui#11598

Three notes in `@object-ui/types` described the either-arm draw as live:
`DASHBOARD_COMPONENT_WIDGET_TYPES`' docblock ("a `dataset` draws
`DatasetWidget` in the card's place by a rule that ignores the `type`"),
the Zod widget vocabulary's docblock (the same, plus "The `options` bag is
spread onto the node as literal props"), and the objectui#11483 test's
header and two inline comments. The previous commit on this branch retired
both behaviours, so each note now dates the objectui#11483 measurement and
states what holds since objectui#11598: a `metric-card` carrying a widget key
is refused by the strict face and is not drawn as a widget.

Comment and prose only; no type, schema or test assertion changes. The
changeset declares `@object-ui/types` for the shipped JSDoc.

Claude-Session: https://claude.ai/code/session_01CPvhwGcirXqBGEdPSb72TZ
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 331 chunks) 3312.0 KB 3330.4 KB
Main entry chunk (gzip) 151.2 KB 350 KB
Entry file index-CO16fXO-.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) 17.22KB 6.37KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
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.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.17KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.70KB 10.94KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
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.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 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) 572.97KB 137.34KB
core (index.js) 10.00KB 3.96KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 232.57KB 64.51KB
fields (index.js) 261.62KB 66.20KB
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.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 35.66KB 9.49KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 39.47KB 11.25KB
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.86KB 5.00KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.52KB 2.26KB
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.04KB 3.92KB
plugin-calendar (index.js) 53.17KB 15.46KB
plugin-charts (index.js) 83.60KB 22.89KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 142.89KB 38.62KB
plugin-designer (index.js) 231.41KB 48.84KB
plugin-detail (index.js) 245.60KB 64.57KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 175.44KB 45.28KB
plugin-gantt (index.js) 179.16KB 45.06KB
plugin-grid (index.js) 235.63KB 64.77KB
plugin-kanban (index.js) 49.59KB 15.58KB
plugin-list (index.js) 116.46KB 28.93KB
plugin-map (index.js) 25.60KB 8.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 38.80KB 11.71KB
plugin-tree (index.js) 14.51KB 5.15KB
plugin-view (index.js) 90.23KB 22.73KB
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.81KB 3.58KB
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) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 6.06KB 2.68KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 21.42KB 7.05KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.44KB 2.07KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
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) 5.07KB 2.39KB
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) 2.52KB 1.31KB
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) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.25KB
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 October 4, 2026 07:04
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge October 4, 2026 07:04
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Oct 4, 2026
Merged via the queue into main with commit 2e818d0 Oct 4, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-11598-dashboard-reads-off-signature branch October 4, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation package: types plugin tests

Projects

None yet

2 participants