-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
component:csv-processorCSV processingCSV processingcopilot-candidateSuitable for GitHub CopilotSuitable for GitHub Copilotgood first issueGood for newcomersGood for newcomersmodality:csvCSV supportCSV supportpriority:lowNice to haveNice to havetype:bugSomething isn't workingSomething isn't working
Milestone
Description
Summary
Sample data in metadata is always returned as JSON string, but some use cases need structured objects or CSV preview format.
Root Cause
Lines 128-129 return JSON.stringify(sampleRows). No option for structured return or original CSV format.
Fix
Add format option: 'json' (current), 'object' (structured array), 'csv' (formatted CSV string), 'markdown' (table). Default to 'object' for programmatic use.
Files Affected
src/lib/utils/csvProcessor.ts
Acceptance Criteria
- Fix implemented and tested
- Unit tests added
- No regressions in existing CSV processing
- Documentation updated if needed
Effort: 1h
Copilot
Metadata
Metadata
Assignees
Labels
component:csv-processorCSV processingCSV processingcopilot-candidateSuitable for GitHub CopilotSuitable for GitHub Copilotgood first issueGood for newcomersGood for newcomersmodality:csvCSV supportCSV supportpriority:lowNice to haveNice to havetype:bugSomething isn't workingSomething isn't working