Commit Graph

6 Commits

Author SHA1 Message Date
konstantin-paulus 0b0c7be3b5 Enhance scene loading and live update functionality
- Updated CanvasProvider to include a refetch mechanism for scene data upon external edits to the Lottie file.
- Modified loadScene function to disable caching for Lottie file fetches, ensuring the latest version is always loaded.
- Implemented a self-write tracking system in the scenes plugin to differentiate between internal and external changes, triggering live reloads only for the latter.
2026-06-15 12:56:35 +02:00
konstantin-paulus a723283e10 Implement context menu for scene and project deletion in ScenesContainer and SidebarLeft
- Added context menu functionality to allow users to delete scenes and projects directly from the UI.
- Integrated deleteScene and deleteProject functions to handle deletion requests and navigation upon deletion.
- Updated SceneItem and SidebarLeft components to utilize context menus for improved user interaction.
- Enhanced CSS for context menu styling to ensure a consistent and visually appealing design.
2026-06-14 17:07:41 +02:00
konstantin-paulus 7edb14d682 Implement live playback context and server middleware for scene updates
- Added functionality to track and report live playback state, including project, scene, frame, and playback status.
- Introduced server middleware to handle browser heartbeat updates and provide context for active projects and scenes.
- Enhanced scene metadata retrieval with last modified timestamps for better asset management.
2026-06-14 15:51:02 +02:00
konstantin-paulus b3c620a081 Add fflate dependency and enhance Lottie JSON handling in SidebarRight
- Introduced "fflate" dependency for improved compression handling.
- Updated SidebarRight to utilize new commitSource function for saving Lottie JSON edits.
- Refactored Lottie JSON structure for better readability and maintainability.
- Implemented server middleware to handle Lottie JSON updates, ensuring the source of truth is maintained.
2026-06-14 15:04:01 +02:00
konstantin-paulus 475961dc55 Add scene creation functionality and enhance sidebar interactions
- Implemented addScene function in ScenesContainer for dynamic scene addition.
- Enhanced SidebarLeft to allow project creation with input handling and keyboard events.
- Updated server middleware to handle project and scene creation requests, ensuring unique slugs and default scene setup.
- Improved user experience with input focus and blur handling for project naming.
2026-06-14 12:02:04 +02:00
konstantin-paulus 9bd32d9b7b Enhance app structure and scene management
- Integrated scenesPlugin into Vite configuration for improved scene handling.
- Removed obsolete controls.json and lottie.json files to streamline project assets.
- Refactored App component to eliminate CanvasProvider, simplifying the component hierarchy.
- Updated routing to include scene navigation and default redirection based on available scenes.
- Enhanced ScenesContainer and SidebarLeft components for dynamic project and scene management.
- Improved CanvasProvider to load scene-specific data and manage animations effectively.
2026-06-13 22:47:31 +02:00