Skip to content

feat(export): implement CSV export for task data#3138

Open
desireddymohithreddy0925 wants to merge 11 commits into
Priyanshu-byte-coder:mainfrom
desireddymohithreddy0925:feature/csv-export
Open

feat(export): implement CSV export for task data#3138
desireddymohithreddy0925 wants to merge 11 commits into
Priyanshu-byte-coder:mainfrom
desireddymohithreddy0925:feature/csv-export

Conversation

@desireddymohithreddy0925

@desireddymohithreddy0925 desireddymohithreddy0925 commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds an Export CSV button to the Kanban Board to easily share, backup, or analyze tasks in spreadsheets.

Closes #2887


Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that changes existing behavior)
  • 📝 Documentation update
  • ♻️ Refactor / code cleanup (no functional change)
  • ⚡ Performance improvement
  • 🔒 Security fix
  • 🧪 Tests only

What Changed

  • Added tasksToCSV and downloadCSV to src/lib/export-utils.ts to format task arrays securely (accounting for commas and quotes).
  • Integrated the download trigger button seamlessly into the Kanban board header.

How to Test

  1. Navigate to the dashboard and locate the Kanban Board widget.
  2. Ensure you have at least one active task created.
  3. Click the "Export CSV" button in the board's header.
  4. Open the downloaded .csv file in Excel or Numbers.

Expected result: The file downloads successfully and contains id, title, status, priority, dueDate, createdAt, and tags columns, accurately matching the active UI tasks.


Checklist

  • Linked the related issue above
  • Self-reviewed my own diff
  • No unnecessary console.log, debug code, or commented-out blocks
  • npm run lint passes locally
  • No TypeScript errors (npm run type-check)
  • Added or updated tests where applicable
  • Updated documentation / comments if behavior changed

@github-actions github-actions Bot added gssoc26 GSSoC 2026 contribution type:devops GSSoC type bonus: devops (+15 pts) type:feature GSSoC type bonus: new feature type:testing GSSoC type bonus: tests (+10 pts) type:bug GSSoC type bonus: bug fix type:design GSSoC type bonus: UI/design (+10 pts) type:performance GSSoC type bonus: performance (+15 pts) and removed gssoc26 GSSoC 2026 contribution labels Jul 5, 2026
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

GSSoC Label Checklist 🏷️

@Priyanshu-byte-coder — please apply the appropriate labels before merging:

Difficulty (pick one):

  • level:beginner — 20 pts
  • level:intermediate — 35 pts
  • level:advanced — 55 pts
  • level:critical — 80 pts

Quality (optional):

  • quality:clean — ×1.2 multiplier
  • quality:exceptional — ×1.5 multiplier

Validation (required to score):

  • gssoc:approved — counts for points
  • gssoc:invalid / gssoc:spam / gssoc:ai-slop — does not score

Type labels (type:*) are auto-detected from files and title. Review and adjust if needed.
Points formula: (difficulty × quality_multiplier) + type_bonus

@github-actions github-actions Bot added the gssoc26 GSSoC 2026 contribution label Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc26 GSSoC 2026 contribution type:bug GSSoC type bonus: bug fix type:design GSSoC type bonus: UI/design (+10 pts) type:devops GSSoC type bonus: devops (+15 pts) type:feature GSSoC type bonus: new feature type:performance GSSoC type bonus: performance (+15 pts) type:testing GSSoC type bonus: tests (+10 pts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(export): implement CSV and Excel export for task data

1 participant