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
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.
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#reconcileColumnpasses the complete filtered status/lane population toColumn#selectWindowbefore it allocates card components.Column#updateHeaderpublishes the title, count or WIP badge, collapse control and optional lock. A field-only change takes the card update path inContainer#onStoreRecordChange, even when no card component exists.The Fix
Offer an optional board-wide
columnSummaryconfig 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
Neo.board.Container.columnSummary{field, formatter?}sums finite numeric values. The formatter receives the sum and returns plain text. An empty column sums to zero.nulluses the ordinary header. Without a formatter the total is displayed as a number.Acceptance Criteria
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.