Deleting a gradebook assignment now works correctly even if you click the button twice.
If you've ever clicked the delete button on a free gradebook assignment and immediately seen a "Failed to delete assignment" toast—even though the assignment disappeared—this fix is for you. A fast double-click would trigger two delete requests at once. The first one succeeded and removed the assignment, but the second one arrived a split second later looking for something that was already gone, and reported an error.
We've fixed this at every level: the delete button is now disabled the moment you click it, the app tracks in-flight requests to block duplicate submits, and the server will silently succeed if the assignment is already deleted. No more confusing error messages after a successful delete.
Fixes and Improvements¶
- Fixed: deleting a gradebook assignment no longer shows a "failed" toast on fast double-clicks
- Improved: delete button disables immediately on click to prevent accidental duplicate actions