- 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 `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.
- 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.
- Eliminated the `sqids` package from the project, simplifying ID generation.
- Updated ID allocation logic to use native methods for generating unique IDs, enhancing performance and maintainability.
- Added `@diffusionstudio/assets` dependency to improve asset management capabilities across applications.
- Adjusted related components to reflect changes in ID handling, ensuring consistent functionality.
- Updated `AssetThumbnail` and `LazyAssetItem` components to improve layout and rendering performance by adjusting CSS classes.
- Refactored audio peak derivation to utilize a dedicated web worker, enhancing responsiveness by offloading processing from the main thread.
- Simplified the `derivePeaks` function to communicate with the new worker, improving code organization and maintainability.
- Added utility functions for managing TCP port listeners in the development environment, ensuring smoother server restarts.
- Introduced `AssetCache` to manage derived data such as thumbnails and audio peaks, stored under a new `cache/` directory.
- Implemented methods for deriving and retrieving thumbnails and audio peaks, enhancing performance by reducing redundant calculations.
- Updated asset management to utilize the cache, ensuring efficient access to derived data during rendering.
- Enhanced the `AssetThumbnail` component to support cached thumbnails, improving loading times and user experience.
- Refactored related components and systems to integrate caching functionality, streamlining asset handling across the application.
- Added support for asset manifests with read and write capabilities, allowing for better organization of project assets.
- Introduced new project channels for manifest reading and writing, enhancing communication between main and renderer processes.
- Improved file system interactions with new methods for listing, statting, and removing project files, streamlining asset management.
- Updated package dependencies to include `yaml` for manifest handling and linked `@diffusionstudio/assets` for asset management.
- Refactored existing code to integrate new asset handling features and improve overall project structure.
- Removed `PATCH_PROP_KEYS` and `PatchProps`, streamlining property management as the document structure no longer requires patching by prop name.
- Updated type definitions to introduce new internal prop groups (`IdentityProps`, `PositionProps`, `OffsetProps`, `SizeProps`, `TransformProps`, `TimingProps`, `SequenceItemProps`), enhancing clarity and organization of properties.
- Refactored animation and keyframe structures to utilize `<animation>` and `<keyframeTrack>` elements, ensuring consistent handling of animatable properties.
- Updated migration documentation to reflect the removal of obsolete structures and the introduction of new prop groups, detailing their usage in the context of animations and keyframes.
- Implemented `copy` and `paste` methods in `DocumentEditor` to manage entity copying and pasting, allowing users to duplicate entities within the document structure.
- Introduced `copySelection` and `pasteSelection` functions in `shortcuts.ts` to bind the copy and paste actions to keyboard shortcuts (mod + c and mod + v).
- Enhanced clipboard management to store the copied entities and their parent context, ensuring accurate pasting behavior.
- Updated migration documentation to reflect the new copy and paste features and their interaction with the document structure.
- Added a new `duplicate` method in `DocumentEditor` to copy selected entities and their subtrees, ensuring they are inserted correctly in the document structure.
- Introduced `duplicateSelection` function in `shortcuts.ts` to bind the duplication action to the keyboard shortcut (mod + d).
- Enhanced the `authoredTree` function to retrieve the subtree structure for duplication, and implemented `renderAuthored` to build host nodes from the authored tree.
- Updated the migration documentation to reflect the new duplication feature and its behavior regarding entity selection and positioning.
- Introduced `SourceUnroll` and `LoopIteration` types to support unrolling loop elements into individual iterations, allowing for more granular editing of looped content.
- Updated `DocumentEditor` to manage unroll edits, ensuring that edits to looped entities are handled correctly and reported accurately.
- Enhanced `EditWriter` to process unroll edits first during project writes, ensuring proper management of looped elements.
- Added `LOOP_ATTR` to track the source of loop elements, facilitating the editor's ability to manage and unroll loops effectively.
- Refactored related components and types to improve clarity and maintainability in handling looped entities and their iterations.
- Introduced `nudgeSelection` function to move selected nodes by specified `dx` and `dy` values, allowing for precise adjustments without snapping.
- Updated keyboard shortcuts to include nudge actions for arrow keys, enabling users to nudge selected entities with and without the shift modifier.
- Enhanced the existing shortcut system to improve user interaction and editing capabilities within the document editor.
- Introduced `SourceRemove` and `RemoveEdit` interfaces to support element deletion, allowing for the removal of elements and their descendants from the document structure.
- Updated `DocumentEditor` to handle the removal of entities, ensuring that deleted elements are accurately reported and managed within the editor.
- Enhanced `EditWriter` to track and process removal edits, ensuring proper cleanup of related inserts and moves during project writes.
- Implemented a new `shortcutSystem` to manage keyboard shortcuts, enabling actions like deletion of selected entities via backspace and delete keys.
- Refactored input handling to utilize the updated `Keys` trait, improving responsiveness to key events and maintaining accurate state during interactions.
- Streamlined event handling in the HUD and input systems to reflect changes in key state management, enhancing overall user experience.
- Introduced `SourceMove` interface to facilitate element movement within the JSX structure, allowing elements to be repositioned without altering their content.
- Updated `DocumentEditor` to support reparenting of entities, enabling dynamic changes in the entity hierarchy while maintaining accurate reporting of moves.
- Refactored `EditWriter` to handle move edits alongside insertions, ensuring proper management of element positions during project writes.
- Improved cursor update logic in `CameraController` to reflect the current interaction state, enhancing user experience during editing operations.
- Streamlined event handling in the engine to support new pointer event types, improving responsiveness to user interactions.
- Removed obsolete `use-running` hook to simplify the codebase and improve clarity in engine state management.
- Updated the engine instantiation in `EngineProvider` to use a new `createEngine` function for improved clarity.
- Refactored the `Engine` class to directly manage system execution, replacing the previous `runSystems` function with individual system calls for playback, motion, transform, and rendering.
- Removed the obsolete `schedule` system file to streamline the engine's architecture.
- Enhanced the overall structure and readability of the engine code, aligning with best practices for modular design.
- Replaced `switchActiveScene` with a new `activate` method in `DocumentEditor` to manage the active entity more effectively.
- Updated `DrawOverlay` and `SceneInitOverlay` components to utilize the new `activate` method, streamlining scene selection.
- Introduced `Active` trait to represent the active entity directly, enhancing clarity in entity management.
- Refactored related hooks and actions to align with the new active entity handling, improving overall code consistency and maintainability.
- Introduced `selected` property in `PatchProps` to track entity selection state, allowing for better management of selected elements.
- Enhanced `DocumentEditor` with `select`, `deselect`, and `clearSelection` methods to handle entity selection and deselection, improving user interaction.
- Updated `setProp` function to remove attributes for boolean props when set to false, ensuring cleaner output and accurate representation of selection state.
- Refactored `DrawOverlay` and `SceneInitOverlay` components to utilize the new selection management, streamlining the selection process in the editor.
- Adjusted related types and documentation to reflect the new selection handling capabilities.
- Updated `SourceInsert` and `InsertEdit` interfaces to include `text` for handling literal text content in elements.
- Introduced `jsxText` function for proper text content formatting in JSX.
- Refactored `DrawOverlay` and `SceneInitOverlay` components to utilize the new text handling features and improved tool management.
- Implemented `useTool` hook for reactive access to the current tool, enhancing the toolbar and tool menu functionality.
- Enhanced `DocumentEditor` to manage text node insertion and editing, improving overall document interaction.
- Introduced `TextNode` and `HostNode` types to accommodate text entities alongside scene nodes, improving the document's flexibility.
- Updated `RuntimeDocument` and `DocumentEditor` to handle text node creation, property management, and insertion logic.
- Enhanced methods for text node manipulation, including `createTextNode`, `replaceText`, and `isTextNode`, ensuring proper handling of text within the document structure.
- Refactored entity management to support the new text handling features, improving overall document interaction and editing capabilities.
- Introduced a new `useEditor` hook to streamline document editing operations, replacing the previous `useDocument` hook.
- Updated components (BackgroundSettings, InspectorHeader, CameraController) to utilize the new `useEditor` for managing property edits and reporting changes.
- Enhanced the `DocumentEditor` class to handle property edits and element insertions, improving the connection between the editor and the JSX source.
- Refactored the `EditWriter` class to manage pending edits and ensure accurate write-backs to the project, supporting real-time updates.
- Removed the obsolete `useProject` hook to simplify project management and improve code clarity.
- Updated camera control functions to utilize the new useDocument hook for reporting camera edits.
- Enhanced CameraController to report camera matrix changes directly to the document, ensuring real-time updates.
- Refactored InspectorHeader and BackgroundSettings to improve clarity and consistency in camera and background management.
- Introduced CameraMatrix type for better type handling in camera-related operations, enhancing overall code quality.
- Added support for writing project edits back to JSX, allowing real-time updates from the editor to the source files.
- Introduced new `writeProject` function to handle edits, ensuring changes are reflected in the project's JSX without triggering a full compile.
- Updated `main-channels` to include a new `PROJECTS_WRITE` channel for handling write requests.
- Enhanced `RuntimeDocument` to manage edits and maintain a connection between the editor and the JSX source.
- Improved type definitions in the JSX package to support new source properties, ensuring better integration with the editing workflow.
- Updated BackgroundSettings to utilize the new useDocument hook for managing background properties.
- Enhanced RuntimeDocument to streamline background color parsing and setting, ensuring consistent handling of background traits.
- Refactored mount function to create RuntimeDocument instances through a dedicated factory method, improving clarity and encapsulation.
- Adjusted color parsing logic to handle both string and number inputs, enhancing flexibility in background color management.
- Introduced CameraController to manage camera input and gestures, enhancing user interaction with the canvas.
- Updated Canvas component to include CameraController alongside EngineCanvas for improved functionality.
- Refactored InspectorHeader to utilize new camera scaling and zooming methods, streamlining the zoom management process.
- Enhanced camera-related hooks and actions for better integration with the new camera system.
- Updated documentation and comments to clarify the new camera management approach and its implications for component interactions.
- Updated various components and systems to replace direct world access with the Root entity for managing traits like Camera and Background.
- Enhanced BackgroundSettings and useCamera hooks to reflect the new approach in trait retrieval.
- Simplified entity management in the RuntimeDocument and other systems by ensuring consistent access to the Root entity.
- Removed deprecated getDocument function and adjusted related logic for improved clarity and performance.
- Updated various components to replace direct world access with getDocument for managing Camera and Background traits.
- Enhanced BackgroundSettings and useCamera hooks to reflect changes in trait retrieval.
- Adjusted encoder and rendering systems to ensure consistent access to document-level state.
- Improved documentation comments to clarify the new approach to managing document traits.
- Commented out the SceneInitOverlay in Canvas component to streamline rendering.
- Integrated useProject hook in EditorPage for improved project context handling.
- Removed ProjectLoader from ProjectPage to simplify project management.
- Updated project exports to include use-project instead of loader.
- Deleted the unused ProjectLoader component to clean up the codebase.
- Renamed the default export function in the starter template from Scene to Project for clarity.
- Updated StageProps interface to include a background property for customizable canvas color.
- Removed redundant project-related UI elements from the dashboard view to streamline the user experience.
- Simplified the ProjectLoader component by eliminating unused camera fitting logic and related comments.
- Enhanced the RuntimeDocument class to better manage the stage and rect entities, including background handling.
- Added new project channels in main-channels.ts for retrieving, renaming, duplicating, and deleting projects.
- Updated main.ts to handle new project-related requests, enhancing the project lifecycle management.
- Improved ProjectInfo type to include displayName and updated related functions for better project metadata handling.
- Enhanced dashboard and file menu components to support new project operations with improved UI interactions.
- Refactored project management logic in projects.ts to streamline package.json handling and ensure consistency across project operations.
- Replaced HomePage with DashboardPage as the main entry point in app.tsx.
- Introduced ProjectPage for project-specific routes.
- Updated routing logic to utilize useParams for project identification.
- Removed deprecated dashboard component files and adjusted related imports.
- Enhanced project management features in the dashboard, including navigation and project handling.
- Updated context imports to use dapi instead of editor-api for consistency.
- Bumped version numbers for all packages to 0.132.1 in package-lock.json.
- Introduced new project management channels in main-channels.ts for creating, listing, and compiling projects.
- Enhanced main.ts to handle new project-related requests.
- Updated dashboard projects view to support project creation, deletion, and duplication with improved UI interactions.
- Integrated project management functionality into the file menu for easier access.
- Added a new reconciler package to manage project content on disk.
- Improved project ID handling in use-project-id.ts to ensure valid folder names.