[PR #22048] feat(editor): CSV download support for data tables #22012

Open
opened 2025-11-20 06:22:39 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/n8n-io/n8n/pull/22048
Author: @nikhilkuria
Created: 11/19/2025
Status: 🔄 Open

Base: masterHead: feature-export-csv-data-tables


📝 Commits (9)

  • d49388a feat: initial commit for csv export from data tables
  • 5d3d9c1 refactors in the service and controller
  • 76c03e4 minor refactors and safety checks
  • 1ad9df0 removing unwanted conversion of string
  • a6561ed remove unwanted conversion of string
  • 9d105cc resolving merge conflicts
  • bbeab3d Merge branch 'master' into feature-export-csv-data-tables
  • e5a4f9c add missing parameter
  • 74760e0 Merge branch 'feature-export-csv-data-tables' of https://github.com/n8n-io/n8n into feature-export-csv-data-tables

📊 Changes

7 files changed (+217 additions, -0 deletions)

View changed files

📝 packages/cli/src/modules/data-table/data-table.controller.ts (+30 -0)
📝 packages/cli/src/modules/data-table/data-table.service.ts (+111 -0)
📝 packages/frontend/@n8n/i18n/src/locales/en.json (+2 -0)
📝 packages/frontend/editor-ui/src/features/core/dataTable/components/DataTableActions.vue (+22 -0)
📝 packages/frontend/editor-ui/src/features/core/dataTable/constants.ts (+1 -0)
📝 packages/frontend/editor-ui/src/features/core/dataTable/dataTable.api.ts (+19 -0)
📝 packages/frontend/editor-ui/src/features/core/dataTable/dataTable.store.ts (+32 -0)

📄 Description

Summary

Screenshot 2025-11-19 at 19 24 00

Tested with 50 MB of data in a single data table. The download happens in <3 seconds.
If there is a need to support bigger tables, we can add streaming support later

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/n8n-io/n8n/pull/22048 **Author:** [@nikhilkuria](https://github.com/nikhilkuria) **Created:** 11/19/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feature-export-csv-data-tables` --- ### 📝 Commits (9) - [`d49388a`](https://github.com/n8n-io/n8n/commit/d49388ada1e618556f3df13287538a695037e0ae) feat: initial commit for csv export from data tables - [`5d3d9c1`](https://github.com/n8n-io/n8n/commit/5d3d9c15ddf2d9b5f3fd2903af1afc56405a94ce) refactors in the service and controller - [`76c03e4`](https://github.com/n8n-io/n8n/commit/76c03e4d088ebf190d90d8045eec934c0c073093) minor refactors and safety checks - [`1ad9df0`](https://github.com/n8n-io/n8n/commit/1ad9df01f91220286caef4b1897e6f663acb12f5) removing unwanted conversion of string - [`a6561ed`](https://github.com/n8n-io/n8n/commit/a6561ed97ea01be00f0f0123ab7cfdfbabed0973) remove unwanted conversion of string - [`9d105cc`](https://github.com/n8n-io/n8n/commit/9d105ccc04729cd2ec4e690f29e3474f243127aa) resolving merge conflicts - [`bbeab3d`](https://github.com/n8n-io/n8n/commit/bbeab3d7d3741fcb85dffc1307a26058307fc6ad) Merge branch 'master' into feature-export-csv-data-tables - [`e5a4f9c`](https://github.com/n8n-io/n8n/commit/e5a4f9cf90efc3e602550c6ccbb306704dbfcb54) add missing parameter - [`74760e0`](https://github.com/n8n-io/n8n/commit/74760e0eb40095ba5f6915c34257e881ca43c8cc) Merge branch 'feature-export-csv-data-tables' of https://github.com/n8n-io/n8n into feature-export-csv-data-tables ### 📊 Changes **7 files changed** (+217 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/modules/data-table/data-table.controller.ts` (+30 -0) 📝 `packages/cli/src/modules/data-table/data-table.service.ts` (+111 -0) 📝 `packages/frontend/@n8n/i18n/src/locales/en.json` (+2 -0) 📝 `packages/frontend/editor-ui/src/features/core/dataTable/components/DataTableActions.vue` (+22 -0) 📝 `packages/frontend/editor-ui/src/features/core/dataTable/constants.ts` (+1 -0) 📝 `packages/frontend/editor-ui/src/features/core/dataTable/dataTable.api.ts` (+19 -0) 📝 `packages/frontend/editor-ui/src/features/core/dataTable/dataTable.store.ts` (+32 -0) </details> ### 📄 Description ## Summary <img width="1318" height="408" alt="Screenshot 2025-11-19 at 19 24 00" src="https://github.com/user-attachments/assets/6f74e117-0a08-43b4-be9d-45d16f31612e" /> Tested with 50 MB of data in a single data table. The download happens in <3 seconds. If there is a need to support bigger tables, we can add streaming support later <!-- Describe what the PR does and how to test. Photos and videos are recommended. --> ## Related Linear tickets, Github issues, and Community forum posts <!-- Include links to **Linear ticket** or Github issue or Community forum post. Important in order to close *automatically* and provide context to reviewers. https://linear.app/n8n/issue/ --> <!-- Use "closes #<issue-number>", "fixes #<issue-number>", or "resolves #<issue-number>" to automatically close issues when the PR is merged. --> ## Review / Merge checklist - [ ] PR title and summary are descriptive. ([conventions](../blob/master/.github/pull_request_title_conventions.md)) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** --> - [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up ticket created. - [ ] Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. --> - [ ] PR Labeled with `release/backport` (if the PR is an urgent fix that needs to be backported) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the
pull-request
label 2025-11-20 06:22:39 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/n8n#22012
No description provided.