Skip to content

feat(board): double-click task card to toggle between backlog and sprint#231

Open
RSnew wants to merge 9 commits into
Paca-AI:masterfrom
RSnew:feat/double-click-toggle-sprint
Open

feat(board): double-click task card to toggle between backlog and sprint#231
RSnew wants to merge 9 commits into
Paca-AI:masterfrom
RSnew:feat/double-click-toggle-sprint

Conversation

@RSnew

@RSnew RSnew commented Jun 29, 2026

Copy link
Copy Markdown

What

Adds double-click to task cards on the board to quickly toggle between Backlog and Sprint:

  • Task in Backlog double-click moves to first active sprint (or newest sprint)
  • Task in a Sprint double-click moves back to Backlog

Why

Currently moving tasks requires drag-and-drop. Double-click makes quick triage instant.

Changes

File Change
task-card.tsx Added onDoubleClick prop
board-view.tsx Added handleDoubleClick toggle logic

Only +11 lines, no breaking changes. Drag-and-drop and single-click still work.

Closes #230

🤖 Generated with Claude Code

RSnew added 5 commits June 29, 2026 17:32
Clicking a task once opens the detail panel. Now double-clicking
quickly moves it:
- Task in Backlog → first active sprint (or newest sprint)
- Task in a Sprint → back to Backlog (sprint_id = null)

This is much faster than drag-and-drop for common task triage.
No breaking changes — drag-and-drop and single-click still work.
Extends the double-click feature to the backlog table and sprint
list views (TaskRow + ListGroup), not just the Kanban board.

Double-click a task row in any view to toggle between backlog and
the active sprint.
- Moved handleDoubleClickSprintToggle after handleMoveToColumn (fix ref error)
- Wired onTaskDoubleClick through list-view→ListGroup→TaskRow
- Fixed JSX: onDoubleClick before /> not after
Single click now waits 280ms. If a second click arrives within
that window, the single-click action is cancelled and the
double-click action (toggle sprint) executes instead.
Card/row briefly scales down then bounces back with a
brightness flash, providing visual feedback that the
task has been moved.
@RSnew RSnew force-pushed the feat/double-click-toggle-sprint branch from 1878da5 to 0e39380 Compare June 29, 2026 10:01
RSnew added 4 commits June 29, 2026 18:04
Backlog→Sprint: card slides up and fades out
Sprint→Backlog: card slides down and fades out
Animation plays for 350ms before API call triggers re-render
Tracks recently toggled task via module-level state.
When the card re-renders in its new position, it plays
a slide-in animation from the direction it came from.
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.

feat: Double-click to move tasks between Backlog and Sprint

1 participant