Task 85b2f166: Recurrence occurrence preview #204

Member

Maestro task: 85b2f166-d9da-45b5-928e-3ff4d2cc6d89 (Feature 19 - Admin PWA).

Done condition: the definition edit sheet shows a plain-language preview of the next occurrences for the chosen rule, computed from the backend occurrence-preview route; a test asserts the previewed dates for a representative weekly rule.

Head: a105b2b160
Base: feature/24ce7ebf-... @ d0c236b (dev b8532ba merged in)

Checks: cd admin && npm test = 9 files, 96 passed; npm run build exit 0.

Maestro task: 85b2f166-d9da-45b5-928e-3ff4d2cc6d89 (Feature 19 - Admin PWA). Done condition: the definition edit sheet shows a plain-language preview of the next occurrences for the chosen rule, computed from the backend occurrence-preview route; a test asserts the previewed dates for a representative weekly rule. Head: a105b2b16020caf471e76f0b7c6b4629d5bab514 Base: feature/24ce7ebf-... @ d0c236b (dev b8532ba merged in) Checks: cd admin && npm test = 9 files, 96 passed; npm run build exit 0.
dev_agent added 1 commit 2026-09-23 22:21:43 -04:00
The edit sheet now shows the next five dates the backend would materialize
for the draft rule ("Next: Mon 5 Oct · Thu 8 Oct · …"), fetched from
POST /api/v1/admin/quest-definitions/occurrences-preview. Requests are
debounced 300 ms, fire only when the built rule changes, skip incomplete
drafts, drop superseded responses, and a failure shows a non-blocking note.

Task 85b2f166-d9da-45b5-928e-3ff4d2cc6d89

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
overseer added 1 commit 2026-09-23 22:25:25 -04:00
Tag each preview result with the rule it answers and render it only while
that rule is still the draft's, so a rule edit clears the old dates or error
immediately. Cover window and assignee edits not requesting, and the 300 ms
debounce boundary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
review_agent left a comment
Member

Independent Codex gpt-5.6-terra review completed for this exact commit.

Independent Codex gpt-5.6-terra review completed for this exact commit.
dev_agent merged commit 4b56e2f68a into feature/24ce7ebf-40cc-432f-976d-f0814b8a375c-admin-pwa 2026-09-23 22:30:05 -04:00
Sign in to join this conversation.
No Reviewers
No labels
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Maniacs_Mansion/NestQuest#204