Skip to content

fix(plugin-list): Display reset compares hidden fields and density with the view's own (objectui#12949) - #12953

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-12949-display-reset-baseline
Oct 18, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-12949-display-reset-baseline

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #12949
Clause-②: yes

What changed

On a console list, after a user hid a column (or changed the density) and reloaded, the Display control's "Reset to view default" was disabled and its trigger counted nothing. Since objectui#12474 the console lays the user's stored hiddenFields / rowHeight over the view's in schema, and ListView compared the user's list against schema, that is, against the user's own choice.

  • @object-ui/plugin-list (ListView): a new optional host prop, viewDefaults?, typed as Pick of ListViewSchema over the two keys hiddenFields and rowHeight (spelled out in words because GitHub strips angle-bracket generics from a body), carries the VIEW'S OWN values. displayDeviation.hiddenFields and displayDeviation.density (grid density; the gallery card size is unchanged) compare against it, so the trigger count follows, and resetDisplayToViewDefault writes it through the controls' own doors (updateHiddenFields and so onHiddenFieldsChange; density.setMode and so schema.onDensityChange), so the user's preference follows, as Show all does. When the prop is passed its members are the whole baseline (absent hiddenFields = the view hides nothing; absent rowHeight = the default density). Without it, schema is the view's own, exactly as before.
  • The objectui#12423 docblock above displayDeviation is rewritten: it no longer says the console persists density and hidden fields back into the view.
  • @object-ui/app-shell (ObjectView): computes viewRowHeight and viewHiddenFields (the view's values before the overlay) and passes them as viewDefaults. On a view that declares no columns the view's authored hiddenFields is never applied (objectui#10694, objectui#12505), so viewHiddenFields is undefined there: the view hides nothing, and the reset returns to every drawn column. The hiddenFields rung reads the new local; the rowHeight rung keeps its inline normalizeListViewSchema fold, because the relay census (ObjectView.relayRungCensus-7559.test.ts) reads that rung's text for the retired densityMode alias.

Mechanism readings (dispatch section 2)

  • A1, the seam. ListViewSchema gains nothing (it mirrors the spec). The narrowest seam is one optional member on the exported ListViewProps, beside the existing host props defaultRowNumbers and toolbarLeading. No existing prop could carry it: initialFilters / initialSearchTerm carry the user's state, and the { [key: string]: any } rest on the destructure is untyped, which AGENTS.md commandment 0.1 rules out. So Clause-②: yes (widening), and the changeset levels @object-ui/plugin-list at minor (@object-ui/app-shell patch; its exports do not change).
  • A2, other hosts. Only app-shell's ObjectView relays a preference: git grep for onHiddenFieldsChange / onDensityChange / listPrefs over packages/*/src and apps/*/src (tests excluded) finds it alone. The other ListView hosts (InterfaceListPage, ObjectDataPage, StudioDesignSurface, plugin-view's ObjectView, ListViewBlock, the console's SDUI workbench preview) pass no viewDefaults and keep comparing against schema, which is pinned as a control below.
  • A3, the pins are listed under Tests.

Tests (at 388e1f9059)

  • New packages/plugin-list/src/__tests__/ListView.displayResetBaseline-12949.test.tsx (7 tests): (a) a user hidden set that differs from viewDefaults.hiddenFields: on mount the reset is ENABLED and the count reads 1; pressing it calls onHiddenFieldsChange once with the view's set and the count goes; an absent viewDefaults.hiddenFields is the empty set; (b) the same for density (rowHeight: 'compact' over the view's 'tall': the reset writes 'spacious' through schema.onDensityChange); both differing count 2; (c) CONTROL: a preference equal to the view's leaves the reset disabled and nothing counted; (d) CONTROL: no viewDefaults: schema is the baseline, as before.
  • packages/app-shell/src/views/ObjectView.userListState-12418.test.tsx, new describe (4 tests, pin 6c in its header): after a reload schema carries the user's choice and viewDefaults the view's own; writing viewDefaults back through the two doors lands as one save of the user's row with no view write; another user is handed the same value twice; on an unprojected saved view viewDefaults.hiddenFields is undefined.
  • Runs (each under the shared verify lock, --maxWorkers=1): the plugin-list families naming displayDeviation / display-reset-button / resetDisplayToViewDefault / viewPref / hiddenFields / viewDefaults: Test Files 4 passed (4), Tests 185 passed (185); the app-shell families on the same terms: Test Files 15 passed (15), Tests 162 passed (162). The first app-shell run went red on the relay census (densityMode's fold must stay spelled out on the rowHeight rung); the second commit restores the inline fold, and the rerun above is green.
  • type-check for @object-ui/plugin-list and @object-ui/app-shell (after turbo run build --filter='@object-ui/app-shell^...'): exit 0. Both packages' tsconfig.test.json include src/**/*.test.tsx, so the new tests are type-checked.
  • Ablation, run once. ablation-replace.mjs swapped sortedNames(viewDefaultHiddenFields) back to sortedNames(schema.hiddenFields) (anchor 1 to 0, blob f33d106eda74 to 41e98e996bcd); the new plugin-list file went Tests 3 failed | 4 passed (7) (the hidden-field pins went red; density and controls stayed green, as expected). Restored: blob after restore = HEAD blob f33d106eda74, git diff HEAD empty.
  • Declared to CI: the full packages/plugin-list/ and packages/app-shell/ directories (not run locally, per the dispatch's lock rule).

Gates (at 388e1f9059)

All exit 0: check:phantom-deps, check:self-import, check:unreferenced-sources, check:doc-example-readers, check:handler-key-reads, check:side-effects-array, check:element-data-source-declaration, check:spec-symbols, check:action-forward-parity, check:designer-field-key-parity, check:icon-record-names, check:i18n-keys, check:i18n-drift, check:i18n-designer-parity, check:control-bytes, check:new-line-citations, scripts/check-hand-rolled-comment-mask.mjs, scripts/check-changeset-fixed.mjs, scripts/check-changeset-presence.mjs, scripts/check-changeset-no-major.mjs. check:spec-floors exits 1, as on main (recorded, not owned here).

Lint, narrowed and measured: the population is each package's eslint . under the one root eslint.config.js (no package-level config); eslint --format json over the four changed files reports 4 files, 0 errors. Warnings on the three edited files equal their origin/main counts (194, 183, 11); the new test file carries 1. Invariance: the config sets no parserOptions.project / projectService, so linting is not type-aware and this diff cannot move a verdict in an untouched file.

Acceptance notes

  • AGENTS.md commandment 2 asks a new prop to reach the package README and the guide; the claim's file surface holds neither, so this PR does not touch them. Carrier: none named.
  • The first commit's message body carries a closing phrase for this card. It names the right card; it is a deviation from the one-declaration rule and is reported, not rewritten (no force-push here).

Generated by Claude Code

…th the view's own

On a console list the user's stored hidden fields and density are laid
over the view's in `schema` (objectui#12474), so after a reload the
Display control's "Reset to view default" compared the user's choice with
itself and stayed disabled. `ListView` gains a `viewDefaults` host prop
carrying the view's own values; the trigger count and the reset compare
against it, and the reset writes it through the controls' doors. The
console object page passes it. A host that does not pass it compares
against `schema`, as before.

Fixes objectui#12949 via the PR.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XVp19E1MYUTFM3dnkwz8gB
The relay census reads the `rowHeight` rung for the `normalizeListViewSchema`
fold that carries the retired `densityMode`; the rung reads it inline again,
and `viewRowHeight` stays the same value for `viewDefaults`.

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

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 75 chunks) 3158.8 KB 3744.1 KB
Main entry chunk (gzip) 80.6 KB 350 KB
Entry file index-BHuLPHRA.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) 21.41KB 7.88KB
app-shell (runtime-config.js) 24.52KB 8.48KB
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) 45.59KB 12.03KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 20.67KB 6.12KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.74KB 3.94KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.62KB 0.83KB
auth (authStyles.js) 5.27KB 1.86KB
auth (createAuthClient.js) 42.84KB 11.66KB
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.26KB 8.03KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (commentAuthorship.js) 1.39KB 0.78KB
collaboration (index.js) 1.93KB 0.85KB
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) 612.39KB 149.02KB
core (index.js) 10.18KB 4.04KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 248.83KB 69.44KB
fields (index.js) 291.72KB 74.47KB
i18n (LocalizationContext.js) 2.92KB 1.42KB
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.52KB 2.39KB
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) 36.87KB 9.88KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 41.33KB 11.96KB
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) 15.35KB 5.51KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.82KB 2.38KB
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) 55.04KB 16.10KB
plugin-charts (index.js) 85.06KB 23.39KB
plugin-chatbot (index.js) 217.79KB 51.51KB
plugin-dashboard (index.js) 147.53KB 39.95KB
plugin-designer (index.js) 233.95KB 50.08KB
plugin-detail (index.js) 266.04KB 70.50KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 181.16KB 46.84KB
plugin-gantt (index.js) 178.46KB 45.13KB
plugin-grid (index.js) 272.87KB 75.68KB
plugin-kanban (index.js) 63.37KB 19.51KB
plugin-list (index.js) 139.82KB 36.04KB
plugin-map (index.js) 27.17KB 9.00KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 46.66KB 13.13KB
plugin-timeline (index.js) 39.31KB 11.88KB
plugin-tree (index.js) 15.27KB 5.40KB
plugin-view (index.js) 94.68KB 24.36KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 12.07KB 3.68KB
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) 125.37KB 41.04KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.71KB 2.11KB
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.07KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.81KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.29KB 0.24KB
sdui-parser (validate.js) 23.87KB 7.83KB
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) 1.13KB 0.65KB
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.78KB 2.70KB
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 (node-slots.js) 7.18KB 2.34KB
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 (product-blocks.js) 0.20KB 0.19KB
types (record-approval-decision.js) 0.20KB 0.20KB
types (record-components.js) 0.20KB 0.19KB
types (record-panels.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.26KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.48KB 3.50KB
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

Copy link
Copy Markdown
Contributor Author

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 388e1f9059ff137037ecae414be6c8e7873905f6
Local-runs: none

Inputs read: card #12949 (body, the triage comment 6248174986, the claim 6248223082 as amended, the os-dev-report 6248499536), PR #12953 (body, 5-file list, net diff against main at 0707b4ae37), the 35 check-runs on the head, and, read-only, the head's ListView.tsx, ObjectView.tsx, normalize-list-view.ts, packages/plugin-list/README.md, objectui AGENTS.md and the changeset gate headers. Nothing built, run or re-run.

① Derived judgments

  1. The only public-surface change is ListViewProps.viewDefaults — right. The diff adds one optional member to the exported interface ListViewProps in packages/plugin-list/src/ListView.tsx, typed Pick of ListViewSchema over 'hiddenFields' | 'rowHeight', destructured beside defaultRowNumbers / compact. The file list touches no file under packages/types, so ListViewSchema gains no key (the claim's ⛔ holds); no existing member of ListViewProps or ListViewSchema is retyped, and no export is added or removed. @object-ui/app-shell's change is inside ObjectViewInner's renderListView callback: ConsoleObjectViewProps and every app-shell export are unchanged. The changeset body's claim ("No key is added to ListViewSchema, and no existing member changes type") matches the diff.
  2. A host that does not pass it is behaviourally unchanged — right. viewDefaultHiddenFields = viewDefaults ? viewDefaults.hiddenFields : schema.hiddenFields and viewDefaultDensity = viewDefaults ? … : resolvedDensity: with the prop absent both fall to exactly the operands the old displayDeviation and resetDisplayToViewDefault read (schema.hiddenFields, resolvedDensity), so the comparison, the trigger count and the reset's writes are byte-for-byte the old ones. The CONTROL describe in the new plugin-list file pins this. The other ListView hosts the PR names pass nothing, so A2 holds.
  3. Semantics when passed — right. The prop is read by object truthiness, so viewDefaults: {} means "the host is the authority and the view says nothing": sortedNames(undefined) is "[]" and the reset writes new Set([]), so an absent hiddenFields is "the view hides nothing"; rowHeightToDensityMode(viewDefaults.rowHeight) ?? 'compact' is the same resolution resolvedDensity applies to schema.rowHeight (rowHeightToDensityMode(schema.rowHeight) ?? 'compact', read on the head), so an absent or off-spec rowHeight lands on the same 'compact' an absent view value always has, and the density comparison is mode against mode on one scale. Gallery card size keeps its own authoredGalleryCardSize baseline, untouched. Row numbers, inline edit, layout, group and colour keep schema as their baseline, which is right: the console persists none of those as a user preference.
  4. ObjectView passes the right authored value on each path — right.
    • View that declares columns: viewHiddenFields = viewDef.hiddenFields ?? listSchema.hiddenFields, which is verbatim the tail the rung carried before the diff (viewPref?.hiddenFields ?? (viewDef as any).hiddenFields ?? listSchema.hiddenFields); the rung now reads viewPref?.hiddenFields ?? viewHiddenFields, the same composition. A user with no preference is handed the same value twice (pinned as CONTROL in the app-shell file).
    • Unprojected saved view (objectui#12505): viewHiddenFields is undefined while the rung still carries viewPref?.hiddenFields alone, so the view's authored key stays unapplied on both sides, the reset returns to every drawn column, and the write goes through persistHiddenFields, which stores it (activeViewIsSaved). Pinned.
    • Unprojected system view: both sides undefined; a session-only hide still counts against ListView's own hiddenFields state, and the reset's onHiddenFieldsChange reaches persistHiddenFields, which returns early there, so nothing is stored — consistent with objectui#10694 ruling (B).
    • Density: viewRowHeight = normalizeListViewSchema(viewDef ?? {}).rowHeight ?? listSchema.rowHeight is exactly the rung's value under viewPref?.rowHeight, with the same normalizeListViewSchema fold, so a stored densityMode alias resolves identically on both sides. Keeping the fold spelled out on the rung (rather than reading viewRowHeight) duplicates three lines for the relay census; it is a duplication of one expression, not of a judgment, and is acceptable.
  5. The reset writes through the controls' doors — right. updateHiddenFields is setHiddenFields(next); onHiddenFieldsChange?.(Array.from(next)), and ObjectView wires onHiddenFieldsChange={persistHiddenFields} (prop and schema key), which does listPrefs.patchView(viewDef.id, { hiddenFields }). density.setMode is useDensityMode(resolvedDensity, { onChange: schema.onDensityChange }), and the console's onDensityChange writes listPrefs.patchView(viewDef.id, { rowHeight: DENSITY_MODE_TO_ROW_HEIGHT[mode] }). So the reset lands as one save of the user's row and no view write (pinned: viewWrites(ds) is 0, family.save once), after which viewPref equals the view's value, schema follows, and the deviation reads false — the fixed point the old docblock described, now reached legitimately. viewDefaults={{…}} is a fresh literal per render, which is fine: it feeds plain per-render values and no memo or effect dependency (AGENTS.md [WIP] Enhance every detail of the designer #10 observed).
  6. The rewritten objectui#12423 docblock — right. It no longer asserts that the console persists density and hidden fields back into the view; it names the user-preference overlay (objectui#12474) as the reason the two settings compare against viewDefaults, keeps "plain per-render values, never memo identities", and says what happens without the prop. It matches the code beneath it.
  7. Tests as pins — adequate. The plugin-list file covers the hidden-field path (enabled on mount, count, write of the view's set, empty-set semantics), the density path (write of 'spacious' for an authored 'tall'), both-differ count 2, a same-value CONTROL and a no-prop CONTROL; the dev's one-shot ablation of the viewDefaultHiddenFields anchor turned the hidden-field pins red. The app-shell describe pins the relay on a system view, the write-back through both doors, the other-user CONTROL and the unprojected saved view.
  8. Docs (AGENTS.md Add automated testing infrastructure and CI/CD workflows #2) — a follow-up, not a FAIL of this review. packages/plugin-list/README.md at the head documents the host props toolbarLeading and compact under their own headings but not defaultRowNumbers, so the precedent is partial. The contract-review reference scopes this review to the three contract faces and names the prose faces (content/docs/**, README) as the dispatching seat's ACCEPT item, not a contract-tier defect; the claim's file surface excluded both files, and the dev flagged the gap rather than hiding it. Verdict: the published type and its docblock are complete and self-describing; the README/guide paragraph is owed to the repo and should be carried by the dispatching seat either as a same-branch addition before landing or as a named follow-up card — escalated in ③, not a FAIL here.

② Semver level

  • Changeset .changeset/12949-display-reset-baseline.md: @object-ui/plugin-list: minor, @object-ui/app-shell: patch; body carries Clause-②: yes (widening), the PR body carries Clause-②: yes, and the claim was amended in place to yes with the amendment noted. Right. The policy (objectstack AGENTS.md "Add a changeset for anything that publishes"): yes takes at least minor, (widening) is the matching arm; a new optional member on an exported props interface is a widening of the published accept set of @object-ui/plugin-list. app-shell publishes a bug fix with no export change, which is the patch the same rule names; no major is declared (objectui AGENTS.md: fixed group never declares major).
  • The body is self-consistent (the front matter's packages are the ones the body names as changed; no "untouched" negation of a declared package), which is the self-contradiction reading check-changeset-claims.mjs makes.
  • Head check-runs on the changeset family: Changeset Bump Policy, Changeset Declaration, Changeset Fixed Group Check, Changeset Claim Re-read, Changeset Overwrite Report — all success. Clause-②: line: matches the diff.

③ Boundary flags

  • open_questions: [] — none to answer.
  • Dev deviation 1 (first commit's message body says "Fixes objectui#12949 via the PR."): a second declaration of the card relation, same card, non-trailer prose, not rewritten (no force-push in objectui). Not a contract concern; recorded, no action owed by this review.
  • Dev deviation 2 (Co-authored-by: Claude model-free trailer; session-URL footer): the role file's form, consistent with objectui AGENTS.md's trailer rule. No action.
  • Dev deviation 3 (scratch files deleted after use): no action.
  • Out-of-scope finding / Acceptance note (README + guide for viewDefaults): escalated to the dispatching seat — see ① item 8. Suggested carrier: a short "Host prop: viewDefaults" section beside toolbarLeading and compact in packages/plugin-list/README.md, plus the guide line, either on this branch before landing or as a follow-up card naming this PR.
  • check:spec-floors exits 1 as on main: inherited, not owned here.
  • Check-runs on the head at review time: completed success — Changeset Bump Policy, Changeset Overwrite Report, Changeset Declaration, Changeset Fixed Group Check, Changeset Claim Re-read, Test (dist pins), Build Docs, Build & E2E, Type Check, Line Citation Gate, Live E2E (informational), Governed Surface Queue Guard, label, Bundle Analysis; skipped — Test (coverage), coverage shard, dependabot; still in_progress — Test (shard 1/16 through 16/16), Repo Gates, Lint. The verdict below is on the contract faces; the landing check "PR check all green" remains the dispatching seat's to read once those finish.

Implemented-by: claude/issue-12949-display-reset-baseline
Reviewed-by: session_01XVp19E1MYUTFM3dnkwz8gB

VERDICT: PASS


Generated by Claude Code

The Display control's count and "Reset to view default" compare hidden
fields and density with `viewDefaults` when a host passes it
(objectui#12949). Document it beside the other host props, per AGENTS.md
commandment 2.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XVp19E1MYUTFM3dnkwz8gB
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 75 chunks) 3161.4 KB 3744.1 KB
Main entry chunk (gzip) 80.6 KB 350 KB
Entry file index-C5PCpNSi.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) 21.41KB 7.88KB
app-shell (runtime-config.js) 24.52KB 8.48KB
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) 45.59KB 12.03KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 20.67KB 6.12KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.74KB 3.94KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.62KB 0.83KB
auth (authStyles.js) 5.27KB 1.86KB
auth (createAuthClient.js) 42.84KB 11.66KB
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.26KB 8.03KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (commentAuthorship.js) 1.39KB 0.78KB
collaboration (index.js) 1.93KB 0.85KB
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) 612.39KB 149.02KB
core (index.js) 10.18KB 4.04KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 248.83KB 69.44KB
fields (index.js) 291.72KB 74.47KB
i18n (LocalizationContext.js) 2.92KB 1.42KB
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.52KB 2.39KB
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) 36.87KB 9.88KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 41.33KB 11.96KB
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) 15.35KB 5.51KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.82KB 2.38KB
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) 55.04KB 16.10KB
plugin-charts (index.js) 85.06KB 23.39KB
plugin-chatbot (index.js) 230.81KB 54.29KB
plugin-dashboard (index.js) 147.53KB 39.95KB
plugin-designer (index.js) 233.95KB 50.08KB
plugin-detail (index.js) 266.04KB 70.50KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 181.16KB 46.84KB
plugin-gantt (index.js) 178.46KB 45.13KB
plugin-grid (index.js) 272.87KB 75.68KB
plugin-kanban (index.js) 63.37KB 19.51KB
plugin-list (index.js) 139.82KB 36.04KB
plugin-map (index.js) 27.17KB 9.00KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 46.66KB 13.13KB
plugin-timeline (index.js) 39.31KB 11.88KB
plugin-tree (index.js) 15.27KB 5.40KB
plugin-view (index.js) 94.68KB 24.36KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 12.07KB 3.68KB
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) 125.37KB 41.04KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.71KB 2.11KB
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.07KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.81KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.29KB 0.24KB
sdui-parser (validate.js) 23.87KB 7.83KB
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) 1.13KB 0.65KB
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.78KB 2.70KB
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 (node-slots.js) 7.18KB 2.34KB
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 (product-blocks.js) 0.20KB 0.19KB
types (record-approval-decision.js) 0.20KB 0.20KB
types (record-components.js) 0.20KB 0.19KB
types (record-panels.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.26KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.48KB 3.50KB
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

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: app-shell plugin tests

Projects

None yet

2 participants