Description
Add an export control to the dashboard that calls GET /analytics/export with the currently selected metric and date range, and triggers a file download in the browser.
Why this matters
Staff frequently need to pull analytics data into spreadsheets for deeper analysis or reporting outside the dashboard.
Files to touch
frontend/src/components/analytics/ExportButton.tsx
Acceptance Criteria
Notes
This issue is part of the new analytics module effort (tracking, aggregation,
and reporting on player/game activity). Please keep new code inside
backend/src/analytics/ following the same module/controller/service/provider
layout used by existing modules (e.g. progress, streak, quests).
Description
Add an export control to the dashboard that calls
GET /analytics/exportwith the currently selected metric and date range, and triggers a file download in the browser.Why this matters
Staff frequently need to pull analytics data into spreadsheets for deeper analysis or reporting outside the dashboard.
Files to touch
frontend/src/components/analytics/ExportButton.tsxAcceptance Criteria
Notes
This issue is part of the new
analyticsmodule effort (tracking, aggregation,and reporting on player/game activity). Please keep new code inside
backend/src/analytics/following the same module/controller/service/providerlayout used by existing modules (e.g.
progress,streak,quests).