Difficulty: Intermediate
Type: feature
Background
The /activity route displays an activity/audit log sourced from mock data, useful for admins reviewing guild/member actions.
Problem
Admins have no way to export the current (filtered) activity log for reporting or compliance purposes outside the app.
Expected outcome
An "Export CSV" button on the Activity page downloads the currently visible (filtered) log entries as a well-formed CSV file.
Suggested implementation
- Add a utility function that converts an array of activity-log entries into CSV text (handle comma/quote escaping).
- Trigger a client-side download via a Blob + temporary anchor element.
- Ensure the export respects any active filters/search on the page rather than exporting the full unfiltered dataset.
Acceptance criteria
Likely affected files/directories
apps/dashboard/app/activity/
apps/dashboard/lib/ (new csv-export utility)
Difficulty: Intermediate
Type: feature
Background
The
/activityroute displays an activity/audit log sourced from mock data, useful for admins reviewing guild/member actions.Problem
Admins have no way to export the current (filtered) activity log for reporting or compliance purposes outside the app.
Expected outcome
An "Export CSV" button on the Activity page downloads the currently visible (filtered) log entries as a well-formed CSV file.
Suggested implementation
Acceptance criteria
Likely affected files/directories
apps/dashboard/app/activity/apps/dashboard/lib/(new csv-export utility)