New Features & Enhancements
Bulk Course Deletion:
Select multiple courses with checkboxes and delete them all at once.
βSelect Allβ checkbox for fast selection/deselection.
Confirmation dialog for bulk deletes, with clear messaging.
Analytics event courses_bulk_deleted now tracks the number of courses, their IDs, and total hours deleted.
Robust Checkbox Handling:
Bulletproof event delegation ensures selection state is always in sync, even after table re-renders or filtering.
Certification Allocation Improvement:
For multi-year certifications, a course can now only be allocated to a single year per certification (radio button behavior).
Prevents accidental double-counting and ensures compliance with certification rules.
Bug Fixes & Usability:
Fixed silent bug where bulk delete would not recognize selected courses.
Fixed bulk import refresh issue.
Improved code structure for future enhancements.
How to Use the New Features
Use the checkboxes in the course table to select one or more courses.
Click βDelete Selectedβ to remove them in one action.
Allocate a course to a certification yearβonly one year per certification per course is now allowed.