Skip to content

feat: Statistics - Export to CSV/TSV#75

Merged
traplol merged 1 commit intomainfrom
agent/issue-66
Mar 21, 2026
Merged

feat: Statistics - Export to CSV/TSV#75
traplol merged 1 commit intomainfrom
agent/issue-66

Conversation

@traplol
Copy link
Copy Markdown
Owner

@traplol traplol commented Mar 21, 2026

Summary

  • Add CSV and TSV export buttons to the statistics panel query results
  • Implement export_utils.h with RFC 4180-compliant CSV formatting and TSV export
  • Add platform-abstracted save file dialog (native dialog on desktop, browser download on WASM)
  • Wire export buttons into the stats panel UI next to existing controls

Closes #66

Test plan

  • Unit tests for CSV export (quoting commas, quotes, newlines)
  • Unit tests for TSV export (no quoting)
  • Unit tests for empty results and single-column edge cases
  • All existing tests pass

🤖 Generated with Claude Code

Add Export CSV and Export TSV buttons to the statistics panel results
area. Uses SDL save file dialog on desktop and JS blob download on wasm.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@traplol traplol merged commit 78975ff into main Mar 21, 2026
3 checks passed
@traplol traplol deleted the agent/issue-66 branch March 21, 2026 17:29
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.

Statistics - Export to csv/tsv

1 participant