- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Introduced a new `BootSplash` component that displays a splash screen during the app's loading phase, improving the initial user experience.
- Implemented logic to remove the splash screen once the authentication state is resolved, ensuring a smooth transition.
- Added CSS styles for the splash screen, including animations and responsive design, to enhance visual appeal.
- Updated the main HTML structure to include the splash screen element, ensuring it integrates seamlessly with the existing layout.
- 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.
- Updated the `FillPicker`, `FillsSettings`, and related components to utilize new hooks and improve state management, transitioning to a more reactive approach with `useWorld` and `useEditor`.
- Refactored fill handling to support entity-based systems, enhancing user interaction and responsiveness.
- Introduced new gradient stop management functionality, allowing for dynamic editing of gradient fills.
- Improved overall code organization and readability across the inspector components, setting the stage for future enhancements.
- Updated the `gain` animation logic to ensure it now ramps amplitude and adds it to the volume in decibels, addressing the previous issue where it incorrectly ramped from 0 dB to 1 dB.
- Introduced a new `amplitudeToDecibels` function to convert amplitude values to decibels, ensuring accurate audio playback.
- Enhanced the migration documentation to reflect these changes and clarify the behavior of volume adjustments in the audio panel.
- Updated the `AudioSettings` component to utilize new hooks and improve state management, transitioning to a more reactive approach with `useWorld` and `useEditor`.
- Refactored volume, mute, and solo controls to leverage the new entity-based system, enhancing user interaction and responsiveness.
- Improved keyframe synchronization for volume changes, ensuring accurate representation in the audio panel.
- Enhanced overall code organization and readability within the inspector components, setting the stage for future audio-related enhancements.
- Imported `MasksSettings` into the `Inspector` component, allowing users to manage masks for selected entities.
- Updated the `MasksSettings` component to utilize new hooks and improve state management, transitioning to a more reactive approach.
- Enhanced the user interface for adding and editing masks, ensuring seamless integration with existing inspector functionalities.
- Improved overall code organization and readability across the inspector components, setting the stage for future enhancements.
- Imported `TransitionSettings` into the `Inspector` component, allowing users to manage transitions for selected entities.
- Updated the `TransitionSettings` component to utilize new hooks and improve state management, transitioning to a more reactive approach.
- Enhanced the user interface for adding and editing transitions, ensuring seamless integration with existing inspector functionalities.
- Improved overall code organization and readability across the inspector components, setting the stage for future enhancements.
- Introduced a new `animation-types.ts` file defining animation options and their properties, including groups and default values.
- Updated `AnimationsSettings` to utilize the new animation types, enhancing the user interface for selecting and managing animations.
- Refactored animation handling in `animations.tsx` to improve state management and reactivity using hooks from `@diffusionstudio/koota-solid`.
- Integrated animation options into the inspector, allowing for seamless addition and editing of animations for selected entities.
- Improved overall code organization and readability across the inspector components, setting the stage for future enhancements.
- Introduced a new `effect-types.ts` file defining effect options and their properties, including units and default values.
- Updated `EffectsInspector` to utilize the new effect types, enhancing the user interface for selecting and managing effects.
- Refactored `EffectsSettings` to support the addition of effects directly, improving the workflow for users.
- Enhanced state management using hooks from `@diffusionstudio/koota-solid`, ensuring better reactivity and performance.
- Improved overall code organization and readability across the inspector components, setting the stage for future enhancements.
- Imported `ShadowsSettings` into the `Inspector` component, allowing for shadow management for selected entities.
- Updated `ShadowInspector` to utilize new hooks and improve state management, transitioning to `useDerived` for reactive properties.
- Enhanced shadow editing capabilities, including color, opacity, offset, and blur adjustments, with proper keyframe synchronization.
- Improved overall code organization and readability across the inspector components, preparing for future enhancements.
- Imported `StrokesSettings` into the `Inspector` component, enabling stroke management for selected entities.
- Updated the `StrokesSettings` component to utilize new hooks and improve state management, transitioning from `Set<number>` to `Entity[]` for better type safety.
- Removed unused keyframe target properties from `SolidFillPicker` and `ShadowInspector`, streamlining their functionality.
- Improved overall code readability and organization across the inspector components, preparing for future enhancements.
- Replaced direct style property access with reactive signals for font family and weight in the TextPanel component, enhancing state management.
- Updated font family and weight change handlers to utilize the new signals, ensuring proper updates and preventing unnecessary edits.
- Adjusted the FontDropdown and Select components to reflect the new state management approach, improving user experience during text editing.
- Enhanced migration documentation to clarify the behavior of pickers that preview on hover, ensuring consistency in trait management.
- Introduced a new `TextEdit` interface to handle changes to `<text>` elements, allowing for direct editing of their content.
- Updated the `DocumentEditor` class with an `editText` method to facilitate text updates, ensuring proper reporting of changes.
- Modified the `EditWriter` to manage text edits separately, integrating them into the overall editing workflow.
- Enhanced the `RuntimeDocument` class with a `setText` method to replace the content of `<text>` elements, maintaining the integrity of text nodes during rendering.
- Refactored the `SourceSet` interface to include a `text` property, enabling the writing of text content alongside element properties.
- Improved the `TextPanel` component to utilize the new text editing functionality, streamlining the user experience for text modifications.
- Streamlined the migration status document, focusing on the transition from bitecs to the koota runtime package.
- Consolidated sections to improve clarity and reduce redundancy, ensuring a more concise overview of completed tasks and goals.
- Updated the structure to better reflect the current state of the migration process, enhancing readability for future reference.
- Removed outdated information and clarified the purpose of various components and systems involved in the migration.
- Introduced the `LayoutPanel` component to the `Inspector`, enhancing layout management for selected entities.
- Updated the `LayoutPanel` to utilize new hooks from `@diffusionstudio/koota-solid`, improving state management and interaction with the editor.
- Refactored entity selection handling within `LayoutPanel`, transitioning from `Set<number>` to `Entity[]` for better type safety and clarity.
- Enhanced resizing functionality to maintain aspect ratios and synchronize keyframe updates, improving user experience during layout adjustments.
- Cleaned up commented-out code and improved overall readability across the inspector components.
- Refactored project configuration management to enhance scene-specific export settings, allowing for more granular control over how each scene is exported.
- Updated the `ExportPanel` to utilize the new `exportOf` method for retrieving scene-specific export configurations, improving the user experience.
- Modified the `ProjectConfig` class to support scene-based export settings, ensuring that exports are correctly mapped to their respective scene IDs.
- Improved documentation and comments throughout the code to clarify the structure and purpose of project export configurations.
- Added ProjectConfig to the world initialization in create-engine.ts, enhancing project configuration management.
- Updated the disposal method in project-config.ts to set the ProjectConfigTrait to null instead of removing it, improving resource management and stability.
- Introduced new channels for reading and writing project configuration from the `diffusion` field in `package.json`, enhancing project management capabilities.
- Implemented `readConfig` and `writeConfig` functions to handle project configuration, allowing for dynamic updates and retrieval of project settings.
- Updated `main-channels.ts` to include new channel definitions for project config operations, ensuring proper integration with the main bridge.
- Refactored related components to utilize the new project config functionality, improving overall state management and user experience in the application.
- Added necessary types and utility functions to support the new project configuration structure, ensuring type safety and maintainability.
- Updated the `Alignment` component to utilize the `useWorld` hook, enhancing state management for alignment and distribution actions.
- Removed unused functions and streamlined the alignment logic, improving code clarity and maintainability.
- Adjusted the `Inspector` component to import the updated `Alignment` component, ensuring proper integration within the UI.
- Exported alignment functions from the engine module for better accessibility across the application.
- Refactored `AppearanceSettings` to utilize new hooks from `@diffusionstudio/koota-solid`, improving state management for opacity, blend modes, visibility, and corner radii.
- Enhanced keyframe handling by integrating `syncKeyframe` and `removeKeyframeTrack` functions, ensuring smoother animations and property edits.
- Updated the `Keyframe` component to support new properties and improve interaction with the editor, enhancing user experience.
- Replaced `Keyframe` imports across various components to use the new `keyframe-bitecs` module, ensuring consistency in keyframe management.
- Documented changes in migration notes to reflect updates in appearance settings and keyframe functionality.
- Integrated `TimeSettings` into the `Inspector` component, allowing for improved time management of selected entities.
- Refactored `time.tsx` to utilize new hooks and streamline time property edits, enhancing performance and maintainability.
- Updated asset actions to support frame rate adjustments for sequences, ensuring accurate playback timing.
- Cleaned up commented-out code and improved readability across related components, preparing for future feature expansions.
- Updated migration documentation to reflect changes in time handling and inspector functionality.
- Updated `asset-item` and `assets` components to utilize new asset actions for replacing media and inserting assets at the playhead, improving usability and consistency.
- Introduced `useAssetSelection` hook to manage selected assets across the application, streamlining asset handling in the inspector and assets panel.
- Enhanced `AssetInfoPanel` to display asset metadata and support asset replacement, ensuring a cohesive user experience.
- Refactored related components to integrate the new asset selection state, improving maintainability and clarity in asset interactions.
- Updated the `SceneTemplatePanel` to utilize the `useWorld` and `useEditor` hooks, improving state management and editor interactions.
- Refactored scene creation logic to center scenes in the viewport and streamline entity insertion, enhancing usability.
- Cleaned up commented-out code and improved readability, preparing for future feature expansions.
- Updated the `Inspector` component to utilize the new `useSelection` hook for managing selected nodes and keyframes, improving clarity and maintainability.
- Implemented a classification function to determine the type of selected entity, enhancing the inspector's functionality.
- Commented out unused panel imports as they transition to the new architecture, preparing for future integration.
- Added `useSelection` hook to manage selection state, splitting selected entities into nodes and keyframes for better organization.
- Updated migration documentation to reflect changes in the inspector and selection handling.