[P2] Data export (CSV/JSON) #107
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent Epic
#100
Problem
No way to export exchange data, metrics, or audit logs. Enterprise buyers expect export for compliance reporting, offline analysis, and integration with external tools.
Proposed Solution
Add an export button to each data table and chart:
Pages that need export:
Implementation
Accept: text/csvorapplication/jsoncameleer-exchanges-2026-04-01T22-31.csvAcceptance Criteria
Design Specification
Export button in table header, right-aligned:
[↓ Export ▾]dropdown with CSV (page), CSV (all), JSON (page), JSON (all).Client-side (current page): Convert table data to CSV/JSON blob, trigger download. CSV escaping per RFC 4180.
Server-side (all matching): New backend support via
Accept: text/csvheader or?format=csvparam.StreamingResponseBodyfor memory efficiency.File naming:
cameleer-{context}-{YYYY-MM-DD}.{ext}. Pages: Exchanges, Audit Log, Processor Metrics, Runtime Agents, ClickHouse Tables.Shared
ExportButtoncomponent with props:rows,columns,context, optionalbuildExportUrl.