Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(components,fields): head a widget-hinted nameField through its face (objectui#13216) - #13291

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-13216-header-widget-face
Oct 21, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-13216-header-widget-face

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #13216
Clause-②: yes

Summary

page:header's declared-pointer rung printed a nameField's stored text even when that field declares a widget whose read face names the value. sys_record_share declares nameField: 'recipient_id', and that field declares widget: 'recipient-picker' with dependsOn: ['recipient_type'], so a record share's H1 was the recipient's raw user id while its list column already drew the user's name.

Route A, the registry bridge, as claimed:

  • @object-ui/components owns a field-face seam (lib/field-face.ts): one setter, setFieldReadFaceResolver, and one reader, resolveFieldReadFace, on the package entry.
  • @object-ui/fields fills it when its entry module loads, with the lookup the grid's cells make, getCellRenderer(resolveCellRendererType(field)). The answer is bounded to the keys a declared widget promotes to (WIDGET_CELL_RENDERER_TYPES), and only once a host has registered a face there. The key's default face is the stored text (TextCellRenderer), which is what the heading already prints, so that case answers no face. @object-ui/components does not import @object-ui/fields, so no package cycle closes.
  • page:header asks the seam for the declared nameField's face when the pointer rung is the one that answers (no explicit title, and a value on the record). When a face resolves, the rung draws the stored value through it, with the whole record as dependentValues, so recipient_type reaches the face's dependsOn read. Otherwise every rung heads exactly as before. containers.tsx names no widget; the declaration decides.
  • RecordTitleChip gains an optional titleNode slot drawn inside its h1. title stays a required string for every caller.

Out of scope, as the claim says: RecipientPickerField and the face itself, the server's declaration, and any name-to-label mapping in the console.

Patch round 1

CI on 7f8be05a7 (Test shard 11/16) failed scripts/__tests__/one-authority-per-exported-name-6273.test.ts, "declares no name twice outside the named, shrinking baseline". The failure was FieldFace — a NEW colliding name: the new export collided with app-shell's own FieldFace in views/metadata-admin/SchemaForm.tsx, the union naming which control FieldControl renders. The two are different things, and KNOWN_COLLISIONS only shrinks, so app-shell is untouched. Instead, the unpublished family was renamed together at 85fa87048:

  • FieldFace → FieldReadFace
  • FieldFaceProps → FieldReadFaceProps
  • FieldFaceResolver → FieldReadFaceResolver
  • setFieldFaceResolver → setFieldReadFaceResolver
  • resolveFieldFace → resolveFieldReadFace

The rename covers both packages' source, the four test files, the README, content/docs/guide/fields.md and the changeset. content/docs/layout/page-header.mdx named none of them. The file lib/field-face.ts keeps its name, and its header now says why the names say READ. App-shell's SchemaForm.tsx also exports a resolveFieldFace; the gate named only FieldFace, and the rename clears both. None of the five new names occurs anywhere else in the tree (git grep -w, zero hits before the rename).

Readings at 85fa87048, each exit code captured before any pipe:

  • The failed gate: pnpm exec vitest run scripts/__tests__/one-authority-per-exported-name-6273.test.ts exits 0, with 11 tests passed. Control: putting export type FieldFace = back in lib/field-face.ts turns it red again ("FieldFace — a NEW colliding name"), and the restore was proven (blob equals HEAD, empty git diff HEAD).
  • git grep -n -w -E "FieldFace|FieldFaceProps|FieldFaceResolver|setFieldFaceResolver|resolveFieldFace" hits under packages/app-shell/ only. The hits are its own FieldFace and resolveFieldFace with their SchemaForm tests, its CHANGELOG, a file-local FieldFace component in RecordSnapshotSummary.tsx, and a comment in predicate.ts.
  • The four new test files plus every components test file naming containers, page:header or RecordTitleChip: 48 files, 636 tests passed, exit 0.
  • @object-ui/components type-check exits 0 and lint exits 0 (0 errors). @object-ui/fields type-check exits 0, after the '@object-ui/fields^...' closure rebuild; its lint exits 0 (0 errors). The rebuilt dist types carry the new names.
  • The docs and changeset gates exit 0 each: check:doc-types, check:doc-fences, docs:check-links, check:new-line-citations, check:control-bytes, check-changeset-presence, check-changeset-no-major, check:unreferenced-sources and check:self-import.
  • The README snippet still compiles under --strict against the rebuilt dist, with a red control. check:readme-exports --list judges resolveFieldReadFace and FieldReadFace real.

No ablation was re-run: this round renames, and behaviour does not change. The Tests and Gates sections below are the round-0 readings at 7f8be05a7, and the renamed names in them are the same symbols.

Contract surface

Every export, prop and type member this diff adds. All are additive, and nothing existing is renamed, removed or narrowed.

@object-ui/components, on the package entry (src/index.ts):

Added Kind Shape
setFieldReadFaceResolver function takes one argument, a FieldReadFaceResolver or undefined, and returns void. The last install wins; undefined removes the resolver.
resolveFieldReadFace function takes a FieldMetadata (or null / undefined) and returns a FieldReadFace or undefined. It answers undefined when no resolver is installed, the field is absent, or the resolver answers none.
FieldReadFace type React.ComponentType over FieldReadFaceProps
FieldReadFaceResolver type a function from FieldMetadata to FieldReadFace or undefined
FieldReadFaceProps interface three members, listed in the next three rows
FieldReadFaceProps.value member unknown, the field's stored value
FieldReadFaceProps.field member FieldMetadata (from @object-ui/types), the field's declaration
FieldReadFaceProps.dependentValues member optional, a string-keyed record of unknown values: the whole record, for a face that reads a sibling
RecordTitleChipProps.titleNode prop optional React.ReactNode, drawn inside the h1 in place of title's text

FieldReadFaceProps is the subset of @object-ui/fields' CellRendererProps the heading passes, so a registered cell renderer is a FieldReadFace without a cast. The fields package's type-check (which reads this package's built dist types) is green with its resolver typed that way.

@object-ui/fields: no export added. Its entry module now calls setFieldReadFaceResolver at load with an unexported function. sideEffects is true on both packages, so no bundler drops that call.

Mechanism readings (the PM's hypotheses, measured)

  • H1 holds. objectui's .objectstack-sha is 06cab4849a8a616487d468a11dd370e929137990. git merge-base --is-ancestor 99e4eaa227 06cab4849a8a exits 0 in the objectstack checkout, and that exit code proves the ancestry on its own. At the pin, packages/plugins/plugin-sharing/src/objects/sys-record-share.object.ts carries nameField: 'recipient_id'. Under recipient_id: Field.text({, it carries widget: 'recipient-picker', and dependsOn: ['recipient_type'],. All three were read with git show at the pin.
  • H2 holds, with one refinement. The face is a component with an async label (RecipientCellFace reads useRecipientLabel(value, dependentValues)), so the H1 renders a node, with the whole record as the row. The refinement: the fields resolver answers no face while the widget's key still draws the package default (the stored text). A host that loads @object-ui/fields but registers no face under the key therefore keeps today's string heading, not an equivalent heading drawn through TextCellRenderer. There is no per-widget case in containers.tsx.
  • H3: a plain module value is enough. The reading comes from code and from Chromium.
    • Console: apps/console/src/main.tsx statically imports @object-ui/app-shell. App-shell's entry statically imports views/widget-ref-cells/widget-ref-cell-renderers, which statically imports @object-ui/fields and registers RecipientCell at module load. ESM evaluates both before the entry's body calls render.
    • The showcase is served from that same console bundle.
    • Every other page:header host that gives the header a record (RecordDetailView, PagePreview and DetailView in plugin-detail) statically imports @object-ui/fields.
    • Chromium measured it: a scratch Vite entry mounted the real RecordDetailView the way the console does. Its module body, before the first render, read resolveFieldReadFace for a recipient-picker field and got RecipientCell.
    • So no subscription was added. The seam's doc comment states the bound: a host that loaded @object-ui/fields only after the first render would draw the stored text until its next render.
  • H4: the text readers keep the stored value. This is a code reading. No synchronous label path was added.
    • document.title: the console's AppShell is the one writer. ConsoleLayout passes it branding.title (app label and product name), so the record's title never reaches the tab.
    • aria-label: the header element takes only page:header's own aria bag, and the h1 has none. Its accessible name is its text, which is now the face's text (the stored id until the label read lands, then the name).
    • Breadcrumb, favourite and recent-item labels: RecordDetailView derives recordTitle with getRecordDisplayName(objectDef, readablePageRecord) and passes it to useRecordBreadcrumbTitle, addRecentItem and refreshFavoriteLabel. These read the stored value. For a select nameField, getRecordDisplayName applies no option label, so the select rung of objectui#13103 labels the H1 only, and the breadcrumb keeps the stored option value. They are unchanged by this PR.
  • H5 holds. Each control heads exactly as before, each pinned in page-header-title.widgetFace-13216.test.tsx: a plain text nameField; a select nameField (the objectui#13103 option label); a title template; a record with no nameField; an explicit title; an empty pointer value; and a host where no resolver is installed. The existing page-header-title.selectNameField-13103.test.tsx pins pass unchanged.
  • H6 holds. The acceptance pins go red with the fix reverted (ablation below), and the Chromium reading is below.

Tests

New, beside each piece:

  • packages/components/src/__tests__/page-header-title.widgetFace-13216.test.tsx: the real page:header with a stand-in resolver. It holds THE CARD (H1 reads "Ada Lovelace", not usr_9f3), the face's inputs (the value, the declaration, and the whole record with recipient_type), the array form of fields, the face outranking a titleFormat, and the seven controls above.
  • packages/components/src/__tests__/record-title-chip.titleNode-13216.test.tsx: the slot, plus a control without it.
  • packages/components/src/__tests__/field-face.seam-13216.test.tsx: the setter and reader.
  • packages/fields/src/__tests__/fieldFaceSeam-13216.test.tsx: tests that the fields module load fills the seam. It answers no face while the key draws the default face. It answers the face a host registers, which is the same component as getCellRenderer(resolveCellRendererType(field)). Its controls are no widget, filter-condition, a select base type and a format hint. End to end, the real page:header over a sys_record_share-shaped record, with an async stand-in host face, heads with the user's name; with no host face it heads with the stored id.

Runs:

  • the four new files: 4 files, 23 tests passed;
  • every components test file that names containers, page:header or RecordTitleChip, plus the seam file: 47 files, 631 tests passed;
  • every fields test file that names the cell-renderer registry: 91 files, 1521 passed, 7 skipped, with 1 file skipped by its own skip guard;
  • the full package suites at 7f8be05a7 (repo-root form, pnpm exec vitest run --maxWorkers=2 packages/PKG/):
    • packages/components/ exited 0, with 421 files passed and 1 skipped (422), and 4188 tests passed with 24 skipped;
    • packages/fields/ exited 0, with 273 files passed and 1 skipped (274), and 4199 tests passed with 7 skipped.

Ablations (fix committed first; each mutation landed through ablation-replace.mjs with anchor counts and blob hashes checked on disk; each restore was proven to have blob == HEAD and an empty git diff HEAD; vitest resolves both packages to src through the root alias, so there is no dist leg):

Mutation Red Green
drop titleNode={declaredFace} from the header 5: four face pins in components ("expected 'usr_9f3' to be 'Ada Lovelace'") and the fields end-to-end card 11 controls
drop setFieldReadFaceResolver(resolveDeclaredFieldFace); in fields 2: the registered-face answer and the end-to-end card 3
answer the default face too (return face;) 1: "expected [Function TextCellRenderer] to be undefined" 4
chip draws {title} only 1: the slot pin 1

Chromium (preinstalled /opt/pw-browsers/chromium): a scratch Vite entry, never committed and deleted after, mounted the real RecordDetailView from @object-ui/app-shell over a stub data source. The record was a sys_record_share with recipient_id: 'usr_9f3', recipient_type: 'user', and sys_user answering { id: 'usr_9f3', name: 'Ada Lovelace' }.

  • At the head: the H1 first read usr_9f3 while the lazy face loaded, then Ada Lovelace. Its markup was the face's own truncating span, and the page logged no errors. The face read sys_user once.
  • Control, with the rung ablated and the served module confirmed to carry zero titleNode: declaredFace: the H1 stayed usr_9f3 for the whole 10 s window.
  • After the restore, it read Ada Lovelace again.

Gates

Hand-derived for this diff, because dispatch-gates.mjs refuses objectui. Each exit code was captured before any pipe, at 7f8be05a7:

  • pnpm --filter @object-ui/components lint: exit 0, with 0 errors. This repository sets no --max-warnings.
  • pnpm --filter @object-ui/components type-check: exit 0. It covers both programs; --listFiles on the test program lists the three new test files and lib/field-face.ts.
  • pnpm --filter @object-ui/fields lint: exit 0, with 0 errors.
  • pnpm --filter @object-ui/fields type-check: exit 0. It ran after pnpm --filter '@object-ui/fields^...' run build and a fresh @object-ui/components build, because it reads that package's dist types. --listFiles lists fieldFaceSeam-13216.test.tsx.
  • pnpm check:new-line-citations: exit 0, with VERDICT new-cross-file-line-citations: 0 new citation(s).
  • pnpm check:control-bytes: exit 0.
  • node scripts/check-changeset-presence.mjs: exit 0, with "9 source file(s) of 2 released package(s) changed, and this change declares 1 changeset(s)".
  • node scripts/check-changeset-no-major.mjs: exit 0.
  • check:self-import, check:unreferenced-sources, check:phantom-deps, check:pending-changeset-literals, check:changeset-claims (report-only), check:test-path-roots and check:vi-mock-override-shape: exit 0 each.
  • Docs: check:doc-fences, check:doc-json, check:doc-types, check:doc-example-ids and docs:check-links exit 0 each.
  • pnpm check:readme-exports: exit 1, PRECONDITION. The population collapsed because the repository is not fully built (26 packages are unbuilt), so the run as a whole is NOT MEASURED. Its --list judges this README's resolveFieldReadFace and FieldReadFace imports real against the built dist.
  • pnpm check:doc-snippets: exit 2, PRECONDITION NOT MET (it needs a 34-package build), so it is NOT MEASURED. The new README snippet was compiled on its own instead (see Docs).
  • Exports or API snapshot: this repository has none. There is no *.api.md and no api-extractor configuration. The one entry-surface test in this package, chart-primitives-removed-7397.test.ts, asserts absences only, and it passes in the full suite.

Left to CI: the full test shards, pnpm lint across the repository, Bundle Analysis (the eager-closure budget, which needs a console build), and the two repository-wide gates whose local run could not execute (marked PRECONDITION above).

Docs

  • packages/components/README.md: a "Record heading through a field's face" section under Layout Components. Its snippet compiles under --strict against the built dist, with a red control.
  • content/docs/layout/page-header.mdx: the derived record heading's widget-face rule.
  • content/docs/guide/fields.md: "A widget's face on the record heading". The docs:check-links gate judges the cross-page anchor; a misspelt anchor turned it red, and the real one passes.

Changeset

.changeset/13216-header-widget-face.md:

  • @object-ui/components is minor, because the PR adds new exports and a new prop. The CONTRIBUTING versioning section makes a new feature minor, and major is never declared.
  • @object-ui/fields is patch: it adds no export, and its behaviour changes.

Acceptance notes

  • The breadcrumb, favourite and recent-item labels for a record share still read the stored user id (H4). They derive from getRecordDisplayName in RecordDetailView, outside this claim's file surface, and no synchronous label exists for them. This is a code reading, not filed: no carrier.
  • @object-ui/types' FieldMetadata declares no widget member, although the spec's field declares one. The seam therefore types field as FieldMetadata (the registry's own CellRendererProps.field), and the fields resolver reads the widget through resolveCellRendererType. That is an observation only, not filed.

The record share's heading defect was first measured by the maintainer's HotCRM pass (objectstack-ai/objectstack#24701). This change was implemented by a dispatched os-dev run for objectui domain:ui seat 1, session https://claude.ai/code/session_014MXhk1yjWh37d634hLy3p7.


Generated by Claude Code

page:header's declared-pointer rung printed a nameField's stored text even
when the field declares a widget whose read face names the value, so a
record share (nameField recipient_id, widget recipient-picker) headed its
page with a raw user id.

@object-ui/components gains a field-face seam (setFieldFaceResolver /
resolveFieldFace) that @object-ui/fields fills when it loads with the
registry's own getCellRenderer(resolveCellRendererType(field)) lookup,
bounded to widget promotions with a registered face. The header draws the
pointer value through that face in RecordTitleChip's new titleNode slot,
with the whole record as dependentValues; every other case heads as before.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014MXhk1yjWh37d634hLy3p7
README section for setFieldFaceResolver / resolveFieldFace and the
RecordTitleChip titleNode slot, the matching passages in the page-header
and field-registry guides, and the release declaration (components minor
for the new exports, fields patch). The header rung drops two explicit
any annotations and carries the static-components disable with its reason.

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

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 77 chunks) 3224.3 KB 3744.1 KB
Main entry chunk (gzip) 82.3 KB 350 KB
Entry file index-a0e6KkvD.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 (buildIdentity.js) 0.80KB 0.49KB
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 21.41KB 7.90KB
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) 616.73KB 150.35KB
core (index.js) 10.18KB 4.04KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 252.96KB 70.67KB
fields (index.js) 294.69KB 75.35KB
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.40KB 12.01KB
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.56KB 16.21KB
plugin-charts (index.js) 86.06KB 23.66KB
plugin-chatbot (index.js) 238.47KB 56.30KB
plugin-dashboard (index.js) 147.53KB 39.95KB
plugin-designer (index.js) 233.95KB 50.08KB
plugin-detail (index.js) 266.70KB 70.83KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 186.64KB 48.54KB
plugin-gantt (index.js) 178.46KB 45.13KB
plugin-grid (index.js) 276.56KB 76.82KB
plugin-kanban (index.js) 64.49KB 19.83KB
plugin-list (index.js) 149.81KB 39.28KB
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.54KB 24.33KB
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) 126.45KB 41.40KB
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: 7f8be05a7e8bfd9fd0aab609665c561e3986204b
Local-runs: none
Scope:

  • objectui, the PR at its head: packages/components/src/lib/field-face.ts, packages/components/src/index.ts, packages/components/src/custom/RecordTitleChip.tsx, packages/components/src/renderers/layout/containers.tsx (declaredFieldDef, the declaredFace rung), packages/fields/src/index.tsx (resolveDeclaredFieldFace, CellRendererProps, WIDGET_CELL_RENDERER_TYPES), packages/components/README.md, .changeset/13216-header-widget-face.md;
  • objectui origin/main: .changeset/config.json;
  • objectstack at objectui's pin 06cab4849a8a: packages/plugins/plugin-sharing/src/objects/sys-record-share.object.ts.

Face: the PR body declares Clause-②: yes, read with readClause2Line from scripts/pm/clause2-line.mjs: kind declared, value yes, arm none. The changeset carries no line, which objectui's changeset gates do not ask for. The diff widens @object-ui/components' public face and leaves @object-ui/fields' unchanged. Net diff git diff origin/main...7f8be05a7 is 13 files, +762 / −5, and matches the PR's file list. The head repo is objectstack-ai/objectui (not a fork); the PR is a draft.

① Derived judgments

(a) The added surface is additive and matches the PR body's "Contract surface" table: RIGHT.

  • src/index.ts adds two value exports (setFieldFaceResolver, resolveFieldFace) and three type exports (FieldFace, FieldFaceProps, FieldFaceResolver) from lib/field-face.ts. Nothing existing is renamed or removed.
  • RecordTitleChipProps gains the optional titleNode. title stays a required string, and the chip draws titleNode ?? title, so a caller passing no node renders byte-for-byte as before.

(b) The seam's semantics are fail-safe: RIGHT.

  • resolveFieldFace answers undefined when no resolver is installed or the field is absent. The page:header rung then falls through to resolvedTitle, the stored text, exactly as at main.
  • The rung runs only when the declared-pointer rung answers: no explicit title, and a non-empty declaredTitle.
  • resolveDeclaredFieldFace in fields answers only for keys in WIDGET_CELL_RENDERER_TYPES and refuses the default TextCellRenderer. So a host that registers no face under recipient-picker keeps today's heading.
  • One edge, recorded and not blocking: a host bundle carrying two copies of @object-ui/components would have fields fill the other copy's slot. That degrades to the stored text, the fail-safe direction.

(c) FieldFaceProps versus CellRendererProps: RIGHT.

  • CellRendererProps declares value: any, field: FieldMetadata and dependentValues?: Record<string, unknown>, and every other member is optional.
  • So FieldFaceProps (value: unknown, field, optional dependentValues) is assignable to it. A registered read cell is therefore a FieldFace, which type-check on both packages confirms.
  • The resolver is unexported in fields, so that package's published face does not move.

(d) The declaration the rule follows exists at the pin: RIGHT.

  • At objectui's pin 06cab4849a8a, sys_record_share declares nameField: 'recipient_id'.
  • That field declares widget: 'recipient-picker' with dependsOn: ['recipient_type'].
  • containers.tsx names no widget: the declaration decides.

(e) Docs, per AGENTS.md #2: RIGHT. A README section names the two functions, the props, the fail-safe answers and the read-at-render caveat. content/docs/layout/page-header.mdx and content/docs/guide/fields.md carry the matching passages.

Check-runs on the head, read 2026-10-21T01:33Z: 35 returned; 13 success, 3 skipped (the coverage legs and dependabot), 19 in progress, none failed. In-progress is recorded as what it is; the seat's flip waits for all of them.

② Semver level

Matches what the diff publishes.

  • @object-ui/components: minor: new exports and an optional prop, all additive.
  • @object-ui/fields: patch: its published face is unchanged, because the resolver is not exported.
  • Both are in the 40-package fixed group in .changeset/config.json, so the group moves at minor. Changeset Bump Policy and Changeset Fixed Group Check read success on the head.
  • No major, and no narrowing arm owed.

③ Boundary flags

Every dev note on objectui#13216 (report 6305778836), answered; the report lists no open question and no out-of-scope finding.

  1. No re-render subscription (H3): the dev measured that every host loads @object-ui/fields through a static import before its first render (console, showcase, RecordDetailView, PagePreview, plugin-detail). The seam documents the caveat. Accepted.
  2. Plain-text readers keep the stored value (H4): document.title never carried the record title; the h1's accessible name is now the face's text; breadcrumbs, favourites and recents read getRecordDisplayName and keep the stored value, as they already do for a select nameField. Named in the PR's Acceptance notes, not filed. Accepted.
  3. A one-frame raw id: in Chromium the H1 read usr_9f3 before Ada Lovelace, because the recipient face reads its label asynchronously. That is the face's own loading behaviour, the same as in a list column. Accepted.
  4. check:readme-exports and check:doc-snippets not measured as a whole locally (an unbuilt population): CI's Repo Gates and Build Docs are the verdict, and the flip waits for them.
  5. Line addresses: the PR body cites the pin's declaration by content, per objectui AGENTS.md rule 11. No contract bearing.

Implemented-by: claude/issue-13216-header-widget-face
Reviewed-by: session_014MXhk1yjWh37d634hLy3p7

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

席位核对 · ACCEPT · objectui#13216 · PR #13291 · domain:ui#1 · session_014MXhk1yjWh37d634hLy3p7 · 2026-10-21T01:34Z

Head 7f8be05a7e. Reviewed against the claim 6304863865, its read-ahead 6290854039, the previous dispatch's report 6290830597, and the dev report 6305778836. Each was read on GitHub rather than from the report. Clause-②: yes: the contract-review record is the comment just above this one, VERDICT PASS.

  1. Shape: draft PR against main. The body's first line is Fixes #13216, the only closing keyword. Assignee huangyiirene. 13 files, +762 / −5.
    • @object-ui/components: a new lib/field-face.ts, entry exports, an optional RecordTitleChip.titleNode, and one rung in page:header.
    • @object-ui/fields: an unexported resolver installed at module load.
    • Three test files, a README section, two docs pages, and one changeset (components minor, fields patch).
    • The diff stays inside the claim's route A surface. @object-ui/fields is not imported by components.
    • Not Tier H.
  2. The Expected, measured:
    • The pin 06cab4849a8a carries objectstack 99e4eaa227, and sys_record_share declares nameField: 'recipient_id' with widget: 'recipient-picker'.
    • In Chromium, the real RecordDetailView from @object-ui/app-shell heads a record share with "Ada Lovelace" (the face) at the head, and with usr_9f3 (the stored id) with the rung ablated.
  3. Controls pinned and green: each heads as before:
    • plain text nameField;
    • select nameField (objectui#13103);
    • titleFormat;
    • explicit title;
    • no nameField;
    • a widget with no read face of its own;
    • a key with no registered face;
    • a host with no resolver.
  4. Ablation:
    • dropping titleNode turns 5 red (the four face pins and the fields end-to-end card), and the 11 controls stay green;
    • dropping the install turns 2 red;
    • answering the default text face turns 1 red;
    • a chip that ignores the node turns 1 red.
    • Each restore was proved by blob hash and an empty git diff HEAD.
    • The full components and fields suites pass (4,188 and 4,199 tests).
  5. Gates: the dev's local runs at the head, all exit 0:
    • lint and type-check for both packages;
    • check:new-line-citations, check:control-bytes, changeset presence and no-major, check:self-import, check:phantom-deps, check:unreferenced-sources;
    • the doc gates (check:doc-fences, check:doc-json, check:doc-types, check:doc-example-ids, docs:check-links).
    • check:readme-exports and check:doc-snippets were not measurable locally (unbuilt population). CI is their verdict.
    • The flip waits for every check-run on this head to be green or an expected skip, and for the PR to be free of conflicts.
  6. Landing: not Tier H. The contract-review face is hit and answered by the record above, PASS.

The new exported FieldFace collided with app-shell's FieldFace (the
metadata form's edit-control union), which the one-authority-per-exported
-name gate refuses. The unpublished family moves together:
FieldFace -> FieldReadFace, FieldFaceProps -> FieldReadFaceProps,
FieldFaceResolver -> FieldReadFaceResolver, setFieldFaceResolver ->
setFieldReadFaceResolver, resolveFieldFace -> resolveFieldReadFace, across
both packages, the tests, the README, the docs guide and the changeset.
No behaviour change.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014MXhk1yjWh37d634hLy3p7
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Contract review

Supersedes the record on this PR at head 7f8be05a7: patch round 1 renamed the unpublished family after CI's one-authority gate found FieldFace already declared in @object-ui/app-shell (SchemaForm.tsx, a different thing). Everything below is re-read at the new head.

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 85fa8704812b3f446f18bdb3f66b72d736436c05
Local-runs: none
Scope:

  • objectui, the PR at its head: packages/components/src/lib/field-face.ts, packages/components/src/index.ts, packages/components/src/custom/RecordTitleChip.tsx, packages/components/src/renderers/layout/containers.tsx (declaredFieldDef, the declaredFace rung), packages/fields/src/index.tsx (resolveDeclaredFieldFace, CellRendererProps, WIDGET_CELL_RENDERER_TYPES), packages/components/README.md, .changeset/13216-header-widget-face.md;
  • objectui origin/main: .changeset/config.json;
  • objectstack at objectui's pin 06cab4849a8a: packages/plugins/plugin-sharing/src/objects/sys-record-share.object.ts.

Face: the PR body declares Clause-②: yes, read with readClause2Line from scripts/pm/clause2-line.mjs: kind declared, value yes, arm none. The changeset carries no line, which objectui's changeset gates do not ask for. The diff widens @object-ui/components' public face and leaves @object-ui/fields' unchanged. Net diff git diff origin/main...85fa87048 is 13 files and matches the PR's file list. The head repo is objectstack-ai/objectui (not a fork); the PR is a draft.

① Derived judgments

(a) The added surface is additive and matches the PR body's "Contract surface" table: RIGHT.

  • src/index.ts adds two value exports (setFieldReadFaceResolver, resolveFieldReadFace) and three type exports (FieldReadFace, FieldReadFaceProps, FieldReadFaceResolver) from lib/field-face.ts. Nothing existing is renamed or removed.
  • RecordTitleChipProps gains the optional titleNode. title stays a required string, and the chip draws titleNode ?? title, so a caller passing no node renders byte-for-byte as before.

(b) The seam's semantics are fail-safe: RIGHT.

  • resolveFieldReadFace answers undefined when no resolver is installed or the field is absent. The page:header rung then falls through to resolvedTitle, the stored text, exactly as at main.
  • The rung runs only when the declared-pointer rung answers: no explicit title, and a non-empty declaredTitle.
  • resolveDeclaredFieldFace in fields answers only for keys in WIDGET_CELL_RENDERER_TYPES and refuses the default TextCellRenderer. So a host that registers no face under recipient-picker keeps today's heading.
  • One edge, recorded and not blocking: a host bundle carrying two copies of @object-ui/components would have fields fill the other copy's slot. That degrades to the stored text, the fail-safe direction.

(c) FieldReadFaceProps versus CellRendererProps: RIGHT.

  • CellRendererProps declares value: any, field: FieldMetadata and dependentValues?: Record<string, unknown>, and every other member is optional.
  • So FieldReadFaceProps (value: unknown, field, optional dependentValues) is assignable to it. A registered read cell is therefore a FieldReadFace, which type-check on both packages confirms.
  • The resolver is unexported in fields, so that package's published face does not move.

(d) The declaration the rule follows exists at the pin: RIGHT.

  • At objectui's pin 06cab4849a8a, sys_record_share declares nameField: 'recipient_id'.
  • That field declares widget: 'recipient-picker' with dependsOn: ['recipient_type'].
  • containers.tsx names no widget: the declaration decides.

(e) Docs, per AGENTS.md #2: RIGHT. A README section names the two functions, the props, the fail-safe answers and the read-at-render caveat. content/docs/layout/page-header.mdx and content/docs/guide/fields.md carry the matching passages.

Check-runs on the head, read 2026-10-21T01:50Z: 35 returned; 11 success, 3 skipped (the coverage legs and dependabot), 21 in progress, none failed. In-progress is recorded as what it is; the seat's flip waits for all of them.

② Semver level

Matches what the diff publishes.

  • @object-ui/components: minor: new exports and an optional prop, all additive.
  • @object-ui/fields: patch: its published face is unchanged, because the resolver is not exported.
  • Both are in the 40-package fixed group in .changeset/config.json, so the group moves at minor. Changeset Bump Policy and Changeset Fixed Group Check read success on the head.
  • No major, and no narrowing arm owed.

③ Boundary flags

Every dev note on objectui#13216 (reports 6305778836 and 6306010270), answered; neither lists an open question or an out-of-scope finding.

  1. No re-render subscription (H3): the dev measured that every host loads @object-ui/fields through a static import before its first render (console, showcase, RecordDetailView, PagePreview, plugin-detail). The seam documents the caveat. Accepted.
  2. Plain-text readers keep the stored value (H4): document.title never carried the record title; the h1's accessible name is now the face's text; breadcrumbs, favourites and recents read getRecordDisplayName and keep the stored value, as they already do for a select nameField. Named in the PR's Acceptance notes, not filed. Accepted.
  3. A one-frame raw id: in Chromium the H1 read usr_9f3 before Ada Lovelace, because the recipient face reads its label asynchronously. That is the face's own loading behaviour, the same as in a list column. Accepted.
  4. check:readme-exports and check:doc-snippets not measured as a whole locally (an unbuilt population): CI's Repo Gates and Build Docs are the verdict, and the flip waits for them.
  5. Patch round 1, the rename:
    • scripts/__tests__/one-authority-per-exported-name-6273.test.ts passes at the head: 11 of 11.
    • Its control leg (the old FieldFace declaration put back) turns it red with the same message CI gave.
    • None of the five old names occurs in any file this PR changes. Names only changed, so no ablation is owed.
  6. Line addresses: the PR body cites the pin's declaration by content, per objectui AGENTS.md rule 11. No contract bearing.

Implemented-by: claude/issue-13216-header-widget-face
Reviewed-by: session_014MXhk1yjWh37d634hLy3p7

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

席位核对 · ACCEPT · objectui#13216 · PR #13291 · domain:ui#1 · session_014MXhk1yjWh37d634hLy3p7 · 2026-10-21T01:51Z

This record supersedes the seat's ACCEPT at head 7f8be05a7. The head is now 85fa87048, after patch round 1 (dev report 6306010270). Clause-②: yes: the superseding contract-review record is the comment just above this one, VERDICT PASS.

  1. Why round 1:
    • CI's Test shard 11/16 failed one-authority-per-exported-name-6273 at 7f8be05a7: FieldFace — a NEW colliding name, because @object-ui/app-shell's SchemaForm.tsx already declares a different FieldFace.
    • The seat called a rename of the unpublished family, and the dev did it in one commit:
      • FieldFace → FieldReadFace, FieldFaceProps → FieldReadFaceProps, FieldFaceResolver → FieldReadFaceResolver;
      • setFieldFaceResolver → setFieldReadFaceResolver, resolveFieldFace → resolveFieldReadFace.
    • App-shell is untouched.
  2. Read at the new head:
    • none of the five old names occurs in any file this PR changes;
    • the entry exports the new names;
    • fields installs through setFieldReadFaceResolver;
    • the PR body's "Contract surface" table and code spans carry the new names, with a "Patch round 1" note.
    • The diff 7f8be05a7..85fa87048 is 10 files, +71 / −67: names and comments only.
  3. The gate that failed passes:
    • one-authority-per-exported-name-6273: 11 of 11.
    • Its control leg (the old declaration put back) turns red with CI's message.
    • The four new test files and the containers / page:header / RecordTitleChip set pass: 48 files, 636 tests.
    • Both packages' lint and type-check, and the doc gates, exit 0.
    • Names only changed, so the round-0 ablations stand.
  4. Everything else in the round-0 ACCEPT stands: the Expected measured in Chromium, the eight controls, the docs, and the changeset (components minor, fields patch).
  5. Landing: not Tier H. The contract-review face is answered above, PASS. The flip waits for every check-run on 85fa87048 to be green or an expected skip, and for the PR to be free of conflicts.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 77 chunks) 3224.3 KB 3744.1 KB
Main entry chunk (gzip) 81.2 KB 350 KB
Entry file index-DVgDqAoU.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 (buildIdentity.js) 0.80KB 0.49KB
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 21.41KB 7.90KB
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) 616.74KB 150.35KB
core (index.js) 10.18KB 4.04KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 252.96KB 70.67KB
fields (index.js) 294.69KB 75.35KB
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.40KB 12.01KB
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.56KB 16.21KB
plugin-charts (index.js) 86.06KB 23.66KB
plugin-chatbot (index.js) 238.47KB 56.30KB
plugin-dashboard (index.js) 147.53KB 39.95KB
plugin-designer (index.js) 233.95KB 50.08KB
plugin-detail (index.js) 266.70KB 70.83KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 186.64KB 48.54KB
plugin-gantt (index.js) 178.46KB 45.13KB
plugin-grid (index.js) 276.56KB 76.82KB
plugin-kanban (index.js) 64.49KB 19.83KB
plugin-list (index.js) 149.81KB 39.28KB
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.54KB 24.33KB
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) 126.45KB 41.40KB
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
objectstack-fleet Bot marked this pull request as ready for review October 21, 2026 02:00
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge October 21, 2026 02:00
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit 8701f1e Oct 21, 2026
37 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-13216-header-widget-face branch October 21, 2026 02:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Improvements or additions to documentation package: components package: fields tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

components: the record page heading draws a widget-hinted nameField's stored value, not its face, so a record share's H1 is the recipient's raw user id

2 participants