supermemory/apps
abhay-codes07 2c4d5a6d32
feat(web): pan and zoom for the document image viewer
Image documents (screenshots, diagrams, receipts) could only be viewed at fit
size, so any fine detail was unreadable. This adds a proper viewer:

- Scroll to zoom toward the cursor, drag to pan once zoomed, double-click to
  zoom in at that point (or reset), and a small +/-/reset control with a live
  zoom percentage.
- Panning is clamped so the image can't be flung off-screen, and zooming fully
  out always snaps back to a clean centered fit.

The transform math (zoom-to-cursor, translation clamping) lives in
lib/image-zoom.ts as pure functions with unit tests; the component just wires
pointer/wheel events to it. The keyboard-accessible zoom buttons back the
pointer gestures. Existing load/retry/cached-blob fallback behavior is
unchanged.

Tests: lib/image-zoom.test.ts (10 passing). Type-checks and Biome clean.
2026-08-15 14:32:45 +05:30
..
browser-extension fix: add type checks for TypeScript workspaces (#1447) 2026-08-13 17:55:50 +05:30
docs docs: historical backfill guide (#1474) 2026-08-14 20:46:21 +00:00
mcp fix(mcp): surface real API error messages instead of 'restricted or blocked' (#1406) 2026-08-14 22:36:52 +00:00
memory-graph-playground fix: add type checks for TypeScript workspaces (#1447) 2026-08-13 17:55:50 +05:30
raycast-extension feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
web feat(web): pan and zoom for the document image viewer 2026-08-15 14:32:45 +05:30