close
Skip to content

Board column tag filter has no effect on displayed sessions #1897

Description

@xcom923

Summary

Selecting tags in the board-view column filter popover does not filter the session list. The column continues to display all sessions regardless of which tags are selected.

Steps to Reproduce

  1. Open the Sessions page in board view (multiple columns visible).
  2. Click the tag/filter icon on a column header to open the COLUMN FILTER popover.
  3. Select one or more tags from the list (e.g. "Jira", "Alert").
  4. Close the popover.

Expected: The column shows only sessions tagged with the selected tag(s), respecting the mode (any/all/none).

Actual: The column still shows all sessions (same count as "ALL SESSIONS"). The filter selection has no visible effect on which sessions appear.

Observations from source

The filtering logic in ChatSidebar.tsx looks architecturally correct:

  • columnMatches() (~L1288) checks col.tag_ids and returns true (match-all) when tag_ids is empty.
  • onToggleTag (~L3360) calls updateColumnMutation.mutate({ id: col.id, body: { tag_ids: nextIds } }).
  • The mutation hits api.updateTagColumn(id, body).

The likely failure point is either:

  • The mutation completes but the column's tag_ids in the reactive state doesn't update (stale closure or missing query invalidation).
  • The column data refetched after mutation still has an empty tag_ids array (backend doesn't persist the update for non-board columns).

Context

  • Possibly related to Board view: global session filters (Unread/Running/Pinned/Recent) have no visible effect #739 (global session filters have no visible effect in board view), though that issue covers a different filter mechanism (Unread/Running/Pinned toggles).
  • The search text input at the top of the popover also appears non-functional (typing doesn't narrow the tag list), though that may be a separate narrowing-only UX issue vs. the core "filter not applied" bug.

Environment

  • KiroCrew dashboard, macOS
  • Board view with user-created columns

Metadata

Metadata

Assignees

Labels

area: dashboardDashboard UI and its backend handlersauto-fixableTriage: mechanical fix, automated pipeline will handlebugSomething is not workingclaimedAn automated fix is in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions