Skip to content

Kanban swimlanes: on a board whose swimlane field holds both empty text ('') and no value, the Uncategorized row's whole count also counts the '' records drawn in their own row (follow-up of #37844) #38261

Backlog

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Filing gate: ① (b) follow-up of #37844 (PR #38234, merged 10:29Z): nit N1 from the L1-a review, re-read by the seat on origin/main. Source: fleet.
Grading: area:ux · domain:ui · Bug · p3 · reach: a list-view board with swimlanes on a text field where some records store '' and some store nothing; the Uncategorized row's count reads too high, with no + mark to say so. Nothing is written wrongly and no card is lost.
Dedupe: "kanban swimlane empty string Uncategorized count" → only #37844 and #37516.

What happens

On main the board buckets cards by swimlaneKeyOf (ui/packages/plugin-kanban/src/KanbanImpl.tsx ~120): a missing value goes to Uncategorized, but a stored empty string keeps key '' and gets a row of its own. The whole-lane read from #37844 (ObjectKanban.tsx ~1950, readLaneCounts(..., uncolumnedId: '')) puts null and '' in one no-value group under ''. The Uncategorized row reads that group (KanbanImpl.tsx ~904-919), so its count is count(null) + count(''). The '' row reads nothing and falls back to its cards. So the '' records are counted twice: once in their own row and once, unmarked, in Uncategorized.

Expected

  • The two places agree on one rule: either a stored '' sits in Uncategorized with the null records (bucketing changes), or the read separates '' from null so each row reads its own group. Pick the one that matches how the column lanes (laneKeyOf) already treat '', and say which in the PR body.
  • A pin on a board with one null, one '' and one valued record: each row's count equals the cards it draws, and none is marked whole when it is not.

Size: XS
Related: #37844, PR #38234, #37516.

Activity

  1. added
    bug
    pm:queue
    domain:ui
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Path: none
    Triage: lands in ui/packages/plugin-kanban (KanbanImpl.tsx swimlaneKeyOf / swimlaneRowCount; ObjectKanban.tsx swimlane read with uncolumnedId '') · area:ux → area:data · domain:ui · Bug · p3 · pm:queue · size XS. Rationale: on a board whose swimlane field holds both '' and no value, the '' records are drawn in their own row and are also counted, unmarked, in Uncategorized. A count shown too high is a wrong result, so it takes the area of the feature (aggregates add up, area:data), not area:ux. Impeded × rare configuration ⇒ p3; nothing stored is wrong. The previous area:ux + p3 pair was invalid either way (UX has no p3). It stays a single card because the open data sweep (#35765) is a domain:server lane. Related kanban count cards (#37844, #37327) took area:ux p2 as display problems; this one is a wrong count.
    Grade: area:data · Bug · Impeded (a count read back too high) · reach: rare configuration · evidence: read (origin/main).

    Recorded 2026-11-28T14:07Z.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:databugdomain:uipm:queuepriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions