Skip to content

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

Description

@objectstack-fleet

QA-source: objectstack-ai/objectstack#21782 · records-forms.view-type-gallery · acceptance[1]

Clause A2 of records-forms.view-type-gallery fails in the ObjectStack 17.7 pre-release checklist run objectstack-ai/objectstack#21782 (framework subject 316be321e, console pin 2e818d0b51ec). An independent verifier (VF3, RUNNER rule 7; live, two fresh loads, plus code) confirmed it: P3. It predates the 17.6.0 console pin 31971ff1e; no open duplicate was found. Owner: objectui. A spec liveness entry is also owed in objectstack: packages/spec/src/ui/view.zod.ts:1789 declares the key with no verdict (ADR-0049).

Reproduction

  1. Stock showcase. The fixture is examples/app-showcase/src/ui/views/task.view.ts:262-275, board {groupByField:'status', summarizeField:'estimate_hours'}.
  2. Server truth: summing estimate_hours per status over GET /api/v1/data/showcase_task gives backlog 30 / todo 36 / in_progress 100 / in_review 54 / done 24.
  3. Browser, as admin: /_console/apps/com.example.showcase/showcase_task/view/showcase_task.board.
  4. Expected: those totals in the column headers.
  5. Actual: "BACKLOG 2" … "DONE 2" (count only), and the board's data request selects no estimate_hours.

Mechanism

  • Zero reads of summarizeField under packages/plugin-kanban/src (column header around KanbanImpl.tsx:1066-1100, ObjectKanban.tsx).
  • The only consumers are plugin-list/src/ListView.tsx:2002 and :2517, which add the field to the projection.
  • There is no reader at 31971ff1e either. No duplicate.

Done when

Each column header renders the sum of summarizeField over the column's rows (pinned), or the key is retired under ADR-0049.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:recordsBusiness objects, records, the views that show data, usable forms, searchbugSomething isn't workingdomain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions