Skip to content

feat(flow-designer): #2670 Phase 3 — select & edit nested container nodes via the schema-driven inspector#2699

Merged
os-zhuang merged 4 commits into
mainfrom
claude/step-logs-run-observability-plxc2p
Jul 19, 2026
Merged

feat(flow-designer): #2670 Phase 3 — select & edit nested container nodes via the schema-driven inspector#2699
os-zhuang merged 4 commits into
mainfrom
claude/step-logs-run-observability-plxc2p

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Part of #2670 (Phase 3). Builds on Phase 1 (#2675, read-only region popover) and Phase 2 (#2680, inline region expansion). This phase makes a node inside a container region (loop.body / parallel.branches[] / try_catch.try/catch) a first-class, editable selection through the same schema-driven inspector as a top-level node.

Three self-contained commits, each independently green.

B — xExpression marker + expression-mode validation gating

The config forms are (ADR-0018) generated server-first from a node type's published configSchema, and the adapter had no way to tell a bare-CEL expression from an interpolate() {var} template — so every string became plain text, and the ADR-0032 brace-trap fired on any expression-kind field. Now the engine publishes a loop configSchema, the online (schema→text) and offline (hardcoded→expression, mis-validated) forms had already diverged, so this is also a bug fix.

  • json-schema-to-fields: read a string property's xExpression: 'expression' | 'template' marker. 'expression' → CEL field; 'template'expression + refMode: 'template' (mono + picker, {var}, no predicate check); multiline variants → textarea in the matching mode; object-list columns map expression→CEL, template→text. Precedence xRef > enum > xExpression > scalar; unknown → text.
  • Gate the inline brace-trap and the canvas expression badge on the effective mode, so an expression field in refMode: 'template' (e.g. a loop/map collection authored {leadList}) is no longer flagged as a malformed condition.
  • Flag loop.collection / map.collection refMode: 'template'; all other expression fields are genuine predicates (audited, unchanged).

C1 — nested-node selection on the inline canvas

  • flow-nested-selection.ts: a nested node is encoded into the flat MetadataSelection as containerId::regionKey::nodeId under a distinct NESTED_NODE_KIND. Parsing anchors the middle segment to the closed set of real region keys, so an ambiguous id still splits deterministically — and since the write-back matches every segment exactly against the draft, a mis-parse can only ever resolve to "not found", never a wrong write. regionConfigPathOf / regionLabelOf mirror extractRegions (locked by an anti-drift test).
  • A region node becomes a selectable control (button role, keyboard, selection ring) only in design mode; read-only trays stay byte-identical to Phase 2. FlowPreview owns the codec end; the canvas only ever sees the structured path.

C2 — schema-driven inspector for nested nodes (path write-back)

  • locateFlowNode(draft, selection) → a NodeLocation with the resolved node, whether it's nested, its scope anchor (the container id — a region runs in its container's outer scope, ADR-0031), and a write(next) that produces the draft patch. FlowNodeInspector routes every edit through it, so it never branches on where the node lives; FlowInspector needs no routing change.
  • A nested node gets a container › region › node breadcrumb and injects the container's loop iteratorVariable into scope. It is edit-only this phase: id read-only (with a hint), delete hidden, and a nested decision drops the virtual Target column.

Two traps this design avoids (with regression tests)

  1. Array objectification — writing a nested node with a generic setAtPath through the region path would turn config.branches ([…]) into {0:…} and mis-prune. The nested write rebuilds the container with explicit spreads + spliceArray, keeping arrays arrays and preserving region.edges / a branch's name. Test asserts Array.isArray(branches) survives.
  2. Phantom top-level edges — a nested decision's branches route within its region, not on draft.edges; mirroring there would forge top-level edges pointing at nested ids. Edge mirroring (and the Target column) is gated !nested; the commit patch carries no edges.

Non-goals (follow-ups)

Nested structural editing (add/remove/drag/reparent), recursive container expansion, problems traversal into regions (this inspector is the first validation surface for a nested node), nested id rename, parallel horizontal layout. A nested decision row's stale target key is stripped by rowsToList on first commit (same terminal state as top level).

Companion

Descriptor-side counterpart (emit xExpression from the executor Zod, fill the ~11 node types with no configSchema): objectstack-ai/objectstack#3304.

