fix(capacity): stabilize PTO flows and calendar consistency
Make PTO creation immediately approved, add PTO deletion, and ensure cache invalidation updates individual/team/revenue capacity consistently. Harden holiday duplicate handling (422), support PTO-day availability overrides without disabling edits, and align tests plus OpenSpec artifacts with the new behavior.
This commit is contained in:
@@ -526,6 +526,18 @@
|
||||
|
||||
**Commit**: `docs(capacity): Update API documentation`
|
||||
|
||||
### Phase 5: Stabilization Fixes
|
||||
|
||||
- [x] 4.5.1 Handle duplicate holiday creation gracefully with 422 response
|
||||
- [x] 4.5.2 Fix capacity cache invalidation for PTO and holiday mutations
|
||||
- [x] 4.5.3 Default PTO creation status to approved (no manual approval required)
|
||||
- [x] 4.5.4 Add PTO delete endpoint and UI action
|
||||
- [x] 4.5.5 Allow PTO-day availability overrides (keep PTO label, editable dropdown)
|
||||
- [x] 4.5.6 Fix calendar stale state after save/tab navigation
|
||||
- [x] 4.5.7 Expand regression coverage for capacity edge cases and cache behavior
|
||||
|
||||
**Commit**: `fix(capacity): stabilize PTO flows, cache invalidation, and calendar UX`
|
||||
|
||||
---
|
||||
|
||||
## Capability 5: Resource Allocation
|
||||
|
||||
Reference in New Issue
Block a user