Skip to content

[task-board] add column reordering - #2

Open
jayporta wants to merge 2 commits into
mainfrom
feat/reorder-columns
Open

[task-board] add column reordering#2
jayporta wants to merge 2 commits into
mainfrom
feat/reorder-columns

Conversation

@jayporta

@jayporta jayporta commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Drag and drop column reordering. Applies to all columns (including default columns todo, in progress, and done, which cannot be deleted).

jayporta and others added 2 commits July 30, 2026 14:18
Columns can be dragged by a grip in their header, or moved with the arrow
keys while the grip has focus. Order is layout only — tasks join their
column on status, so search and every task listing read the same either way.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The column root was armed as draggable by its grip, but a press that
released off the grip left it armed. An armed root caught a card's own
dragstart as it bubbled and stapled a column payload onto it, so
dropping that card moved the task and reordered the board at once.

Making the grip the drag source removes the latch, the bubbling guard
it needed, and the stale state behind both. setDragImage keeps the
column, not the grip icon, under the cursor.

Also ignore dragleave between a column's own children, and put the
column's position in the grip's label so an arrow-key move is
announced.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.

1 participant