Skip to content

feat(search): add export search results to CSV functionality#93

Merged
hexwarrior6 merged 4 commits intomainfrom
development
Nov 14, 2025
Merged

feat(search): add export search results to CSV functionality#93
hexwarrior6 merged 4 commits intomainfrom
development

Conversation

@hexwarrior6
Copy link
Copy Markdown
Owner

Description
This pull request introduces a new feature that allows users to export their search results to a CSV (Comma-Separated Values) file. This enhances data portability and enables users to perform further analysis on their search data using external tools like Excel or Google Sheets.

Changes Proposed

  • Added a new "Export to CSV" button to the search results toolbar.
  • Implemented the exportToCSV utility function that converts the search results data into a properly formatted CSV string.
  • Added error handling for the export process (e.g., empty results, download cancellation).
  • Added unit tests for the new exportToCSV function to ensure data is correctly formatted.

Technical Details

  • The CSV generation handles special characters (like commas and quotes within data) by wrapping fields in quotes.
  • The function uses the Blob and URL.createObjectURL Web APIs to trigger the file download in the browser.

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 14, 2025

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

Project Deployment Preview Comments Updated (UTC)
cise-speed Ready Ready Preview Comment Nov 14, 2025 4:24am
cise-speed-backend Ready Ready Preview Comment Nov 14, 2025 4:24am

@hexwarrior6 hexwarrior6 merged commit 2ab434c into main Nov 14, 2025
9 checks passed
@hexwarrior6 hexwarrior6 linked an issue Nov 14, 2025 that may be closed by this pull request
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.

Simple data export (CSV)

1 participant