165 Commits

Author SHA1 Message Date
konstantin-paulus
d0d02b3601 Update package versions to 0.200.0 across all modules
- Bumped version numbers for the editor, CLI, desktop, web applications, and JSX package to 0.200.0 in package.json and package-lock.json.
- Ensured consistency in versioning across all related packages to reflect the latest updates and improvements.
2026-08-27 13:31:48 +02:00
konstantin-paulus
22c75e7e26 Update capture command to render scene frames and improve documentation
- Modified the `capture` command to render single frames of a scene instead of a node, ensuring the output matches the export's encoding.
- Updated command descriptions and argument details to reflect the new functionality, including changes to the time reference and scene handling.
- Enhanced documentation for the `capture` command and related references to clarify usage and expected behavior.
- Improved error messages for invalid scene captures, guiding users to capture the correct scene id.
2026-08-27 12:08:41 +02:00
konstantin-paulus
cb30dc839d Enhance file system handling with real path support
- Added a new channel `PROJECTS_FS_REAL_PATH` to resolve the real path of a given source, accommodating symbolic links.
- Updated the `listEntries` function to include a `link` property for entries that are symbolic links, improving asset management.
- Introduced the `realPathEntry` function to handle symlink resolution, ensuring accurate path retrieval.
- Enhanced the `removeEntry` function to prevent deletion of files outside the project directory, maintaining project integrity.
- Updated documentation to clarify symlink handling and the implications of linked assets in the project.
2026-08-27 11:07:24 +02:00
konstantin-paulus
2282835eed Improve error handling and logging in EditorPage
- Added console error logging for compile, render, and load failures in the EditorPage component to enhance debugging capabilities.
- Refactored the loadProject function call into a separate load function to handle errors more gracefully during project loading.
- Updated the motion system to use getLocalWindow instead of getSourceWindow for improved accuracy in local frame calculations.
2026-08-27 10:31:58 +02:00
konstantin-paulus
f33d5570cc Refactor caption handling and enhance transcript duration management
- Removed the `sceneSpan` function from the `useAutoCaptions` hook to simplify caption insertion logic.
- Updated the `insertFresh` function to streamline caption creation by removing unnecessary parameters.
- Introduced new functions in the `timing.ts` file to manage transcript duration and caption source handling, improving accuracy in timing calculations.
- Added caching for transcript lengths in `utils.ts`, allowing for synchronous access to transcript durations after initial reading.
- Enhanced the overall caption handling process to ensure better integration with the timing system and improve performance.
2026-08-26 14:20:38 +02:00
konstantin-paulus
21a689708b Refactor caption handling and improve styling logic
- Updated the `CaptionSettings` component to clarify the relationship between caption presets and authored styles, enhancing user understanding.
- Simplified the `Inspector` component by removing unnecessary checks for caption targets, streamlining the rendering logic.
- Wrapped the "Grow" control in the `TextPanel` with a conditional display to ensure it only appears when text is selected, improving UI responsiveness.
- Introduced new constants for caption preset styles and fills, centralizing style management and ensuring consistency across different caption types.
- Enhanced the `applyStyles` method in various caption decoders to utilize the new preset styles, improving the overall styling process and ensuring authored properties are correctly applied.
2026-08-26 13:53:08 +02:00
konstantin-paulus
ce691821bb Update caption handling and seed management in auto-captions feature
- Modified the `sceneSpan` function to calculate frames based on `computed.duration` for improved accuracy.
- Enhanced the `insertFresh` function to include a unique seed for each caption insertion, ensuring fresh transcriptions.
- Refactored the seed management logic to utilize `Date.now()` for generating new seeds, streamlining the re-transcription process.
- Cleaned up the `CaptionSettings` component by removing unused alignment logic and context menu, simplifying the UI and improving maintainability.
- Adjusted the `EditorGenAi` class to ensure proper key management for generated assets, preventing unnecessary re-transcriptions.
2026-08-26 11:47:13 +02:00
konstantin-paulus
cad0a98986 Enhance asset naming and insertion logic in generation functions
- Updated the `insertGenerated` function to accept an array of asset references, allowing for dynamic naming of generated entities based on their corresponding assets.
- Modified the `useGenerateAudio`, `useGenerateImage`, `useGenerateVideo`, and `useGenerateVoice` hooks to pass asset references during insertion, ensuring generated elements are appropriately named.
- Introduced a new `nameAfterGeneration` function to handle the naming process asynchronously, improving the clarity and organization of the codebase.
2026-08-26 10:57:20 +02:00
konstantin-paulus
48cc213686 Refactor aspect ratio synchronization in RuntimeDocument
- Replaced direct handling of the `keepAspectRatio` property with a dedicated `syncAspectLock` method to streamline aspect ratio management.
- Updated logic to ensure the aspect ratio lock is consistently applied based on node properties, enhancing the integrity of resizing operations.
- Added documentation for the new `syncAspectLock` method to clarify its role in maintaining authored bounds during resizing.
2026-08-26 10:47:26 +02:00
konstantin-paulus
5bd5076cf0 Refactor aspect ratio handling in layout and resizing logic
- Updated the `LayoutPanel` component to improve aspect ratio management by introducing a `lockedRatio` function, which determines the aspect ratio based on the current dimensions or authored values.
- Simplified the `resize` function to utilize the new `lockedRatio` for enforcing aspect ratios during resizing operations.
- Enhanced the `toggleAspectRatio` function to directly edit the `keepAspectRatio` property, streamlining the locking mechanism.
- Added documentation for the `keepAspectRatio` property in relevant types and reference materials, clarifying its purpose and usage in the editor.
2026-08-26 10:21:42 +02:00
konstantin-paulus
b6bf78ac64 Enhance MIME type detection and result handling in asset management
- Introduced `resultExtension` function to determine the appropriate file extension for generated assets based on MIME type and URL, improving file identification accuracy.
- Updated the `store` method in `EditorGenAi` to utilize the new extension logic, ensuring generated files are named correctly based on their content.
- Enhanced `detectMimeType` function to include image type sniffing, allowing for better handling of files without explicit extensions, thus improving overall asset processing reliability.
- Added comprehensive documentation for new functions to clarify their purpose and usage in the asset management workflow.
2026-08-26 09:55:47 +02:00
konstantin-paulus
9b53426ea1 Refactor error handling and generation checks in rendering system
- Replaced direct queries for `SourceError` and `Generating` with utility functions `getSourceFailure` and `isGenerating` to streamline error handling and improve code readability.
- Updated the `drawHeader`, `renderClip`, and `renderGenerating` functions to utilize the new utility functions, enhancing consistency across the rendering logic.
- Improved the `isGenerating` and `getSourceFailure` functions to check both the entity and its fills for generation status and source failure, ensuring comprehensive error reporting.
2026-08-26 09:38:22 +02:00
konstantin-paulus
0197f51299 Improve canvas handling and error logging in rendering
- Updated the canvas creation in `createCapture` to ensure it remains within the viewport, preventing issues with cached paints and blank captures.
- Enhanced the `AnimeTimeline` component to use alpha colors instead of opacity for better rendering during animations, avoiding subtree blanking.
- Introduced a `WeakSet` in `render.ts` to track failed HTML roots, preventing console flooding by logging errors only once per root.
- Clarified documentation regarding nested opacity effects on captures to improve user understanding of rendering limitations.
2026-08-25 19:21:33 +02:00
konstantin-paulus
fb241b9851 Refactor stage and scene components to include camera and active properties
- Updated all example files and relevant documentation to incorporate the `camera` property in the `<stage>` component, ensuring proper framing for various scene dimensions.
- Marked one scene as `active` in each example to prevent projects from opening on an empty timeline, enhancing usability and clarity in project structure.
- Adjusted the `StageProps` and `SceneProps` types to reflect the new requirements for camera and active properties, improving type safety and documentation accuracy.
2026-08-25 16:43:40 +02:00
konstantin-paulus
572425a511 Enhance useTicker with hold functionality for async work
- Introduced the `hold` method in the `useTicker` hook to manage async operations, ensuring frames wait for necessary resources before sampling.
- Updated example files to utilize the `hold` method for loading models and setting up WebGPU devices, improving frame accuracy during exports and captures.
- Added documentation for the `hold` method, detailing its purpose and usage in managing async work within the rendering pipeline.
- Implemented a timeout mechanism for held promises to prevent indefinite waits during rendering.
2026-08-25 16:31:49 +02:00
konstantin-paulus
f1b86549b9 Refactor asset warmup integration in encoder
- Moved the `warmupAssets` function to be exported for broader use across modules.
- Integrated `warmupAssets` calls in both `createEncoder` and `createImageEncoder` functions to ensure assets are preloaded before processing.
- Removed redundant warmup call from the `render` function in `createEncoder` for cleaner code.
2026-08-25 16:07:41 +02:00
konstantin-paulus
e0e9b761bb Implement syncTo feature for audio/video alignment
- Added support for the `syncTo` trait, allowing elements to align their playback based on the timing of another element's recording.
- Introduced `PendingSync` to manage in-progress sync requests and ensure proper correlation between audio and video sources.
- Enhanced the asset system to handle sync requests, including error handling for cycles and missing sources.
- Updated documentation to reflect the new `syncTo` functionality and its implications for element placement and playback management.
2026-08-25 15:11:39 +02:00
konstantin-paulus
9369730c9a Implement ticker system for playback management
- Introduced a new ticker system to manage playback timing and state updates within the document.
- Refactored the mount function to integrate the ticker, ensuring it advances with each frame.
- Removed the deprecated live mounts utility, streamlining the codebase and enhancing performance.
- Updated the playback system to utilize the new ticker for consistent frame updates across entities.
2026-08-25 14:52:28 +02:00
konstantin-paulus
11fecc09ea Refactor example files to use <stage> and <scene> components
- Updated all example files to replace <rect> with <stage> and <scene> for improved structure and consistency.
- Enhanced the README.md to reflect the new project entry format for examples.
- Added a new dependency on "koota" in package.json for better integration.
- Improved documentation and comments throughout the examples for clarity.
2026-08-25 14:32:48 +02:00
konstantin-paulus
af64295ed9 Refactor playback handling and enhance media synchronization
- Updated the `handlePlayInteraction` function to utilize the new `togglePlayback` utility for improved media control.
- Introduced `syncStagePlayback` to manage playback state based on entity hierarchy, ensuring proper media playback for nested entities.
- Enhanced the `togglePlayback` function to reset the playhead position for finished scenes, improving playback experience.
- Refactored imports in `interactions.ts` and `playback.ts` for better organization and clarity.
2026-08-25 09:30:24 +02:00
konstantin-paulus
5ea57654d6 Enhance canvas interaction handling with scene coverage checks
- Updated the canvas interaction logic to include checks for scenes that are covered by the marquee selection, ensuring that only visible and interactive entities are selected.
- Introduced a new utility function, `quadContainsQuad`, to determine if one quad fully contains another, improving selection accuracy.
- Refactored the selection process to filter out entities obscured by covered scenes, enhancing user experience during selection operations.
2026-08-24 20:01:55 +02:00
konstantin-paulus
7e1f3599a6 Enhance cache eviction logic for animated values
- Added logic to reset animated values in the cache when evicting from 'animations' or 'keyframeTracks' lists, ensuring proper state management during animation transitions.
- Improved the handling of cache members to maintain integrity when entities are removed.
2026-08-24 17:08:50 +02:00
konstantin-paulus
589be2161d Refactor timing traits to introduce Delay and Trim
- Replaced Start and End traits with Delay and Trim to better represent the node's timing on the timeline.
- Updated related functions and components to utilize the new timing structure, ensuring accurate handling of authored time.
- Enhanced the timing logic to reconcile authored time properties into the runtime's vocabulary, improving consistency across the editor and runtime.
- Refactored serialization and deserialization processes to accommodate the new timing traits, ensuring proper data handling during entity state changes.
2026-08-24 16:32:06 +02:00
konstantin-paulus
dc81b93e66 Refactor store function in world module for improved trait handling
- Removed the WeakMap for registered traits, simplifying the trait registration process.
- Enhanced error handling in the store function to ensure traits are queried correctly, improving reliability in accessing the store.
- Streamlined the logic for retrieving the store, reducing unnecessary checks and improving performance.
2026-08-24 15:42:03 +02:00
konstantin-paulus
2d27b6deb9 Refactor image and video generation components to use new rendering structure
- Updated `useGenerateImage` and `useGenerateVideo` to replace direct `<Image>` and `<Video>` elements with `<ImagePaint>` and `<VideoPaint>` wrapped in `<Rect>`, enhancing the rendering process.
- Modified `insertAsset` function to accommodate the new structure for inserting images and videos, ensuring consistency across asset types.
- Improved error handling in the timeline rendering by refining how generating and error states are determined, leading to better visual feedback during asset generation.
2026-08-24 12:43:56 +02:00
konstantin-paulus
63620be1f8 Remove deprecated bitecs dependency and clean up engine components
- Removed the `bitecs` package from `package-lock.json` and `package.json` as it is no longer needed.
- Deleted unused engine components and API files, including `constants.ts`, `index.ts`, `selection.ts`, `thumbnail.ts`, `assets.ts`, `base.ts`, `clipboard.ts`, `components.ts`, `engine.ts`, `entities.ts`, `events.ts`, `folders.ts`, and `frame.ts`, to streamline the codebase.
- Updated the `Canvas` component to remove references to the deprecated `bitecs` canvas.
- Refactored import paths in `projects-view.tsx` to align with the new structure.
2026-08-24 09:04:13 +02:00
konstantin-paulus
312f6c5859 Refactor export functionality and enhance scene handling
- Updated the export system to utilize the new `createCapture` function, allowing for more efficient scene rendering in a dedicated capture world.
- Refactored the `exportScene` method to accept an `Entity` instead of a scene ID, improving type safety and clarity.
- Enhanced the `FileExportMenu` and `FileExportSpecificSceneMenu` components to leverage the updated export logic, ensuring proper scene selection and export configuration.
- Improved error handling and user feedback during the export process, including checks for active scenes and clearer toast notifications.
- Streamlined the integration of the encoder and capture systems, ensuring consistent behavior across different export scenarios.
2026-08-23 22:36:08 +02:00
konstantin-paulus
a58d69cd31 Enhance entity disposal and error handling in RuntimeDocument
- Introduced an `attempt` function to safely execute operations and handle errors during entity disposal.
- Updated the `dispose` method to skip excluded entities and ensure proper cleanup of DOM nodes and resources.
- Improved error handling for URL revocation and entity destruction, enhancing stability during document disposal.
2026-08-23 18:18:01 +02:00
konstantin-paulus
2272d029ae Enhance JSX composition handling and improve DOM integration
- Introduced `canonicalizeTagsPlugin` to rewrite composition tags to PascalCase, preventing naming collisions with native DOM elements.
- Updated `sourcePlugin` to integrate SVG collision detection and ensure proper handling of composition tags within SVG contexts.
- Refactored `DocumentEditor` to improve scene node management and ensure correct DOM node handling during element creation.
- Removed deprecated `SurfaceHost` and `HtmlHost` implementations, streamlining media handling and improving performance.
- Enhanced type definitions and documentation for better clarity on scene node properties and DOM interactions.
2026-08-23 16:22:17 +02:00
konstantin-paulus
0f82c49175 Refactor KeyframeLayer and SubItemLayer for improved property handling and UI consistency
- Updated KeyframeLayer to utilize the new trackProperty function for better property path management, enhancing clarity in property representation.
- Refactored formatProperty function to improve naming consistency for properties displayed in the UI.
- Added a visual element in SubItemLayer for improved layout consistency.
- Enhanced type definitions for better maintainability and understanding of property paths.
2026-08-23 10:24:43 +02:00
konstantin-paulus
4e081980c5 Refactor Soundboard component for improved audio layer management
- Updated the Soundboard component to utilize the new `@diffusionstudio/koota-solid` engine, enhancing audio layer querying and management.
- Replaced deprecated hooks with new ones for better integration with the audio system, including the use of `useWorld`, `useEditor`, and `useTimelineIndex`.
- Improved the handling of audio layers and meters, ensuring that only audio-bearing layers are metered and simplifying the selection logic for left and right meters.
- Enhanced volume control functionality by introducing a unified `editVolume` method, streamlining volume adjustments across different entities.
- Added volume property documentation to the SceneProps type for better clarity on audio mixing behavior.
2026-08-23 10:08:16 +02:00
konstantin-paulus
fcaa8b95ed Refactor peaks and waveform management in timeline
- Updated the peaks management system to streamline audio peak handling, including the removal of the `peaks-worker` and integration of waveform derivation directly in the asset cache.
- Enhanced the `derivePeaks` function to utilize the new `deriveWaveform` method, improving efficiency in generating audio peaks from media files.
- Refactored the `requestPeaks` and `getClipSamples` functions to accommodate changes in data structure, ensuring better performance and clarity in waveform rendering.
- Improved type definitions and documentation for better maintainability and understanding of the audio processing workflow.
2026-08-23 09:41:50 +02:00
konstantin-paulus
03f1078b3c Refactor timeline media and peaks management
- Updated media handling in the timeline to utilize new functions for managing asset visuals, including `forgetAssetMedia` and `forgetAssetPeaks`, improving clarity in asset state management.
- Introduced `cloneFramesForSplit` and `clonePeaksForSplit` functions to streamline the duplication of clip visuals during splits, enhancing performance and usability.
- Added new `peaks.ts` module to manage audio peaks for timeline clips, improving organization and maintainability of audio-related functionality.
- Refactored rendering functions to accommodate changes in thumbnail and waveform rendering, ensuring consistent visual representation across different asset types.
2026-08-23 00:16:33 +02:00
konstantin-paulus
0aa88ae4c7 Refactor document editing and node management in the editor
- Updated the `editProperty`, `insertNode`, and `removeNode` methods in `DocumentEditor` to utilize the new `node` method from `RuntimeDocument`, improving consistency in node handling.
- Enhanced the `SceneNode` interface in `document.ts` to include `tag`, `props`, `parent`, and `children`, streamlining the structure of document nodes.
- Refactored various functions to operate on `SceneNode` instead of `Entity`, improving clarity and maintainability in document manipulation.
2026-08-22 23:20:56 +02:00
konstantin-paulus
ae21a34b7c Enhance runtime document management and error handling
- Updated the `dispose` method in `RuntimeDocument` to ensure proper cleanup of the document registry when a document is replaced.
- Added error handling in `createRuntimeDocument` to prevent multiple mounts in the same world, ensuring that only one project can be mounted at a time.
- Improved documentation to clarify the behavior of runtime documents and the importance of disposing of previous mounts before creating new ones.
2026-08-22 20:50:18 +02:00
konstantin-paulus
e6dbd415aa Refactor media handling and remove sequence support
- Removed references to `SEQUENCE` from various components, including `fill-picker`, `fill-row`, and `sub-item`, streamlining media type management.
- Updated `PaintItemIcon` and `TimeSettings` to handle only `VIDEO` and `IMAGE` types, enhancing clarity in media selection.
- Introduced `SourceFrameRate` trait to manage frame rates for frames directories, ensuring accurate playback duration.
- Refactored asset actions and timing utilities to accommodate the removal of sequence handling, improving overall code maintainability.
2026-08-22 20:21:59 +02:00
konstantin-paulus
a4ab6440b0 Refactor media selection and generation handling in the ActionBar and PromptInput components
- Introduced `useMediaSelection` to streamline the management of selected image and video nodes.
- Updated `ActionBar` to utilize the new media selection logic, simplifying the determination of media types.
- Refactored `PromptInputActions` to leverage `useMediaSelection`, enhancing clarity and reducing complexity in handling selected nodes.
- Removed obsolete functions related to media type determination, improving code maintainability.
- Added new constants for voice model and aspect ratio dimensions in `config.ts`, enhancing configurability for media generation.
2026-08-22 15:20:57 +02:00
konstantin-paulus
620dd7600c Integrate source error handling and enhance UI feedback
- Added `sourceErrorSystem` to manage source error states within the engine, improving error handling during asset generation.
- Updated HUD rendering logic to display error messages for entities with source errors, enhancing user awareness of issues.
- Introduced new color constants for failed states in the timeline, providing visual differentiation for failed generations.
- Enhanced clip rendering to account for source errors, ensuring clarity in the UI when an asset fails to generate.
- Refactored `EditorGenAi` to report generation failures with descriptive messages, improving user feedback on errors.
- Updated relevant types to include error handling, ensuring consistency across the codebase for managing generation failures.
2026-08-22 12:21:16 +02:00
konstantin-paulus
fa00825223 Implement generating color functionality and enhance clip rendering
- Introduced a new utility `getGeneratingColor` to manage the color pulsing effect for entities marked as generating.
- Updated `renderClip` to conditionally render the clip background based on the generating state, improving visual feedback during generation.
- Refactored `renderGenerating` to utilize the new color utility, streamlining the rendering process for generating entities.
- Enhanced label rendering logic to account for the generating state, ensuring clarity in the UI during the generation phase.
- Added a new file `generating.ts` to encapsulate generating-related utilities, promoting better code organization.
2026-08-22 11:38:04 +02:00
konstantin-paulus
71a7f30a68 Refactor and enhance JSX editing capabilities
- Introduced `SerializedAssetRef` and `EditValue` types to support new asset reference handling in JSX.
- Updated `setProp` and related functions to accommodate `SerializedAssetRef`, allowing for more complex prop values.
- Refactored `SourceSet`, `SourceInsert`, and `SourceIteration` interfaces to utilize `EditValue`, improving type safety and flexibility.
- Implemented `ensureGenerateImport` function to manage `generate` imports dynamically, enhancing code organization.
- Removed obsolete `use-auto-captions.ts` and integrated its functionality into `use-auto-captions.tsx`, streamlining the codebase.
- Added new `use-generate-image.tsx` to replace the previous image generation logic, improving asset management and integration with the editor.
- Enhanced the `PromptInput` component to support new asset handling and improve user experience in image generation workflows.
2026-08-22 10:58:03 +02:00
konstantin-paulus
907a56ef59 Integrate transcription functionality and enhance audio processing
- Added `@diffusionstudio/encoder` dependency to support audio encoding features.
- Implemented transcription capabilities in the `EditorGenAi` class, allowing for scene audio transcription and caching.
- Enhanced asset management by introducing `TranscriptionRequest` trait for handling transcription requests in the asset system.
- Updated `assetSystem` to process transcription requests, improving audio handling within scenes.
- Refactored related components to accommodate new transcription logic, ensuring seamless integration with existing workflows.
2026-08-21 23:27:37 +02:00
konstantin-paulus
2fafd8668c Enhance asset management and integration with AI generation
- Added `@diffusionstudio/jsx` dependency to support JSX generation features.
- Integrated `assetSystem` into various components to streamline asset handling.
- Refactored `create-engine.ts`, `image-encoder.ts`, and `encoder.ts` to utilize the new asset management structure.
- Removed the obsolete `jsx-generation.ts` file, consolidating asset generation logic.
- Updated `library.ts` to improve asset resolution and management processes.
- Enhanced the `EditorPage` to incorporate AI generation capabilities, improving project workflows.
2026-08-21 23:05:45 +02:00
konstantin-paulus
6b4e7033a2 Update transform handling in interactions and shortcuts for improved editing
- Introduced a new `editTransform` function to streamline the editing of transform properties (x, y, width, height, rotation) for entities, ensuring keyframes are synchronized correctly during user interactions.
- Refactored existing interaction functions to utilize `editTransform`, enhancing the consistency and readability of the code.
- Updated the `nudgeSelection` function to apply transformations using the new method, improving the handling of animated nodes during nudging.
- Improved overall code organization and readability across affected components, setting the stage for future enhancements.
2026-08-20 20:32:17 +02:00
konstantin-paulus
3e8602d407 Add adjustment layer support to JSX and reconciler
- Introduced `<adjustmentLayer>` element to the JSX framework, allowing for transformations on the clip below it without drawing its own content.
- Updated type definitions to include `AdjustmentLayerProps` for better type safety and documentation.
- Enhanced the reconciler to handle the new adjustment layer entity, ensuring proper integration within the document structure.
- Added comprehensive documentation for the adjustment layer, detailing its functionality and usage examples.
- Improved overall code organization and readability across affected components, setting the stage for future enhancements.
2026-08-20 15:42:20 +02:00
konstantin-paulus
9988530c3a Refactor entity insertion and reparenting logic for improved handling
- Enhanced the `DocumentEditor` class to improve the reparenting of entities by reversing the order of insertion, ensuring correct placement in the file structure.
- Introduced a new `orderedInserts` method in the `EditWriter` class to manage insert dependencies more effectively, allowing for better handling of unnamed entities.
- Updated the `splitAtPlayhead` function to incorporate `handOffDecoders`, improving the management of entity states during splits.
- Improved overall code organization and readability across the affected components, setting the stage for future enhancements.
2026-08-20 15:26:10 +02:00
konstantin-paulus
ea608254a2 Refactor timeline layers and enhance drag-and-drop functionality
- Updated the timeline component to utilize new hooks and improve asset management, including the integration of `useWorld` and `useLibrary`.
- Introduced a new `setRowHover` function to manage hover states for timeline layers, enhancing user interaction.
- Refactored layer components to streamline the handling of keyframes, nodes, and sub-items, improving overall code organization and readability.
- Implemented drag-and-drop functionality for reparenting layers, allowing for intuitive rearrangement of timeline elements.
- Enhanced the context management for layers, ensuring proper state handling during drag-and-drop operations.
2026-08-20 15:06:36 +02:00
konstantin-paulus
e6597e394a Enhance entity management with new clipHeight and expanded properties
- Added `clipHeight` and `expanded` properties to the entity model, allowing for more flexible timeline management and UI representation.
- Updated the `index.ts` file to export the new `overlap` functionality, improving modularity.
- Enhanced the `RuntimeDocument` class to handle the new properties, ensuring proper entity state management.
- Improved overall code organization and readability across the affected components, setting the stage for future enhancements.
2026-08-20 13:42:41 +02:00
konstantin-paulus
e7ff64686a Enhance InterpolationSettings integration in Inspector for improved keyframe management
- Imported `InterpolationSettings` into the `Inspector` component, allowing users to manage easing for selected keyframes.
- Updated the `InterpolationSettings` component to utilize new hooks and improve state management, transitioning to a more reactive approach with `useEditor`.
- Enhanced the user interface for selecting easing types and presets, ensuring seamless integration with existing inspector functionalities.
- Improved overall code organization and readability across the inspector components, setting the stage for future enhancements.
2026-08-20 10:33:08 +02:00
konstantin-paulus
6734017991 Integrate CaptionSettings into Inspector for enhanced caption management
- Imported `CaptionSettings` into the `Inspector` component, enabling users to manage captions for selected entities.
- Updated the `CaptionSettings` component to utilize new hooks and improve state management, transitioning to a more reactive approach with `useEditor`.
- Enhanced the user interface for selecting caption presets, colors, and vertical alignment, ensuring seamless integration with existing inspector functionalities.
- Improved overall code organization and readability across the inspector components, setting the stage for future enhancements.
2026-08-20 10:25:46 +02:00
konstantin-paulus
85c8585208 Enhance Inspector's Transform Settings for improved functionality and user experience
- Integrated new hooks and refactored components within the Transform Settings panel, transitioning to a more reactive approach with `useWorld` and `useEditor`.
- Updated the handling of transform properties such as position, rotation, offset, scale, skew, and constraints to support entity-based systems, enhancing user interaction.
- Improved keyframe synchronization for transform properties, ensuring accurate representation and editing capabilities.
- Enhanced overall code organization and readability across the inspector components, setting the stage for future enhancements.
2026-08-20 09:59:25 +02:00