Skip to content

feat: add attendee CSV export from event management attendees tab#518

Merged
BigBen-7 merged 1 commit into
Lead-Studios:mainfrom
Fahmedo:feat/461-attendee-csv-export
Jun 30, 2026
Merged

feat: add attendee CSV export from event management attendees tab#518
BigBen-7 merged 1 commit into
Lead-Studios:mainfrom
Fahmedo:feat/461-attendee-csv-export

Conversation

@Fahmedo

@Fahmedo Fahmedo commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements attendee CSV export from the event management attendees tab.

Changes

  • src/lib/exportAttendeesCsv.ts (new): TicketRecord interface, fetchAllTickets (paginates automatically when total > 1000 via GET /api/events/:id/tickets?limit=1000), and exportAttendeesCsv generating a file named veritix-attendees-{eventSlug}-{YYYY-MM-DD}.csv with columns: attendeeName, attendeeEmail, ticketType, ticketCode, status, purchasedAt.
  • src/components/events/manage/AttendeesTab.tsx: replaced old exportAttendeesCSV with new helpers, handleExport is now async with a Loader2 spinner while fetching, and added missing handleOpenBanDialog/handleCloseBanDialog/handleBan handlers.

Tested

  • TypeScript compilation passes for both modified files (pre-existing errors in unrelated files are unchanged).

Closes #461

- Create src/lib/exportAttendeesCsv.ts with TicketRecord interface,
  fetchAllTickets (paginates if total > 1000), and exportAttendeesCsv
  (filename: veritix-attendees-{eventSlug}-{YYYY-MM-DD}.csv)
- Update AttendeesTab.tsx to use new fetch/export helpers, add loading
  spinner on Export CSV button, fix missing ban dialog handlers

Closes Lead-Studios#461
@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Fahmedo Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@BigBen-7 BigBen-7 merged commit 5d1a204 into Lead-Studios:main Jun 30, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FE-xxx: feat: add attendee CSV export from event management attendees tab

2 participants