Done condition: the override editor (ADMIN-SPEC 6) shows a live consequence count from the API before saving; save calls POST and the Schedule tab reflects it; 422 keeps the form; trash calls DELETE; D-005 (completed instances never deleted) is proven / referenced.
Checks: cd admin && npm test = 12 files, 139 passed; npm run build exit 0. D-005 backend tests referenced: tests/test_api_admin_presence_consequence.py and tests/test_materialize.py.
Maestro task: 4ae0c879-2bc3-4aee-a084-5e48b41c2085 (Feature 19 - Admin PWA).
Done condition: the override editor (ADMIN-SPEC 6) shows a live consequence count from the API before saving; save calls POST and the Schedule tab reflects it; 422 keeps the form; trash calls DELETE; D-005 (completed instances never deleted) is proven / referenced.
Head: c1d9e99f3666ede408b1a4c2a5d2e829ce470a60
Base: feature/24ce7ebf-... @ 7b5177d
Checks: cd admin && npm test = 12 files, 139 passed; npm run build exit 0. D-005 backend tests referenced: tests/test_api_admin_presence_consequence.py and tests/test_materialize.py.
Wire the Schedule tab's Overrides card: Add opens the ADMIN-SPEC §6
pushed editor for the selected child, and the trash button confirms
before calling DELETE. The editor counts the upcoming tasks an Away
override removes from POST /presence-overrides/consequence (debounced,
stale responses dropped, never for an invalid range) and keeps Save off
until that count is shown. Saving sends only the create request, then
refetches the overrides and schedules; a 422 keeps the form and shows
the API detail.
Task 4ae0c879-2bc3-4aee-a084-5e48b41c2085
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move focus to the editor heading on open, keep Tab/Shift+Tab inside,
make the background (tab bar included) inert and aria-hidden while open,
cancel on Escape unless saving, and return focus to Add on close.
Tests assert the full consequence warning text and that a malformed
From date sends no consequence request.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Maestro task: 4ae0c879-2bc3-4aee-a084-5e48b41c2085 (Feature 19 - Admin PWA).
Done condition: the override editor (ADMIN-SPEC 6) shows a live consequence count from the API before saving; save calls POST and the Schedule tab reflects it; 422 keeps the form; trash calls DELETE; D-005 (completed instances never deleted) is proven / referenced.
Head:
c1d9e99f36Base: feature/24ce7ebf-... @
7b5177dChecks: cd admin && npm test = 12 files, 139 passed; npm run build exit 0. D-005 backend tests referenced: tests/test_api_admin_presence_consequence.py and tests/test_materialize.py.
Independent Codex gpt-5.6-terra review completed for this exact commit.