Skip to content

feat: CSV batch officer creation#57

Merged
LukeSultzer merged 5 commits intodevfrom
feat/csv-batch-officer-creation
Mar 24, 2026
Merged

feat: CSV batch officer creation#57
LukeSultzer merged 5 commits intodevfrom
feat/csv-batch-officer-creation

Conversation

@jeydinpham
Copy link
Copy Markdown
Contributor

This PR adds CSV uploading for batch officers creation in the officer database. It also removes the Groups options for creating an officer, as they were unnecessary in our era of ACM member management. This PR closes #52

CSV Import Functionality:

  • Added local CSV parsing logic with robust error handling, including a new parseCsvRows function and related UI for uploading and parsing CSV files. Users can now import multiple officers by uploading a CSV file with columns for first name, last name, and email.
  • Introduced state management for CSV file selection, error messages, and header row handling.
  • Updated the onboarding form to include a new section for CSV import, with clear instructions and error display.

Removal of Group Assignment:

  • Removed group selection UI and all related logic, including GROUP_OPTIONS, GROUP_ALIASES, and selectedGroups from the form schema and state. Officers are no longer assigned groups during onboarding.

@jeydinpham jeydinpham requested a review from LukeSultzer March 21, 2026 03:53
@jeydinpham jeydinpham self-assigned this Mar 21, 2026
@jeydinpham jeydinpham added the Type: Feature Request New feature or request label Mar 21, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
officer-database Ready Ready Preview, Comment Mar 21, 2026 3:53am

Request Review

@jeydinpham jeydinpham linked an issue Mar 21, 2026 that may be closed by this pull request
@LukeSultzer LukeSultzer merged commit d034176 into dev Mar 24, 2026
2 checks passed
@LukeSultzer LukeSultzer deleted the feat/csv-batch-officer-creation branch March 24, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Feature Request New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: CSV Upload for Batch Officer Creation

2 participants