-
Notifications
You must be signed in to change notification settings - Fork 81
Description
Pre-submission Checklist
- I have searched existing issues to ensure this feature hasn't been requested
- I have searched closed issues to check if this was previously rejected/implemented
- I have checked the project roadmap (if available) for planned similar features
- I have reviewed the documentation to confirm this feature doesn't exist
- I have completed all sections below with detailed information
Feature Description
A way (like cmd+z on mac) to undo removing a course from a schedule. Currently, if you remove a course there is no easy way to get it back besides going through the course catalogue page again.
Proposed Solution
Keep track of the last course removed as a "temp" or something and, if the cmd+z equivalent is pressed, bring the course back to the calendar.
UI/UX Considerations
No UI changes required. Maybe would be good to let people know it is a new feature though when initially released.
Technical Implementation Details
Mentioned above, but I think it would be a simple and effective solution to just store the last removed course from the current session in memory and then have a useEffect hook to mount a key listener that checks for cmd+z (or the equivallent).