Skip to content

feat(board): open task sidebar when a collapsed column chip is clicked - #83

Merged
aixle-com[bot] merged 2 commits into
developfrom
feature/collapsed-chip-click
Aug 12, 2026
Merged

aixle-com[bot] merged 2 commits into
developfrom
feature/collapsed-chip-click

Conversation

@aixle-com

@aixle-com aixle-com Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

What changed

Clicking a ticket chip in a collapsed board column now opens the task detail sidebar, exactly as clicking a full task card does in an expanded column.

  • CollapsedTaskChip takes an onClick callback and fires it with its task; the collapsed column branch passes the existing onTaskClick handler (the same one wired to SortableTaskCard / TaskDetailSidebar).
  • Chips stay compact — no title text or card content is rendered while a column is folded; the title still lives in the tooltip.

Why

A collapsed column's chips were draggable but inert on click, so the only way to open a ticket in a folded column was to unfold the column first (task #528).

Notes on drag behaviour

The board's pointer sensor has an 8px activation constraint, so a plain click never starts a drag and the click handler does not intercept pointer events — dragging a chip out of a collapsed column is unchanged. The chip container already stops click propagation, so a chip click does not also hit the column's expand toggle.

How to test

  1. Open a project board with tickets and collapse a column.
  2. Click one of the small chips in the collapsed strip → the task detail sidebar opens for that ticket and the column stays collapsed.
  3. Drag a chip out of the collapsed column → still works.

Automated: app/frontend/pages/Projects/Board/BoardPage.test.tsx — "opens the task detail sidebar when a ticket chip in a collapsed column is clicked".

🤖 Generated with Claude Code

Alex (Aixle Agent) added 2 commits August 12, 2026 21:16
A collapsed column's ticket chips were draggable but inert on click, so the
only way to open a ticket in a folded column was to unfold it first.
userEvent.click hovers the chip first, so the chip tooltip renders the task
title — querying that text matched the tooltip instead of a task card.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants