Skip to content

CSV table component#4

Draft
alextapper wants to merge 1 commit intomasterfrom
cursor/csv-table-component-a7c4
Draft

CSV table component#4
alextapper wants to merge 1 commit intomasterfrom
cursor/csv-table-component-a7c4

Conversation

@alextapper
Copy link
Owner

Add support for pasting tabular data and dropping CSV files to create interactive tables on the canvas.


Open in Web Open in Cursor 

- Add tryParseCSVCells() in charts/csv.ts for general CSV/TSV parsing
  that works with any text data (not just numeric)
- Add renderTable() in charts/charts.table.ts to compose a table from
  rectangle and text elements with styled header row
- Extend PasteChartDialog with a Table option alongside chart types
- Update insertClipboardContent to detect tabular data (even non-numeric)
  and show the table option in the paste dialog
- Add CSV file drag-and-drop handler in handleAppOnDrop that creates
  a table directly on drop
- Update openDialog type to support optional csvCells and nullable data
- Add i18n labels for table-related strings
@cursor
Copy link

cursor bot commented Mar 4, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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