Files
nuzlocke-tracker/.beans/nuzlocke-tracker-9cx2--drag-and-drop-reordering-for-boss-battles.md
Julian Tabel 1bf37a6bd9 Add drag-and-drop boss reordering and new feature beans
Adds boss battle reorder API endpoint with two-phase order update to
avoid unique constraint violations. Includes frontend mutation hook
and API client. Also adds draft beans for progression dividers and
conditional boss battle teams features.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 14:58:49 +01:00

889 B

title, status, type, priority, created_at, updated_at, parent
title status type priority created_at updated_at parent
Drag-and-drop reordering for boss battles completed feature normal 2026-02-08T12:33:18Z 2026-02-08T13:11:50Z nuzlocke-tracker-iu5b

Add drag-and-drop reordering for boss battles, matching the existing pattern used for routes.

Current behavior

  • Boss battles have a manual 'order' field that must be edited individually
  • Routes already have drag-and-drop reordering via @dnd-kit

Desired behavior

  • Boss battles in the AdminGameDetail bosses tab support drag-and-drop reordering
  • Same visual pattern as routes: drag handle on the left, auto-recalculate order on drop
  • Reuse the same @dnd-kit setup already in place for routes

Files

  • frontend/src/pages/admin/AdminGameDetail.tsx — add DnD to bosses tab
  • Backend may need a reorder endpoint for bosses (similar to routes reorder)