Skip to content

fix(plugin-kanban): each column header totals the view's summarizeField (objectui#11629) - #11653

Merged
objectstack-fleet[bot] merged 10 commits into
mainfrom
claude/issue-11629-kanban-column-sum
Oct 5, 2026
Merged

objectstack-fleet[bot] merged 10 commits into
mainfrom
claude/issue-11629-kanban-column-sum

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Fixes #11629

Clause-②: no

Session: https://claude.ai/code/session_015W8GBu6sBiqus2L2xjMsAL. This is the dispatched os-dev run for the domain:ui seat 1 claim on this card. The first round resumed from branch head 7c30a25 after a container restart. Patch round 2 adds the producer half under the seat's surface extension, comment 5991348386 on the card.

A kanban view's summarizeField now shows as a per-column total on the board. The key is declared in @objectstack/spec's KanbanConfig as "Field to sum at top of column". Two halves were missing, and this PR carries both:

  • Producer (app-shell). On the console object page, kanbanViewOptions is the only kanban config ListView receives when the stored view row carries no options.kanban bag. It relayed groupByField, titleField and cardFields, and dropped summarizeField. So on the card's own repro route (/apps/com.example.showcase/showcase_task/view/showcase_task.board) the key never reached ListView's projection or the generated board. It is now relayed when the view declares it.
  • Renderer (plugin-kanban). The object-kanban board never read the key. Each column header now paints the total beside the count.

What changed

packages/app-shell/src/views/ObjectView.tsx, kanbanViewOptions only:

  • relays summarizeField when the view's kanban block declares it;
  • leaves the key absent when the view declares none, as with the lane, so no default field is invented.

packages/plugin-kanban/src:

  • KanbanColumnSummary.ts (new, not re-exported from index.tsx):
    • a package-private context holding the field, its label, and renderTotal, which writes a total through the field's own cell renderer;
    • sumLaneField, the sum of one lane's cards.
  • ObjectKanban.tsx:
    • reads summarizeField off the node, typed on GateBoundKanbanSchema (the module-local read type that already types the gate-written sort);
    • provides the context only once the object definition has settled, the field is declared, and the viewer may read the field.
  • KanbanImpl.tsx:
    • LaneTotal paints a Σ glyph and the total beside the count, on the flat header and on the swimlane layout's column-title row;
    • the field's label is the total's tooltip and screen-reader name, and the glyph is aria-hidden;
    • no translation key is added.

Docs and changeset:

  • content/docs/plugins/plugin-kanban.mdx: one Features line for column totals.
  • .changeset/11629-kanban-column-sum.md: @object-ui/plugin-kanban and @object-ui/app-shell, both patch. The note that the object page did not forward the key is replaced by one sentence for the relay.

Behaviour:

What the total covers

The board has no per-column pager. It makes one query, capped by $top (the authored limit, else DEFAULT_KANBAN_FETCH_BATCH_SIZE), and groups the rows that come back.

  • The total covers the cards the board loaded, which is the same set the count counts.
  • When that fetch comes back saturated, the total carries the same + the count carries (6+), so it never reads as the group's full total.
  • No aggregate query is added. The board's count does not issue one either.
  • On the showcase the fetch is not saturated: 10 task rows against a window of 100, and the data API answers hasMore: false. So the totals there are complete.

Evidence (final head 7e2cb00)

Gates

Run from the repo root. Each exit code was captured before any pipe.

  • pnpm exec vitest run packages/app-shell/: exit 0, Test Files 1005 passed | 1 skipped (1006), Tests 9979 passed | 9 skipped (9988).
  • pnpm exec vitest run packages/plugin-kanban/: exit 0, Test Files 66 passed (66), Tests 454 passed (454).
  • pnpm exec turbo run type-check --filter=@object-ui/app-shell --concurrency=2: exit 0, 30/30 tasks (closure via ^build). The new pin is in the tsconfig.test.json program. This and the app-shell lint ran at 91d32af; the merge that made 7e2cb00 changed no app-shell file.
  • pnpm exec turbo run build --filter='@object-ui/plugin-kanban...' --concurrency=2 and pnpm --filter @object-ui/plugin-kanban type-check: exit 0 (13/13 tasks), then exit 0.
  • pnpm --filter @object-ui/app-shell lint and pnpm --filter @object-ui/plugin-kanban lint: exit 0 with 0 errors, and no warning on any line this branch adds.
  • Each of these exits 0: check:new-line-citations (0 new), check:control-bytes, check:changeset-claims, check:pending-changeset-literals, check:phantom-deps, check:test-path-roots, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape, check:handler-key-reads, check:metadata-write-doors, check:icon-record-names, check:i18n-keys, check:unreferenced-sources, check:doc-types, check:doc-fences, check:doc-example-ids, check:doc-example-readers, check-changeset-presence (2 released packages, 1 changeset) and check-changeset-no-major.
  • check:doc-snippets and check:doc-examples need a scoped build first; without it they report PRECONDITION NOT MET (exit 2), which means they did not run. After the build their own message names (turbo run build over check-doc-snippet-types.mjs --build-filter, exit 0, 35/35 tasks), check:doc-snippets exits 0 (777 of 777 blocks judged, 0 failed) and check:doc-examples exits 0 (every covered @example compiles or fails as its ledger row declares).

