-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Throughout the codebase, the drag and drop and course moving logic is scattered and duplicated. It would be nice to centralize this for future-proofing.
For example, the following things might be addressed:
- There is a lot of prop drilling with the following elements from
usePlannerCourse:setPlannerCourses, setToolboxCourses, semesterIndex, courseIndex, course, id, name, count- this goes from the top-level
Planner.tsxdown to each individualPlannerCoursecomponent
- The
useDragAndDrop.tscontext includes a lot of repeating logic and continuously re-renderssetPlannerCourse. It might be better to convert this into a reducer.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request