Verification

  • Unit: json-schema-to-fields, flow-node-config, flow-expr-problems, FlowNodeConfigField, flow-nested-selection (codec + locator + D5 array regression), FlowCanvas (nested selection), FlowNodeInspector (nested read/write, id-lock, delete-hidden, decision Target strip, stale→empty), useFlowScope (extraRefs). Full metadata-admin suite: 98 files / 865 tests pass.
  • turbo type-check (app-shell + console) clean; eslint clean (no new warnings).
  • Browser (offline preview gallery, ?only=flow): expand the loop → select the nested node (ring on) → inspector shows the breadcrumb + schema fields + read-only id → rename → canvas node updates live → top-level select/delete unaffected → collapse clears the selection. All checkpoints pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VuvxWgoadqryqBcjs7TpVi


Generated by Claude Code

claude added 3 commits July 19, 2026 16:15
…gating

Structured-inspector Phase 3 (#2670), part B. The flow designer's config
forms are (per ADR-0018) driven server-first from a node type's published
`configSchema` (jsonSchemaToFlowFields), falling back to the hardcoded client
form. Two gaps meant CEL vs `interpolate()` template semantics were lost:

  1. The schema adapter had no way to tell an expression apart from a template
     — every string became plain `text`, dropping the mono editor, the data
     picker's brace mode, and validation.
  2. The inline brace-trap (ADR-0032) and the canvas expression badges fired on
     ANY `expression`-kind field. A loop / map `collection`, whose value is a
     single-brace `{leadList}` template (not bare CEL), was flagged as a
     malformed condition — the online (schema→text) and offline (hardcoded→
     expression, mis-validated) forms had already diverged now that the engine
     publishes a loop configSchema, so this is also a bug fix.

Changes:

  • json-schema-to-fields: read a string property's `xExpression: 'expression'
    | 'template'` marker (Zod `.meta()` channel, same as `xRef` /
    `xEnumDeprecated`). 'expression' → a CEL `expression` field; 'template' →
    `expression` + `refMode: 'template'` (mono + picker, `{var}` mode, no
    predicate check); multiline variants map to `textarea` in the matching
    refMode; object-list columns map expression → CEL column, template → text
    (columns carry no refMode). Precedence: xRef > enum > xExpression > scalar.
    Unknown values degrade to plain text.

  • FlowNodeConfigField: gate the ADR-0032 brace-trap on the EFFECTIVE mode —
    an `expression` field in `refMode: 'template'` is a legal `{var}` template,
    so the CEL check is suppressed and the scope-aware note switches to
    template (`{…}`-hole) semantics.

  • flow-expr-problems: skip `refMode: 'template'` expression fields when
    scanning the draft, so canvas badges match the inline check.

  • flow-node-config: flag loop.collection / map.collection `refMode: 'template'`
    (their `{leadList}` / `{items}` placeholders are templates). All other
    expression fields are genuine predicates — audited, left as-is.

Tests: xExpression → four field mappings + illegal-value degrade + precedence
+ columns; loop/map collection refMode + predicate fields unchanged; the loop
collection template no longer reported by flow-expr-problems while a real CEL
predicate still is; FlowNodeConfigField renders no brace error on a `{leadList}`
template, a template note on an out-of-scope hole, and still errors on a
`{record.x}` predicate mistake.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VuvxWgoadqryqBcjs7TpVi
Structured-inspector Phase 3 (#2670), part C1. Phase 2 (#2680) rendered a
container's regions (loop.body / parallel.branches / try_catch.try/catch)
inline on the canvas, but the nested nodes were read-only — editing their
config still meant hand-writing JSON. This makes a nested node selectable so
the next step (C2) can route it to the schema-driven inspector.

  • flow-nested-selection.ts (new): the selection contract for a nested node.
    A `MetadataSelection` is flat (`{ kind, id }`), so a nested node is encoded
    as `containerId::regionKey::nodeId` under a distinct `NESTED_NODE_KIND`.
    Parsing anchors the middle segment to the CLOSED set of real region keys
    (`body` / `try` / `catch` / `branch-N`), so an ambiguous id still splits
    deterministically — and because the write-back (C2) matches every segment
    exactly against the draft, a mis-parse can only ever resolve to "not found",
    never a wrong write. `regionConfigPathOf` / `regionLabelOf` mirror
    extractRegions so the codec and the canvas layout never disagree on the key
    set (locked by an anti-drift test).

  • flow-region-view: a RegionNode becomes a selectable control (button role,
    keyboard, selection ring) when given an `onSelect`; read-only and
    byte-identical to Phase 2 otherwise. The `data-region-node-id` hook is
    always emitted for targeting.

  • flow-canvas-parts / FlowCanvas: thread the selected nested node (matched by
    container id → selection ring) and an `onSelectNested` emitter through
    NodeCard. Nested selection is gated on design mode, exactly like top-level
    selection, so read-only trays stay read-only. Collapsing a container clears
    a now-hidden nested selection (computed outside the state updater so a
    canvas remount can't wrongly clear a valid selection).

  • FlowPreview: owns the codec end — decodes a `NESTED_NODE_KIND` selection to
    the structured path (the canvas only ever sees the path) and encodes back on
    select. A nested selection naturally zeroes `selectedId` (kind !== 'node'),
    so top-level keyboard delete / palette wiring disable themselves with no
    defensive code.

Tests: codec round-trip (incl. branch-7, `::`-bearing node ids) + rejects
illegal tokens; region path/label mapping + anti-drift vs extractRegions;
FlowCanvas — a body-node click emits the structured path and never bubbles to
the container, the selection ring lands on the matching node, collapse clears
the selection, a parallel branch node is tagged `branch-1`, and the tray stays
read-only (no role, no routing) outside design mode.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VuvxWgoadqryqBcjs7TpVi
…es (path write-back)

Structured-inspector Phase 3 (#2670), part C2 — the payoff. A node inside a
container region (loop.body / parallel.branches[] / try_catch.try/catch) now
opens in the SAME schema-driven inspector as a top-level node and writes back
into `config.<region>.nodes[i]`.

  • flow-nested-selection: adds `locateFlowNode(draft, selection)` → a
    NodeLocation with the resolved node, whether it is nested, its scope anchor
    (the container id — a region runs in its container's outer scope, ADR-0031),
    and a `write(next)` that produces the draft patch. The nested write rebuilds
    the container with EXPLICIT SPREADS + spliceArray, never a path walk — a
    generic setAtPath through the region path would objectify the
    `config.branches` array and mis-prune; this keeps arrays arrays and preserves
    each region's `edges` / a branch's `name`. A stale location (deleted node,
    moved draft) returns null so the caller no-ops.

  • FlowNodeInspector: resolves through locateFlowNode and routes every edit
    (patchNode / setField / commitAdvanced / remove) through loc.write. A nested
    node gets a `container › region › node` breadcrumb; its scope injects the
    container's loop iteratorVariable (excluded from the graph walk at the
    container's own id). Nested nodes are edit-only this phase: id is read-only
    (with a hint — rename in the container's Advanced JSON), delete is hidden,
    and a nested decision drops the virtual Target column AND skips top-level
    edge mirroring — a region's internal routing is not managed here, and
    mirroring would otherwise forge phantom top-level edges to nested ids.
    FlowInspector needs no routing change: a non-edge selection already lands on
    FlowNodeInspector, and a nested selection zeroes `selectedId` so top-level
    keyboard delete / palette wiring self-disable.

  • useFlowScope: takes an optional `extraRefs`, merged before de-dup / grouping.

  • preview-samples: the console flow sample gains a permanent loop container
    with a body region, so the preview gallery can drive nested selection + edit.

Tests: locateFlowNode top-level + nested write-back (body edges / sibling
config preserved, no top-level edges emitted, `Array.isArray(branches)` holds,
stale → null); FlowNodeInspector nested read (breadcrumb + schema fields),
nested label write into body.nodes[i] / branch-1.nodes[0], id locked + delete
hidden + hint, nested decision drops Target and never mirrors edges (top-level
keeps it), stale path → empty state naming the node id; useFlowScope extraRefs
merge / de-dup / "Loop item" grouping.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VuvxWgoadqryqBcjs7TpVi
@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectui Ignored Ignored Jul 19, 2026 5:12pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Main entry (gzip) 28.0 KB 350 KB
Entry file index-Bp3GFEHq.js
Status PASS

📦 Bundle Size Report

Package Size Gzipped
app-shell (index.js) 8.19KB 2.96KB
app-shell (runtime-config.js) 7.42KB 2.32KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 7.57KB 2.97KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 1.17KB 0.53KB
auth (AuthProvider.js) 21.70KB 4.21KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.12KB 3.41KB
auth (LoginForm.js) 17.86KB 5.29KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.43KB 2.09KB
auth (SocialSignInButtons.js) 9.60KB 3.89KB
auth (UserMenu.js) 3.40KB 1.22KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 33.74KB 8.53KB
auth (createAuthenticatedFetch.js) 3.93KB 1.55KB
auth (index.js) 1.83KB 0.79KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 4.86KB 0.85KB
auth (useIsWorkspaceAdmin.js) 1.61KB 0.85KB
collaboration (CommentThread.js) 18.38KB 4.49KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 3.65KB 1.42KB
collaboration (PresenceProvider.js) 2.42KB 0.96KB
collaboration (index.js) 1.25KB 0.53KB
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) 450.03KB 97.83KB
core (index.js) 1.82KB 0.62KB
create-plugin (index.js) 9.28KB 2.98KB
data-objectstack (index.js) 120.81KB 30.10KB
fields (index.js) 208.98KB 51.09KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (currency.js) 1.22KB 0.64KB
i18n (i18n.js) 4.32KB 1.77KB
i18n (index.js) 2.46KB 0.96KB
i18n (pickLocalized.js) 1.70KB 0.83KB
i18n (provider.js) 5.37KB 1.72KB
i18n (useObjectLabel.js) 21.22KB 4.69KB
i18n (useSafeTranslation.js) 2.87KB 1.28KB
layout (index.js) 38.45KB 10.67KB
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.74KB
mobile (index.js) 1.50KB 0.62KB
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) 4.42KB 1.27KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.71KB 0.42KB
mobile (useResponsiveConfig.js) 1.36KB 0.63KB
mobile (useSpecGesture.js) 1.77KB 0.77KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 5.90KB 2.15KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 3.46KB 1.03KB
permissions (evaluator.js) 4.00KB 1.23KB
permissions (index.js) 0.91KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.52KB
permissions (usePermissions.js) 1.50KB 0.70KB
plugin-ai (index.js) 15.71KB 3.79KB
plugin-calendar (index.js) 45.12KB 12.34KB
plugin-charts (index.js) 46.31KB 13.06KB
plugin-chatbot (index.js) 179.58KB 42.81KB
plugin-dashboard (index.js) 117.37KB 29.18KB
plugin-designer (index.js) 213.43KB 42.95KB
plugin-detail (index.js) 213.56KB 51.99KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 102.94KB 24.95KB
plugin-gantt (index.js) 162.24KB 39.49KB
plugin-grid (index.js) 174.72KB 46.05KB
plugin-kanban (index.js) 47.23KB 12.88KB
plugin-list (index.js) 98.22KB 23.21KB
plugin-map (index.js) 16.80KB 5.24KB
plugin-markdown (index.js) 13.65KB 4.67KB
plugin-report (index.js) 37.81KB 9.98KB
plugin-timeline (index.js) 25.37KB 7.20KB
plugin-tree (index.js) 8.36KB 2.81KB
plugin-view (index.js) 85.72KB 20.86KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.55KB 0.67KB
providers (UploadProvider.js) 11.71KB 3.53KB
providers (index.js) 0.44KB 0.22KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 3.19KB 1.38KB
react (LazyPluginLoader.js) 3.77KB 1.33KB
react (SchemaRenderer.js) 18.70KB 6.09KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 0.76KB 0.42KB
sdui-parser (codegen.js) 4.09KB 1.74KB
sdui-parser (index.js) 2.16KB 0.94KB
sdui-parser (parse.js) 10.04KB 2.82KB
sdui-parser (types.js) 0.29KB 0.24KB
sdui-parser (validate.js) 4.69KB 1.48KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 0.99KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 0.20KB 0.18KB
types (crud.js) 0.20KB 0.18KB
types (data-display.js) 0.20KB 0.18KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 0.77KB 0.41KB
types (disclosure.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 (index.js) 1.67KB 0.75KB
types (layout.js) 0.20KB 0.18KB
types (mobile.js) 0.20KB 0.18KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (spec-report.js) 5.26KB 1.96KB
types (theme.js) 0.20KB 0.18KB
types (ui-action.js) 0.75KB 0.46KB
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

…ntainer types

Extend the preview-gallery flow sample with a `parallel` (two named branches)
and a `try_catch` (try + catch) container alongside the existing `loop`, using
the same node shapes as the framework showcase flows (Batch Reminders /
Fan-out Notify / Resilient Sync). The gallery now demonstrates and verifies
nested-node selection + schema-driven editing across every container region
kind (body / branch-N / try / catch) — browser-checked end to end: expand →
select nested node (ring + `container › region › node` breadcrumb) → edit →
live canvas update, for each container.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VuvxWgoadqryqBcjs7TpVi
@os-zhuang
os-zhuang marked this pull request as ready for review July 19, 2026 17:13
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Main entry (gzip) 28.0 KB 350 KB
Entry file index-Bp3GFEHq.js
Status PASS

📦 Bundle Size Report

Package Size Gzipped
app-shell (index.js) 8.19KB 2.96KB
app-shell (runtime-config.js) 7.42KB 2.32KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 7.57KB 2.97KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 1.17KB 0.53KB
auth (AuthProvider.js) 21.70KB 4.21KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.12KB 3.41KB
auth (LoginForm.js) 17.86KB 5.29KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.43KB 2.09KB
auth (SocialSignInButtons.js) 9.60KB 3.89KB
auth (UserMenu.js) 3.40KB 1.22KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 33.74KB 8.53KB
auth (createAuthenticatedFetch.js) 3.93KB 1.55KB
auth (index.js) 1.83KB 0.79KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 4.86KB 0.85KB
auth (useIsWorkspaceAdmin.js) 1.61KB 0.85KB
collaboration (CommentThread.js) 18.38KB 4.49KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 3.65KB 1.42KB
collaboration (PresenceProvider.js) 2.42KB 0.96KB
collaboration (index.js) 1.25KB 0.53KB
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) 450.03KB 97.83KB
core (index.js) 1.82KB 0.62KB
create-plugin (index.js) 9.28KB 2.98KB
data-objectstack (index.js) 120.81KB 30.10KB
fields (index.js) 208.98KB 51.09KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (currency.js) 1.22KB 0.64KB
i18n (i18n.js) 4.32KB 1.77KB
i18n (index.js) 2.46KB 0.96KB
i18n (pickLocalized.js) 1.70KB 0.83KB
i18n (provider.js) 5.37KB 1.72KB
i18n (useObjectLabel.js) 21.22KB 4.69KB
i18n (useSafeTranslation.js) 2.87KB 1.28KB
layout (index.js) 38.45KB 10.67KB
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.74KB
mobile (index.js) 1.50KB 0.62KB
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) 4.42KB 1.27KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.71KB 0.42KB
mobile (useResponsiveConfig.js) 1.36KB 0.63KB
mobile (useSpecGesture.js) 1.77KB 0.77KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 5.90KB 2.15KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 3.46KB 1.03KB
permissions (evaluator.js) 4.00KB 1.23KB
permissions (index.js) 0.91KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.52KB
permissions (usePermissions.js) 1.50KB 0.70KB
plugin-ai (index.js) 15.71KB 3.79KB
plugin-calendar (index.js) 45.12KB 12.34KB
plugin-charts (index.js) 46.31KB 13.06KB
plugin-chatbot (index.js) 179.58KB 42.81KB
plugin-dashboard (index.js) 117.37KB 29.18KB
plugin-designer (index.js) 213.43KB 42.95KB
plugin-detail (index.js) 213.56KB 51.99KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 102.94KB 24.95KB
plugin-gantt (index.js) 162.24KB 39.49KB
plugin-grid (index.js) 174.72KB 46.05KB
plugin-kanban (index.js) 47.23KB 12.88KB
plugin-list (index.js) 98.22KB 23.21KB
plugin-map (index.js) 16.80KB 5.24KB
plugin-markdown (index.js) 13.65KB 4.67KB
plugin-report (index.js) 37.81KB 9.98KB
plugin-timeline (index.js) 25.37KB 7.20KB
plugin-tree (index.js) 8.36KB 2.81KB
plugin-view (index.js) 85.72KB 20.86KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.55KB 0.67KB
providers (UploadProvider.js) 11.71KB 3.53KB
providers (index.js) 0.44KB 0.22KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 3.19KB 1.38KB
react (LazyPluginLoader.js) 3.77KB 1.33KB
react (SchemaRenderer.js) 18.70KB 6.09KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 0.76KB 0.42KB
sdui-parser (codegen.js) 4.09KB 1.74KB
sdui-parser (index.js) 2.16KB 0.94KB
sdui-parser (parse.js) 10.04KB 2.82KB
sdui-parser (types.js) 0.29KB 0.24KB
sdui-parser (validate.js) 4.69KB 1.48KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 0.99KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 0.20KB 0.18KB
types (crud.js) 0.20KB 0.18KB
types (data-display.js) 0.20KB 0.18KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 0.77KB 0.41KB
types (disclosure.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 (index.js) 1.67KB 0.75KB
types (layout.js) 0.20KB 0.18KB
types (mobile.js) 0.20KB 0.18KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (spec-report.js) 5.26KB 1.96KB
types (theme.js) 0.20KB 0.18KB
types (ui-action.js) 0.75KB 0.46KB
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants