Project-Image-Uploader/backend/src
matthias.lotz 7564525c7e feat: implement drag-and-drop reordering infrastructure
Phase 1 (Backend API):
 GroupRepository.updateImageOrder() with SQL transactions
 PUT /api/groups/:groupId/reorder API route with validation
 Manual testing: Reordering verified working (group qion_-lT1)
 Error handling: Invalid IDs, missing groups, empty arrays

Phase 2 (Frontend DnD):
 @dnd-kit/core packages installed
 ReorderService.js for API communication
 useReordering.js custom hook with optimistic updates
 ImageGalleryCard.js extended with drag handles & sortable
 ImageGallery.js with DndContext and SortableContext
 CSS styles for drag states, handles, touch-friendly mobile

Next: Integration with ModerationGroupImagesPage
2025-11-03 21:06:39 +01:00
..
database feat: automatic preview generation on database init 2025-10-30 20:51:35 +01:00
middlewares Initial Commit 2025-10-15 21:33:00 +02:00
models Initial Commit 2025-10-15 21:33:00 +02:00
repositories feat: implement drag-and-drop reordering infrastructure 2025-11-03 21:06:39 +01:00
routes feat: implement drag-and-drop reordering infrastructure 2025-11-03 21:06:39 +01:00
services feat: add preview_path migration and constants 2025-10-30 20:30:56 +01:00
utils feat: integrate preview generation into upload flow 2025-10-30 20:41:06 +01:00
constants.js feat: integrate preview generation into upload flow 2025-10-30 20:41:06 +01:00
index.js Initial Commit 2025-10-15 21:33:00 +02:00
server.js Initial Commit 2025-10-15 21:33:00 +02:00