Commit graph

62 commits

Author SHA1 Message Date
Jan-Henrik Bruhn
99ab514c0c fix: prevent cross-document state contamination in useActiveDocument
Added lastSyncedStateRef to track the graph state that was last loaded/synced
for each document. This prevents stale comparisons when switching between
documents by ensuring dirty checks only run against the correct document's
state.

Changes:
- Track last synced state (nodes, edges, nodeTypes, edgeTypes) per document
- Skip dirty check if graph state belongs to a different document
- Compare current graph state against last synced state instead of active document
- Update last synced state reference when loading or saving changes

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 16:50:26 +02:00
Jan-Henrik Bruhn
ac252dc5ed fix: show keyboard shortcut help should be used with ctrl 2025-10-10 12:40:09 +02:00
Jan-Henrik Bruhn
df95a7c84c fix: fit view to content shortcut overrides typing the F letter everywhere 2025-10-10 12:39:37 +02:00
Jan-Henrik Bruhn
ce0ee71193 fix: logo path 2025-10-10 12:03:54 +02:00
Jan-Henrik Bruhn
236d394276 fix: change folder location base path for imports to deploy 2025-10-10 12:02:09 +02:00
Jan-Henrik Bruhn
4e335a8fde fix: refactor keyboard shortcut context 2025-10-10 11:54:51 +02:00
Jan-Henrik Bruhn
75cb26a991 fix: resolve effect dependencies 2025-10-10 11:40:14 +02:00
Jan-Henrik Bruhn
79bfd525dd fix: remove unused variable 2025-10-10 11:35:57 +02:00
Jan-Henrik Bruhn
0bd9a94337 feat: add github action to deploy to github pages 2025-10-10 11:27:51 +02:00
Jan-Henrik Bruhn
fd13213ff4 Add license 2025-10-10 11:24:47 +02:00
Jan-Henrik Bruhn
de57fd758b Add vibe warning 2025-10-10 11:23:36 +02:00
Jan-Henrik Bruhn
f56f928dcf Initial commit 2025-10-10 11:15:51 +02:00