Add drag-and-drop scheduling functionality to the Scheduling component

- Integrated react-dnd and react-dnd-html5-backend for drag-and-drop capabilities.
- Enhanced the Scheduling component to allow users to visually manage experiment repetitions on the calendar.
- Added state management for scheduled repetitions and their timing.
- Implemented select-all checkboxes for conductors and repetitions for improved user experience.
- Updated calendar event generation to include new repetition markers with distinct styles.
- Refactored event handling to support draggable repetition markers and update their timing dynamically.
This commit is contained in:
salirezav
2025-09-24 21:23:38 -04:00
parent aaeb164a32
commit 853cec1b13
3 changed files with 478 additions and 46 deletions

View File

@@ -16,6 +16,8 @@
"moment": "^2.30.1",
"react": "^19.1.0",
"react-big-calendar": "^1.19.4",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^19.1.0",
"react-router-dom": "^6.28.0",
"tailwindcss": "^4.1.11"
@@ -34,4 +36,4 @@
"typescript-eslint": "^8.28.1",
"vite": "^7.0.4"
}
}
}