Project-Image-Uploader/backend
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
..
src feat: implement drag-and-drop reordering infrastructure 2025-11-03 21:06:39 +01:00
.dockerignore Initial Commit 2025-10-15 21:33:00 +02:00
.env.example Initial Commit 2025-10-15 21:33:00 +02:00
.gitignore Initial Commit 2025-10-15 21:33:00 +02:00
Dockerfile refactor(backend): upgrade to Node 24 LTS (v24.11.0) 2025-10-28 20:35:03 +01:00
package.json feat: add Sharp library and ImagePreviewService 2025-10-30 20:25:33 +01:00