Add drag-and-drop project reordering to the sidebar by juliusmarminge · Pull Request #185 · pingdotgg/t3code

cursor[bot]

- wire project list to dnd-kit sortable with vertical drag constraints
- prevent accidental expand/collapse clicks during drag gestures
- update store logic/tests and add dnd-kit dependencies
- prevent accidental project toggles after drag operations
- switch project rows to Collapsible for stable expand/collapse animation
- add optional hidden scrollbar mode to ScrollArea and apply it in SidebarContent
- Reset post-drag click suppression when drag is canceled
- Consume only the synthetic click after drag release, then clear suppression

@juliusmarminge

@juliusmarminge

cursor[bot]

@juliusmarminge

- Prefer pointer-based hit testing during project reordering
- Fall back to corner-based collision to make drop targeting more reliable

cursor[bot]

@cursoragent

…vent unintended toggle

Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>

Applied via @cursor push command

cursor[bot]