299 Commits

Author SHA1 Message Date
konstantin-paulus
b9f3aafd96 Update dapi context command documentation and implementation
- Revised the `dapi context` command description in `README.md`, `index.ts`, and `projects.ts` to clarify its purpose in reporting the current project and playhead position.
- Enhanced the `handleContextGet` function to return detailed project information, including project ID, name, directory, and frame rate.
- Updated the API response structure in `context.ts` to reflect the new project context format, ensuring accurate data representation for users.
- Improved documentation in `context.md` and `README.md` to provide clearer guidance on the command's functionality and expected output.
2026-08-24 09:48:15 +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
dc614bb3b8 Implement project bundle management and enhance database schema
- Introduced `ProjectBundle` interface to manage project bundles in the database, allowing for efficient storage and retrieval of project data.
- Updated the `GlobalDBSchema` to include a new `bundles` object store, enhancing the database structure for better project management.
- Integrated `forgetProjectBundle` and `rememberProjectBundle` functions to handle project bundle lifecycle during project deletion and loading.
- Refactored the `createCapture` function to utilize the loaded project bundle, improving scene rendering efficiency.
- Enhanced the `EditorPage` to load cached project bundles, ensuring a smoother user experience during project editing.
2026-08-23 23:01:32 +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
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
ff6ebac686 Remove redundant AudioBus observer from world observation logic
- Eliminated the observer for the AudioBus entity, which was responsible for rebuilding the timeline index during playback. This change simplifies the observation logic and improves performance by reducing unnecessary updates to the timeline index.
2026-08-23 10:10:20 +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
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
428217f089 Refactor project menu components to utilize new engine structure and improve functionality
- Updated EditMenu, FileMenu, ViewMenu, and InspectorHeader components to use the new `@diffusionstudio/koota-solid` engine, enhancing performance and maintainability.
- Replaced deprecated functions with new selection and zoom utilities, streamlining user interactions.
- Improved keyboard shortcuts for selection management and zooming, ensuring a more intuitive user experience.
- Enhanced the handling of disabled states for menu items based on selection availability, improving usability.
2026-08-22 17:35:03 +02:00
konstantin-paulus
137091a458 Refactor keyboard shortcuts and input handling for improved usability
- Removed deprecated keyboard shortcuts related to asset import and folder creation in the keyboard system, streamlining input handling.
- Introduced a new shortcut handling mechanism in the Assets component to manage library-specific commands, enhancing user interaction.
- Updated the ExportProvider to handle keyboard shortcuts for exporting scenes and frames, improving accessibility and consistency across components.
- Improved input target checks to prevent conflicts with active input fields, ensuring smoother user experience during keyboard interactions.
2026-08-22 17:19:12 +02:00
konstantin-paulus
fd6edd8455 Enhance zoom functionality and input shortcuts in inspector header and shortcuts.ts
- Added keyboard shortcuts for zooming in, out, and resetting zoom in the inspector header, improving user accessibility.
- Refactored the focus function to frame all content on the stage, enhancing the zoom menu's usability.
- Updated input shortcuts to reflect the new focus functionality, streamlining user interactions with the scene.
2026-08-22 17:12:26 +02:00
konstantin-paulus
301d27e807 Enhance input shortcuts and selection management in shortcuts.ts
- Refactored input handling to include new functions for managing selection visibility, focusing on active scenes, and adjusting camera zoom.
- Introduced new shortcuts for cutting selections, seeking by frames or seconds, and restacking selected entities.
- Improved selection management by adding functions to select parents and children of the current selection, enhancing user interaction with the scene.
- Updated type definitions and imports for better clarity and maintainability.
2026-08-22 17:10:54 +02:00
konstantin-paulus
71b18dbf6c Refactor camera control and cursor management for improved tool interaction
- Updated the CameraController to enhance pointer handling and tool-based cursor updates, ensuring a more intuitive user experience.
- Introduced a new cursor management system that dynamically adjusts based on the active tool, improving visual feedback during interactions.
- Refactored input handling to streamline cursor updates, reducing reliance on hardcoded cursor states and enhancing maintainability.
- Added functionality to manage tool selection and cursor states when the space key is held, allowing for smoother transitions between tools.
2026-08-22 16:38:02 +02:00
konstantin-paulus
6a3272c048 Enhance asset placement logic in Canvas component
- Updated the asset drop handling to ensure that assets are placed correctly on the canvas, even when no scene is present.
- Introduced a fallback mechanism to use the world root as the parent for dropped assets, improving usability and consistency in asset placement.
- Enhanced documentation to clarify the behavior of asset drops when no active scene is detected.
2026-08-22 15:43:20 +02:00
konstantin-paulus
bbf7d1ca06 Implement timeline clearing functionality when no scene is present
- Added `clearTimeline` function to reset the canvas and surface state when there is no active scene, preventing leftover visual artifacts.
- Updated `timelineSystem` to call `clearTimeline` if the scene is null, enhancing the user experience by ensuring a clean slate for new scenes.
- Improved type definitions by importing `TimelinePointer` and `TimelineSurfaceState` for better clarity and maintainability.
2026-08-22 15:31:48 +02:00
konstantin-paulus
ac630bcbf1 Enhance scene initialization and asset handling in SceneInitOverlay and Timeline components
- Refactored SceneInitOverlay to support scene creation from dropped assets, ensuring proper placement and camera focus.
- Introduced new functions for handling asset drops and scene initialization, improving user experience when adding assets.
- Updated Timeline component to manage asset drops more effectively, creating new scenes when necessary and providing feedback for missing scenes.
- Added new utility functions in new-scene.tsx for creating scenes and inserting assets, streamlining asset management across components.
2026-08-22 15:31:05 +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
ea2830bb41 Enhance auto captions functionality in use-auto-captions.tsx
- Added new imports for `Computed`, `FrameRate`, and `framesToSeconds` to support dynamic caption timing.
- Implemented `sceneSpan` function to calculate the duration of scenes for accurate caption end timing.
- Updated the `insertFresh` function to utilize the calculated scene length when inserting captions, improving caption accuracy.
2026-08-22 11:06:54 +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
7d5614b61f Enhance pointer and keyboard interaction handling in the engine
- Added `onPointerEnter` and `onPointerLeave` methods to track pointer presence on the canvas, improving gesture detection.
- Refactored key state management by replacing `justPressed` and `justLifted` with `pressed` and `lifted` sets for better tracking of key events.
- Updated shortcut handling to accommodate new key state structure, ensuring accurate shortcut execution based on current key states.
- Improved documentation for clarity on pointer and key interaction mechanics.
2026-08-21 22:49:45 +02:00
Doruk Kavcioglu
2b97983006
Update boot splash mark
Swap in the 64px Figma logo export at 0.64 opacity and size it to 48px.
2026-08-21 18:06:00 +03:00
konstantin-paulus
32777c860e Enhance DashboardProjectsFolderBar with root validation and conditional rendering
- Introduced `hasRoot` function to check for a valid project root, improving user experience.
- Updated button rendering logic to conditionally display the "Reveal in finder" button only when a project root is available.
- Modified the folder selection button text to reflect the presence of a project root, enhancing clarity for users.
2026-08-21 16:30:33 +02:00
konstantin-paulus
d5ff75f431 Implement project cover capture and management functionality
- Introduced `captureProjectCover` function to handle capturing and storing project cover images upon project closure, enhancing visual representation.
- Added `projectCoverKey` and `readProjectCover` functions for managing and retrieving project cover images, improving project organization.
- Updated `DashboardProjectsView` and `EditorPage` components to utilize the new cover management features, ensuring seamless integration with existing workflows.
- Created a new `cover.ts` module to encapsulate cover-related logic, promoting better code organization and maintainability.
- Refactored `create-engine.ts` to include a `snapshot` method for capturing canvas images, supporting the new cover functionality.
2026-08-21 16:24:50 +02:00
konstantin-paulus
f1c171ccb3 Refactor project root management and enhance folder selection logic
- Introduced `ensureProjectsRoot` function to streamline the process of ensuring a valid project root is selected, improving user experience.
- Updated components to utilize the new root management logic, ensuring consistency across project-related functionalities.
- Enhanced the `DashboardProjectsFolderBar` to display a loading state while waiting for the root to be determined, improving clarity for users.
- Refactored database interactions for project roots, transitioning to a more robust structure that supports multiple roots and their management.
- Improved error handling and messaging for project root selection, ensuring users are informed of any issues during the process.
2026-08-21 14:05:23 +02:00
konstantin-paulus
e3d7d84150 Enhance project management with nanoid integration and channel updates
- Added `nanoid` dependency for generating unique project IDs, ensuring stable identification across renames.
- Introduced `PROJECTS_RESOLVE` channel to resolve project references by ID or folder name, improving project retrieval.
- Updated project-related functions to utilize the new ID system, enhancing consistency in project management.
- Refactored project handling in various components to accommodate the new project structure, ensuring seamless integration with existing functionality.
- Adjusted routing to reflect project IDs in URLs, maintaining user experience during project renaming.
2026-08-21 13:37:47 +02:00
konstantin-paulus
8816d3d799 Update screen size requirements in CSS and component text for improved clarity
- Adjusted media query breakpoints in `index.css` to reflect new minimum screen size of 720×480.
- Updated the message in `screen-too-small.tsx` to inform users of the new screen size requirements for optimal functionality.
2026-08-21 11:51:20 +02:00
konstantin-paulus
b4599f39f1 Implement project deletion confirmation dialog and enhance project management interactions
- Added an `AlertDialog` for confirming project deletions, improving user experience by preventing accidental deletions.
- Refactored project selection logic to utilize `selectedProject` state, enhancing clarity and maintainability.
- Introduced new signals for managing project creation and deletion states, ensuring smoother interactions.
- Updated `DashboardCardButton` to handle double-click and escape actions, improving accessibility and usability.
- Enhanced the `DashboardViewSection` to allow background clicks for deselecting projects, streamlining user interactions.
2026-08-21 11:46:42 +02:00
konstantin-paulus
6ea190134b Add APP_SHOW_IN_FOLDER channel and implement reveal functionality
- Introduced a new channel `APP_SHOW_IN_FOLDER` to allow the application to reveal files or folders in the OS file manager.
- Implemented the corresponding handler in `main.ts` to utilize the new channel for revealing paths.
- Added a `DashboardProjectsFolderBar` component to the dashboard, enabling users to change and reveal the projects folder.
- Updated the dashboard layout to incorporate the new folder bar, enhancing user interaction with project management.
- Refactored related components for improved organization and readability, setting the stage for future enhancements.
2026-08-21 11:17:51 +02:00
konstantin-paulus
16bb65bbcc Refactor LayerContext and NodeLayer components to simplify drag-and-drop functionality
- Removed the dragState management from LayerContext and NodeLayer, streamlining the context provider.
- Eliminated unused drag-related logic and imports, enhancing code clarity and maintainability.
- Updated NodeLayer to focus on resizing functionality, improving overall user interaction with layer elements.
- Improved code organization and readability, setting the stage for future enhancements.
2026-08-21 10:17:43 +02:00
konstantin-paulus
14cb57b24a Remove failsafe timeout for boot splash in index.html and adjust sidebar width in dashboard.tsx for improved layout consistency. 2026-08-21 10:16:21 +02:00
konstantin-paulus
7484468a9c Refactor StrokesSettings component for improved stroke management and inspector functionality
- Removed unused imports and streamlined the code structure for better readability.
- Updated the stroke management logic to utilize a dedicated `StrokeInspector`, enhancing the user experience when editing stroke properties.
- Simplified the rendering of stroke rows by replacing `StrokeControls` with `StrokeRow`, focusing on essential stroke attributes.
- Improved the handling of stroke selection and removal, ensuring the inspector closes appropriately when strokes are modified.
- Enhanced overall code organization, setting the stage for future enhancements.
2026-08-21 00:35:45 +02:00
konstantin-paulus
b2f5166d75 Enhance ExportPanel and Inspector components with new settings functionality
- Added a new `addSettings` function in the `ExportPanel` to streamline the application of default export templates and open the inspector.
- Updated the `handleAppendFill`, `handleAppendShadow`, and `handleAppendStroke` functions to capture the inserted elements and set them as picked, improving user interaction and state management.
- Refactored the `GradientFillPicker` to spawn a color picker upon stop insertion, enhancing the user experience when managing gradient stops.
- Improved overall code organization and readability across affected components, setting the stage for future enhancements.
2026-08-21 00:26:21 +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
f00020a374 Update timeline transformation logic to improve rendering
- Replaced direct assignment of the timeline transform with a call to `updateTimelineTransform`, enhancing the management of timeline view updates.
- Improved overall code organization and readability within the timeline view component, setting the stage for future enhancements.
2026-08-20 15:28:21 +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
b748276a26 Add wrap method to DocumentEditor for entity grouping and enhance shortcuts
- Introduced a new `wrap` method in the `DocumentEditor` class to group entities into a single wrapper element, maintaining their original positions and selection.
- Updated the `index.ts` file to export the new `split` functionality.
- Added a keyboard shortcut for the `splitAtPlayhead` action in the `shortcuts.ts` file, enhancing user interaction and editing capabilities.
- Improved overall code organization and readability across the affected components, setting the stage for future enhancements.
2026-08-20 13:23:27 +02:00
konstantin-paulus
c7277c7fb7 Refactor time management in Inspector for improved functionality and code organization
- Removed unused time-related functions and streamlined the `TimeSettings` component to utilize new timing hooks, enhancing performance and readability.
- Updated the handling of time input changes to directly interact with the entity, simplifying the logic and improving user experience.
- Introduced a new `duplicateInPlace` method in the `DocumentEditor` class to facilitate copying entities without disrupting their sequence, enhancing editing capabilities.
- Improved overall code organization and readability across the affected components, setting the stage for future enhancements.
2026-08-20 13:15:02 +02:00
konstantin-paulus
3e071c2929 Refactor ControlScrollArea to support scroll position persistence and enhance Inspector functionality
- Introduced a `scrollKey` prop to `ControlScrollArea` for remembering scroll offsets across component remounts, improving user experience during selection changes.
- Updated the `Inspector` component to utilize the new `scrollKey` feature, ensuring panels reset their state appropriately when selections change.
- Enhanced overall code organization and readability within the affected components, setting the stage for future improvements.
2026-08-20 12:50:55 +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