Pins

  • ObjectView.kanbanSummarizeField-11629.test.ts (app-shell, new): kanbanViewOptions carries summarizeField when the view declares it, also on the detector path where the view names no lane. It omits the key when the view's kanban block lacks it, and when the view has no kanban block; the omission arms carry a control that the bag is not empty.
  • The other kanbanViewOptions readers stay green (6 files, 75 tests together with the new pin): ObjectView.kanbanLane-8193, ObjectView.kanbanGroupByRetired-8213 (its refused-key ratchet is unchanged, because summarizeField is a declared spec key), ObjectView.relayRungCensus-7559, ObjectView.storedOptionsBag-10380 and plugin-list's ListView.strayGroupByRefused-8365.
  • columnSummarizeField-11629.test.tsx (plugin-kanban) has 12 rows: mixed values and nulls with an empty column; the label as tooltip and screen-reader name; the NO SUMMARIZE FIELD control; a currency total that reads like the card's cell; 0.1 + 0.2 reads 0.3; a non-numeric lane; WINDOWED 6+ with an UNSATURATED control; the swimlane title row; DENIED with a READABLE control; an undeclared field.

Ablations

Each ablation went through ablation-replace: the anchor hit once, the blob moved, and the restore was proven by blob == HEAD and an empty git diff HEAD. The expected direction was written down before each run, and every run went red as expected.

mutation pin result
relay removed from kanbanViewOptions new pin: 2 failed (the two carry arms), 2 passed
relay made unconditional new pin: 2 failed (the two omission arms), 2 passed
flat-header LaneTotal render removed 8 failed, 4 passed (green: the four rows that expect no flat-header total or read the swimlane title row)
windowed + removed 1 failed: WINDOWED
non-number guard in sumLaneField removed 1 failed: the non-number row
FLS gate removed 1 failed: DENIED
undeclared-field gate removed 1 failed: the undeclared-field row

The two relay ablations ran in round 2 at 91d32af. The five plugin-kanban ablations ran in round 1 at 7c30a25; plugin-kanban has not changed since.

Live, on the branch head with no mutation

Setup:

  • The console ran from this worktree against the objectstack ba575886 showcase, on a --fresh database.
  • The task and project view fixtures there are byte-identical to objectstack main 27991556.
  • Server truth, summed from GET /api/v1/data/showcase_task: backlog 30, todo 36, in_progress 100, in_review 54, done 24. From showcase_project: planned 200000, active 750000, on_hold 90000, completed 50000.
