Skip to content

Conversation

@sophiezhou00
Copy link
Collaborator

@sophiezhou00 sophiezhou00 commented Nov 16, 2025

Extends the FileUploadButton.tsx to support uploading, parsing, cleaning, and displaying unique destination values from .xls, .xlsx, and .csv files.

  • Trimmed all string values.
  • Converted empty strings → null.
  • Skipped fully blank rows.
  • Normalized column names using a mapping helper.
  • Replace missing values with "No Destination".

Added new components/UniqueDestinationsDisplay.tsx to show the total count of unique destinations and names.

Added a page for testing app/destinations/page.tsx (can be deleted)

TESTING: tested with different excel files, and checked that the output looked correct and updated accordingly.

Screenshot 2025-11-16 at 5 20 36 PM

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.

2 participants