Files
nuzlocke-tracker/.beans/nuzlocke-tracker-9cx2--drag-and-drop-reordering-for-boss-battles.md
2026-02-08 13:35:50 +01:00

867 B

title, status, type, created_at, updated_at, parent
title status type created_at updated_at parent
Drag-and-drop reordering for boss battles todo feature 2026-02-08T12:33:18Z 2026-02-08T12:33:18Z 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)