route headers board select
showcase_task.board (the card's repro) Σ 30, 36, 100, 54, 24, matching server truth; title Estimate (h); no NaN carries estimate_hours
showcase_project.by_status (currency budget) Σ 200,000.00, 750,000.00, 90,000.00, 50,000.00, and 0.00 for the empty cancelled column, matching the cards' budget cells carries budget
Active Projects page switched to Kanban (its board declares no summarizeField) every header holds only its count badge; 0 totals on the page carries budget, yet no total is drawn

Round 1 also measured the card's route before the relay: counts only, and no estimate_hours in the board's select. The showcase "Task Board" interface page resolves the task object's default view, which also declares summarizeField, and it shows the same totals. So the interface-page reach is now measured live, not only read from the code.

Clause-② evidence

Measured on the built dist/ of plugin-kanban, over the declaration files reachable from the exports entry:

  • summarizeField, KanbanColumnSummary, sumLaneField, useKanbanColumnSummary and LaneTotal each occur 0 times. Controls: ObjectKanbanComponentProps occurs 6 times and KanbanRenderer 11 times.
  • dist/index.js exports the same ten names, and index.tsx is untouched.

In app-shell, the relay adds a key to the object kanbanViewOptions returns. It adds no export, no prop, no type member and no i18n key. kanbanViewOptions was already exported, for its pin test. Across the PR, the only type-level addition is one optional member on plugin-kanban's non-exported read type GateBoundKanbanSchema.

Acceptance notes

  • + on a sum. It is a lower bound only when the values are non-negative. If a field holds negative values and the window is saturated, N+ is not a bound; it says only that more rows exist than the window holds. The count uses the same marker, by design.
  • Third copy of the widest-fraction-digits reading. The grid footer has widestFractionDigits, the metric tile has ownFractionDigits, and this PR adds fractionDigitsOf. Sharing one function needs a new export, which this claim's Clause-② fence rules out. Carrier: none.
  • Package README. packages/plugin-kanban/README.md does not mention summarizeField. The surface extension covered one line in the docs page only.
  • check:unreferenced-sources covers only packages/components, so it did not judge the new module. The module is imported by ObjectKanban.tsx and KanbanImpl.tsx, and it is bundled into dist/index.js.
  • Serial. objectui#11643 is in flight on ObjectView.tsx in the fallback-tab and persistViewPatch region. This PR touches only kanbanViewOptions and its doc comment.
  • Not run locally, left to CI: check:eager-closure and check:sdui-registration-pins (both need a console build), and the repo-wide pnpm lint.

Generated by Claude Code

claude added 7 commits October 5, 2026 07:00
…ld (objectui#11629)

The spec declares `summarizeField` on the view-level KanbanConfig and
ListView's kanban branch relays it onto the object-kanban node, but the
board never read it. ObjectKanban now hands the field, its label and its
cell renderer to the column headers through a package-private context;
KanbanImpl sums the field over each lane's cards and paints the total
beside the count on the flat header and the swimlane title row.

Absent / null / empty count as 0, an empty lane totals 0, a non-numeric
value suppresses that lane's total (never NaN), a no-scale sum rounds to
the widest input, a windowed fetch marks the total `+` like the count,
and an FLS-denied or undeclared field gets no total.

Claude-Session: https://claude.ai/code/session_015W8GBu6sBiqus2L2xjMsAL
Co-authored-by: Claude <noreply@anthropic.com>
…9 pin without explicit any

Claude-Session: https://claude.ai/code/session_015W8GBu6sBiqus2L2xjMsAL
Co-authored-by: Claude <noreply@anthropic.com>
…s apart from the count badge (objectui#11629)

The glyph is aria-hidden; the field label stays the total's tooltip and
screen-reader name, so no user-facing string is added.

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

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 331 chunks) 3317.4 KB 3330.4 KB
Main entry chunk (gzip) 151.8 KB 350 KB
Entry file index-Dai_WKsp.js —
Status PASS —

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


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 17.22KB 6.37KB
app-shell (runtime-config.js) 22.52KB 7.86KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.17KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.70KB 10.94KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 574.98KB 137.97KB
core (index.js) 10.00KB 3.96KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 232.57KB 64.51KB
fields (index.js) 262.75KB 66.62KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.24KB 2.27KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 35.66KB 9.49KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 39.47KB 11.25KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.86KB 5.00KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.52KB 2.26KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.04KB 3.92KB
plugin-calendar (index.js) 53.17KB 15.46KB
plugin-charts (index.js) 84.26KB 23.05KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 143.58KB 38.81KB
plugin-designer (index.js) 231.41KB 48.84KB
plugin-detail (index.js) 247.21KB 65.03KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 177.09KB 45.89KB
plugin-gantt (index.js) 179.16KB 45.06KB
plugin-grid (index.js) 235.92KB 64.87KB
plugin-kanban (index.js) 52.17KB 16.37KB
plugin-list (index.js) 116.72KB 29.10KB
plugin-map (index.js) 25.60KB 8.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 38.80KB 11.71KB
plugin-tree (index.js) 14.51KB 5.15KB
plugin-view (index.js) 90.23KB 22.73KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.81KB 3.58KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 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 (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.25KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

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

claude added 3 commits October 5, 2026 09:04
…ld to ListView (objectui#11629)

`kanbanViewOptions` is the only kanban config `ListView` receives on the
console object page when the stored row carries no `options.kanban` bag. It
relayed the lane, the title and the card fields and dropped
`summarizeField`, so the key never reached `ListView`'s projection or the
board's column headers, and the showcase task board showed counts with no
totals. The key is now relayed when the view declares it, and stays absent
when it does not.

Claude-Session: https://claude.ai/code/session_015W8GBu6sBiqus2L2xjMsAL
Co-authored-by: Claude <noreply@anthropic.com>
…(objectui#11629)

The changeset gains `@object-ui/app-shell` and replaces its note that the
object page did not forward the key. The plugin page lists column totals
among the board's features.

Claude-Session: https://claude.ai/code/session_015W8GBu6sBiqus2L2xjMsAL
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation package: app-shell labels Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 331 chunks) 3317.4 KB 3330.4 KB
Main entry chunk (gzip) 151.8 KB 350 KB
Entry file index-8kfLGxXF.js —
Status PASS —

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


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 17.22KB 6.37KB
app-shell (runtime-config.js) 22.52KB 7.86KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.70KB 10.94KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 574.98KB 137.97KB
core (index.js) 10.00KB 3.96KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 232.57KB 64.51KB
fields (index.js) 262.75KB 66.62KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.24KB 2.27KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 35.66KB 9.49KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 39.47KB 11.25KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.86KB 5.00KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.52KB 2.26KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.04KB 3.92KB
plugin-calendar (index.js) 53.17KB 15.46KB
plugin-charts (index.js) 84.26KB 23.05KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 143.58KB 38.81KB
plugin-designer (index.js) 231.41KB 48.84KB
plugin-detail (index.js) 247.21KB 65.03KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 177.09KB 45.89KB
plugin-gantt (index.js) 179.16KB 45.06KB
plugin-grid (index.js) 235.92KB 64.87KB
plugin-kanban (index.js) 52.17KB 16.37KB
plugin-list (index.js) 116.72KB 29.10KB
plugin-map (index.js) 25.60KB 8.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 38.80KB 11.71KB
plugin-tree (index.js) 14.51KB 5.15KB
plugin-view (index.js) 90.23KB 22.73KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.81KB 3.58KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 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 (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.25KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

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

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

ACCEPT: PR objectui#11653, head 7e2cb00. It lands when every check on this head is green

domain:ui execution seat 1 @ objectui · session_015W8GBu6sBiqus2L2xjMsAL (os-steve) · 2026-10-05T10:27Z. Reviewed against GitHub and origin/main, not against the report's prose (reports on objectui#11629, the latest 5992606446).

  • Shape.
    • The PR is a draft against main, and its assignee is os-steve. Its first line is Fixes #11629, the only line with a closing keyword next to an issue number. Clause-②: no is on its own line.
    • The diff is 8 files, +624/−3, inside the claim's surface as extended by 5991348386. No path is governed.
    • GitHub reads it as mergeable. It is behind main by objectui#11643's 4367146, which touches the same ObjectView.tsx in other hunks; the queue rebuilds it on main.
  • The renderer half (plugin-kanban). ObjectKanban builds a lane-total channel from the node's summarizeField and passes it to KanbanImpl's column headers through a package-private context.
    • Gates. No total is shown when there is no summarizeField, for a field the object does not declare, or for a field the viewer may not read (checkField(..., 'read')).
    • The sum. sumLaneField counts empty values as 0 and numeric strings as their number. Any other value gives no total, never NaN. The result is rounded to the widest input, so 0.1 + 0.2 reads 0.3.
    • Rendering. The total is drawn through the field's own cell renderer, so a currency field totals as currency. It carries the count's + when the fetch window is full, on both the flat and the swimlane headers.
  • The public surface. KanbanColumnSummary is not re-exported from index.tsx. The dev measured the built index.d.ts closure: 0 occurrences of summarizeField and of the new names. No i18n key is added: the label is the field's own.
  • The producer half (app-shell). kanbanViewOptions relays kanban.summarizeField only when the view declares it. An absent key stays absent, and the lane, title and card-field relays are unchanged.
  • Tests.
    • The renderer pin (12 cases) has five ablations, each red as declared: the flat header render, the windowed +, the non-number guard, the read gate and the undeclared-field gate.
    • The relay pin (4 cases) has two ablations: removing the relay turns the carry arms red, and making it unconditional turns the omission arms red.
    • The full packages/app-shell/ and packages/plugin-kanban/ suites are green, and so are the doc snippet and example gates.
  • Live, on the card's own repro URL with no mutation (/view/showcase_task.board): Σ 30 / 36 / 100 / 54 / 24, equal to server truth. showcase_project.by_status totals as currency, also equal to server truth. A board without summarizeField shows the count alone.
  • Changeset, sentence by sentence. It is @object-ui/plugin-kanban and @object-ui/app-shell, both patch. The spec key, the header placement, the five bullets, the unchanged-without-the-key sentence, the object-page relay sentence and the package-private channel all match the diff. The docs page gains one Features line.

Minor, not blocking: the lost first run's merge commit 9d6b13b carries no trailer pair. It is pushed and is not rewritten. The squash commit is built from the PR.

Left as noted, not filed:

  • packages/plugin-kanban/README.md does not mention summarizeField.
  • This is a third module-local copy of the widest-fraction-digits reading. Sharing one would need a new export.
  • A + on a windowed sum is a lower bound only for non-negative values.

Landing: on all-green checks on this head, ready, then auto-merge into the merge queue.


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review October 5, 2026 10:39
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge October 5, 2026 10:39
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Oct 5, 2026
Merged via the queue into main with commit f4370f4 Oct 5, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-11629-kanban-column-sum branch October 5, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

console(kanban): KanbanConfig.summarizeField is never read — board columns show the card count but no per-column sum

2 participants