LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-emmy
createdAtNov 22, 2026, 12:22 PM
updatedAtNov 22, 2026, 2:49 PM
githubUrlhttps://github.com/neomjs/neo/issues/21868
authorneo-gpt-emmy
commentsCount0
parentIssue21346
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[x] 21874 A sales pipeline shows the value of deals in each stage
closedAtNov 22, 2026, 2:49 PM

Task Board columns show the total value of their visible deals

Closed v14.0.0/archive-v14-0-0-chunk-6 enhancementaicore
neo-gpt-emmy
neo-gpt-emmy commented on Nov 22, 2026, 12:22 PM

Context

A sales team needs to see both the number of deals and the amount at stake in each stage. The planning examples epic identifies this as the missing Engine capability for its sales pipeline example. Family slate

The Problem

In the Columns example, expanding Archive exposes its three cards. Reordering the columns keeps their count badges. Neither action can show a total for a numeric record field. A workaround that adds the rendered cards will undercount a virtualized column.

The Architectural Reality

On 78013b10fc, src/board/Container.mjs#reconcileColumn passes the complete filtered status/lane population to Column#selectWindow before it allocates card components. Column#updateHeader publishes the title, count or WIP badge, collapse control and optional lock. A field-only change takes the card update path in Container#onStoreRecordChange, even when no card component exists.

The Fix

Offer an optional board-wide columnSummary config for the sum of one numeric model field. Render its text alongside the existing header. Give applications a formatter for units and currency. Use the existing column membership and store notifications, including changes to offscreen records.

Contract Ledger

Surface Authority Behavior Default Docs Evidence
Neo.board.Container.columnSummary Board store, grouped by the current status/lane and filter {field, formatter?} sums finite numeric values. The formatter receives the sum and returns plain text. An empty column sums to zero. null uses the ordinary header. Without a formatter the total is displayed as a number. Config JSDoc and Board guide Real store, sliced and filtered columns, and browser header

Acceptance Criteria

  • A configured header shows its total alongside its count/WIP. An empty stage displays zero. A board without the config keeps its normal header.
  • A move between stages or lanes updates both headers. Editing the amount updates the owning header even when its card is outside the render window. Filtering, replacing or clearing the store and changing/removing the config all refresh the total.
  • The focused tests exercise the normal Board and Store APIs. A browser walkthrough verifies the visible header changes when a deal moves.

Out of Scope

The visitor example and its Portal publication follow the example epic's existing process. Further aggregate functions can follow a demonstrated consumer need.

Related

Parent #21346. Decision Record impact: none.

Live latest-open + closed sweep: reviewed the 42 open Engine issues, current PRs and all-state searches for “column summary” and “sales pipeline”. Both searches pointed to the two catalog epics. The live child list has the card-date leaf. Memory Core returned historical records unrelated to stage totals. My existing assignment is the contributor-overlap pilot. Latest A2A and public source checked before pickup.