mirror of
https://github.com/OFFIS-ESC/constellation-analyzer
synced 2026-01-27 07:43:41 +00:00
Refactors the history system to track complete document state instead of individual timeline states, making timeline operations fully undoable. BREAKING CHANGE: History is now per-document instead of per-timeline-state. Existing undo/redo stacks will be cleared on first load with this change. Changes: - historyStore: Track complete document snapshots (timeline + all states + types) - useDocumentHistory: Simplified to work with document-level operations - timelineStore: All timeline operations now record history - createState, switchToState, deleteState, updateState, duplicateState - Fixed redo button bug (was mutating Zustand state directly) New capabilities: - Undo/redo timeline state creation - Undo/redo timeline state deletion - Undo/redo switching between timeline states - Undo/redo renaming timeline states - Unified history for all document operations Technical improvements: - Proper Zustand state management (no direct mutations) - Document snapshots include entire timeline structure - History methods accept currentSnapshot parameter - Removed TypeScript 'any' types for better type safety 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| DIRECTIONAL_RELATIONSHIPS_UX_SPEC.md | ||
| IMPLEMENTATION_CHECKLIST.md | ||
| KEYBOARD_SHORTCUTS.md | ||
| MULTI_FILE_PLAN.md | ||
| PERSISTENCE_PLAN.md | ||
| PROJECT_SUMMARY.md | ||
| SIDE_PANELS_UX_DESIGN.md | ||
| TEMPORAL_ANALYSIS_SUMMARY.md | ||
| TEMPORAL_QUICK_START.md | ||
| TEMPORAL_SCENARIO_IMPLEMENTATION_PLAN.md | ||
| TEMPORAL_SCENARIO_UX_CONCEPT.md | ||
| UNDO_REDO_IMPLEMENTATION.md | ||
| UX_ANALYSIS.md | ||
| UX_CONCEPT_MULTI_VERSION_GRAPH.md | ||
| VISUAL_EXAMPLES.md | ||
| WORKSPACE_PERSISTENCE.md | ||