Implement time off management (Issue #3) #12
Reference in New Issue
Block a user
Delete Branch "feature/time-off-management"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Changes
internal/db/schema.go— newtime_off_removed_shiftstracking tableinternal/timeoff/— full store + handler rewrite:Storerinterface, Update/Delete/ConflictingShifts/RemoveFromShifts/RestoreShifts/HasApprovedTimeOffinternal/schedule/handler.go—TimeOffCheckerinterface, FR-T06 conflict check in UpdateInstanceinternal/volunteer/volunteer.go—ListAdminIDsfor admin notificationsinternal/server/server.go— new routes:PUT /timeoff/{id},DELETE /timeoff/{id},GET /timeoff/{id}/shiftsweb/src/api.ts—ApiErrorclass, new API methods,ConflictingShift/TimeOffConflictResponsetypesweb/src/pages/TimeOff.tsx— edit/delete buttons, conflict warning dialog, admin volunteer picker, shift restoration previewTest plan
Closes #3
6427595c62to704f11cec3