On the My Availability admin page, instructors can only delete availability slots one at a time. Since a single window is stored as many lesson-length slots (and weekly series multiply them further), cleaning up availability is tedious.
Proposed behaviour
In the list view of Current Slots:
A checkbox per slot row, only for slots that are not booked (booked slots cannot be deleted today, and that rule stands)
A select-all checkbox in the table header
A Delete selected button that removes all checked slots in one submit, with a confirmation prompt
Constraints
Same nonce/capability protection as the existing single delete (manage_availability)
Each submitted id must be ownership-checked against the current instructor
Booked slots must be refused even if an id is forged into the request
Notes
The week view already exists on this page (List | Week toggle); this issue covers only multi-select removal in the list view.
## Problem
On the **My Availability** admin page, instructors can only delete availability slots one at a time. Since a single window is stored as many lesson-length slots (and weekly series multiply them further), cleaning up availability is tedious.
## Proposed behaviour
In the **list view** of Current Slots:
- A checkbox per slot row, only for slots that are not booked (booked slots cannot be deleted today, and that rule stands)
- A select-all checkbox in the table header
- A **Delete selected** button that removes all checked slots in one submit, with a confirmation prompt
## Constraints
- Same nonce/capability protection as the existing single delete (`manage_availability`)
- Each submitted id must be ownership-checked against the current instructor
- Booked slots must be refused even if an id is forged into the request
## Notes
The week view already exists on this page (List | Week toggle); this issue covers only multi-select removal in the list view.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
On the My Availability admin page, instructors can only delete availability slots one at a time. Since a single window is stored as many lesson-length slots (and weekly series multiply them further), cleaning up availability is tedious.
Proposed behaviour
In the list view of Current Slots:
Constraints
manage_availability)Notes
The week view already exists on this page (List | Week toggle); this issue covers only multi-select removal in the list view.