supermemory/apps/web/components/add-document
Sruhvx-jpg 0bf6801650 perf(web): optimize document upload validation with static sets, MIME checks, and 50MB size guard
- Hoist extension and MIME type Set allocations to module scope in document-file-validation
- Add fail-fast 50MB size check to reject oversized uploads prior to network requests
- Support direct MIME lookup for PDFs, images, and standard office documents alongside extension fallback
- Add unit test suite covering extension, MIME, size, and corrupt/empty file validation

Fixes #1559
2026-08-19 15:33:04 +05:30
..
connections.tsx feat(web): support discount code checkout (#1523) 2026-08-16 13:43:53 -07:00
file.tsx perf(web): optimize document upload validation with static sets, MIME checks, and 50MB size guard 2026-08-19 15:33:04 +05:30
index.tsx feat(web): support discount code checkout (#1523) 2026-08-16 13:43:53 -07:00
link.tsx Add bulk multi-URL paste to create separate memories (#1109) 2026-06-15 11:37:09 +05:30
note.tsx Add bulk multi-URL paste to create separate memories (#1109) 2026-06-15 11:37:09 +05:30