Skip to content

Conversation

@flegaspi700
Copy link
Owner

No description provided.

- Fix 'children' prop missing error by passing undefined instead of empty
- All 11 tests still passing
- Resolves TypeScript compilation error
- Add .md (Markdown), .csv (CSV), .docx (Word) file support
- Install mammoth for DOCX parsing, papaparse for CSV
- Update validation to accept 5 file types (was 2)
- Flexible MIME type checking for browser compatibility
- CSV formatted as readable text with headers and rows
- DOCX text extraction preserving content
- Backward compatible with existing .txt and .pdf support
- Add 27 validation tests for .md, .csv, .docx files
- Add 13 component tests for file upload scenarios
- Test markdown with various MIME types
- Test CSV parsing and formatting
- Test DOCX text extraction
- Mock mammoth and papaparse for testing
- All 519 tests passing (32 file upload, 27 validation)
- Update README features list with 5 file types
- Update test count to 519 tests
- Add Recent Updates section for Nov 2, 2025
- Create file-type-support.md feature documentation
- Document MIME types and parsing strategies
- Add implementation details and testing information
- Include browser compatibility notes and limitations
- Change Record<string, any>[] to Record<string, string>[]
- Removes @typescript-eslint/no-explicit-any violation
- No functional changes, type safety improvement
@flegaspi700 flegaspi700 merged commit 3bce587 into main Nov 2, 2025
2 checks passed
@flegaspi700 flegaspi700 deleted the feat/support-more-file-types branch November 2, 2025 19:19
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