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 |
||
|---|---|---|
| .. | ||
| conf/conf.d | ||
| public | ||
| src | ||
| .env | ||
| .gitignore | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| env-config 2.js | ||
| env.sh | ||
| htpasswd | ||
| nginx.dev.conf | ||
| package-lock.json | ||
| package.json | ||
| start-dev.sh | ||