canvas-website/src
Jeff Emmett 6f57c767f4 fix: prevent ValidationError by not setting undefined values in shape.meta
When unpinning a shape, the previous code set pinnedAtZoom, originalX, and
originalY to undefined in shape.meta. This caused a ValidationError because
tldraw requires JSON serializable values (undefined is not valid JSON).

Fixed by using object destructuring to exclude these properties from meta
instead of setting them to undefined.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 20:04:55 -05:00
..
automerge feat: improve social network presence handling and cleanup 2025-12-15 00:01:28 -05:00
collections implemented collections and graph layout tool 2025-07-29 14:52:57 -04:00
components fix: improve pinned shape zoom behavior - maintain constant visual size 2025-12-15 20:00:29 -05:00
config automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
constants final update fix old data conversion 2025-11-10 15:38:53 -08:00
context perf: optimize bundle size with lazy loading and dependency removal 2025-12-15 18:59:52 -05:00
css feat: add Drawfast tool, improve share UI, and various UI enhancements 2025-12-15 00:03:12 -05:00
graph automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
hooks fix: prevent ValidationError by not setting undefined values in shape.meta 2025-12-15 20:04:55 -05:00
lib perf: optimize bundle size with lazy loading and dependency removal 2025-12-15 18:59:52 -05:00
open-mapping fix: enable open-mapping module with TypeScript fixes 2025-12-07 11:48:49 -08:00
propagators feat: fix Holon shape H3 validation + offline persistence + geometry error handling 2025-11-29 21:36:02 -08:00
public feat: update mulTmux terminal tool and improve shape utilities 2025-11-26 04:08:08 -08:00
routes feat: add MycroZine Generator shape with 5-phase workflow 2025-12-15 19:35:28 -05:00
shapes feat: add MycroZine Generator shape with 5-phase workflow 2025-12-15 19:35:28 -05:00
slides slidedeck shape installed, still minor difficulty in keyboard arrow transition between slides (last slide + wraparound) 2025-01-23 14:14:04 +01:00
tools feat: add MycroZine Generator shape with 5-phase workflow 2025-12-15 19:35:28 -05:00
types refactor: remove OddJS dependency and fix Automerge sync 2025-11-16 20:19:02 -07:00
ui refactor: reorder context menu and remove Collections 2025-12-15 19:49:35 -05:00
utils feat: add Drawfast tool, improve share UI, and various UI enhancements 2025-12-15 00:03:12 -05:00
App.tsx perf: optimize bundle size with lazy loading and dependency removal 2025-12-15 18:59:52 -05:00
CmdK.tsx feat: fix Holon shape H3 validation + offline persistence + geometry error handling 2025-11-29 21:36:02 -08:00
GestureTool.ts everything working in dev 2025-11-10 11:06:13 -08:00
default_gestures.ts automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
gestures.ts add in gestures and ctrl+space command tool (TBD add global LLM) 2025-07-29 16:02:51 -04:00
prompt.ts everything working in dev 2025-11-10 11:06:13 -08:00
snapshot.json everything working in dev 2025-11-10 11:06:13 -08:00
ui.tsx everything working in dev 2025-11-10 11:06:13 -08:00
vite-env.d.ts chore: exclude open-mapping from build, fix TypeScript errors 2025-12-05 12:16:29 -08:00