Skip to content

feat(export): :sparkles add task export - #33

Draft
flemingdp wants to merge 3 commits into
mainfrom
task_export
Draft

flemingdp wants to merge 3 commits into
mainfrom
task_export

Conversation

@flemingdp

Copy link
Copy Markdown
Collaborator

feat(export): :sparkles add task export utilities and tests for CSVJSON download

  • Implement exportUtils.ts with exportToCSV, exportToJSON, and downloadFile
  • Include all required task fields in CSV and JSON output
  • Ensure CSV properly escapes commas, quotes, and handles null fields
  • Add tests for export formatting, special character handling, whitespace, and
    correct download triggers in exportUtils.test.ts

feat(export): ✨ add task export feature (CSV/JSON selection)

  • Add TaskExport UI with dropdown for CSV/JSON, "Export All"/"Export Selected"
  • Implement selection state & controls in TaskList (Select/Deselect All)
  • Export only filtered/selected tasks with correct fields/formatting
  • Tests for export utils, TaskItem selection, TaskList selection/export

Task: #9

…SON download

- Implement exportUtils.ts with `exportToCSV`, `exportToJSON`, and `downloadFile`
- Include all required task fields in CSV and JSON output
- Ensure CSV properly escapes commas, quotes, and handles null fields
- Add tests for export formatting, special character handling, whitespace, and
  correct download triggers in `exportUtils.test.ts`

Task: #9
- Add TaskExport UI with dropdown for CSV/JSON, "Export All"/"Export Selected"
- Implement selection state & controls in TaskList (Select/Deselect All)
- Export only filtered/selected tasks with correct fields/formatting
- Tests for export utils, TaskItem selection, TaskList selection/export

Issue: #9
@flemingdp flemingdp self-assigned this Dec 1, 2025
@flemingdp
flemingdp marked this pull request as draft December 1, 2025 20:42
- Add `TaskExport.tsx` with dropdown for CSV/JSON export of filtered or
  selected tasks.
- Filenames include timestamp, e.g.
  `tasks-YYYY-MM-DD-HHMMSS.csv/json`
- "Export Selected" is disabled if no tasks are selected
- Uses utilities: `exportToCSV`, `exportToJSON`, `downloadFile`

issue: https://github.com/typpo/todo-react-main/issues/11

This branch has not been deployed

No deployments
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.

1 participant