supermemory/apps/web/components/document-cards
Dhravya 6a84003728 fix: update web app for presigned R2 URL compatibility
- 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
2026-05-09 17:20:14 +00:00
..
file-preview.tsx fix: update web app for presigned R2 URL compatibility 2026-05-09 17:20:14 +00:00
google-docs-preview.tsx feat: major iteration on the app (#896) 2026-05-02 23:58:58 +00:00
mcp-preview.tsx feat: major iteration on the app (#896) 2026-05-02 23:58:58 +00:00
note-preview.tsx feat: major iteration on the app (#896) 2026-05-02 23:58:58 +00:00
notion-preview.tsx feat: major iteration on the app (#896) 2026-05-02 23:58:58 +00:00
tweet-preview.tsx feat: major iteration on the app (#896) 2026-05-02 23:58:58 +00:00
website-preview.tsx perf: wrap list/grid components in React.memo to skip unnecessary re-renders (#847) 2026-04-12 15:45:58 -07:00
youtube-preview.tsx feat: major iteration on the app (#896) 2026-05-02 23:58:58 +00:00