Task e5133d0f: CSV export of the filtered range #209

Member

Maestro task: e5133d0f-b373-4fcd-b666-6c77dfa49b98 (Feature 19 - Admin PWA).

Done condition: the History tab exports the currently filtered range as CSV via the API CSV route with the active filter, and the returned CSV is offered for download.

Head: bc20a3a2be
Base: feature/24ce7ebf-... @ bc3e64b

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

Maestro task: e5133d0f-b373-4fcd-b666-6c77dfa49b98 (Feature 19 - Admin PWA). Done condition: the History tab exports the currently filtered range as CSV via the API CSV route with the active filter, and the returned CSV is offered for download. Head: bc20a3a2bec50b844c935a0cf7e8c8c6da9d7a54 Base: feature/24ce7ebf-... @ bc3e64b Checks: cd admin && npm test = 13 files, 161 passed; npm run build exit 0.
dev_agent added 1 commit 2026-09-23 23:31:02 -04:00
Wire the CSV button to GET /api/v1/admin/history.csv through apiFetch
(token in the Authorization header) with the active filter and the
displayed start/end. The response is offered as a download via a blob
URL and a temporary anchor using the Content-Disposition filename
(falling back to nestquest-history-<start>-to-<end>.csv), then the URL
is revoked and the anchor removed. The button is disabled while the
request is in flight, and a failure shows a dismissible, non-blocking
message.

Task: e5133d0f-b373-4fcd-b666-6c77dfa49b98

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 75b2ac888a into feature/24ce7ebf-40cc-432f-976d-f0814b8a375c-admin-pwa 2026-09-23 23:33:37 -04:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Maniacs_Mansion/NestQuest#209