mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
- Add isSupermemoryFileUrl() utility that detects both files.supermemory.ai and *.r2.cloudflarestorage.com domains (presigned R2 URLs) - Update memories-grid.tsx domain checks to use the new utility instead of hardcoded files.supermemory.ai string checks - Add retry-on-error with 500ms delay to file-preview, image-preview, and PDF viewer components to handle transient load failures gracefully - Uses retryKey state + key prop to force re-mount on first failure - Add comprehensive test suite (61 tests across 5 test files) - Set up vitest + @testing-library/react infrastructure for apps/web |
||
|---|---|---|
| .. | ||
| file-preview.tsx | ||
| google-docs-preview.tsx | ||
| mcp-preview.tsx | ||
| note-preview.tsx | ||
| notion-preview.tsx | ||
| tweet-preview.tsx | ||
| website-preview.tsx | ||
| youtube-preview.tsx | ||