- 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.
- Introduced new JSX_VERSION and SOLID_VERSION constants for better version management in package.json.
- Updated package.json to use @diffusionstudio/jsx for JSX support, ensuring compatibility with the latest features.
- Added jsxImportSource to tsconfig for improved JSX handling.
- Removed outdated TYPES definition and integrated StageProps into the JSX namespace for better type management.
- 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.
- Eliminated references to IndexedDB in asset and folder management, including removal of database-related code in `assets.ts` and `folders.ts`.
- Updated `restoreAssets` and `restoreFolders` functions to use in-memory placeholders instead of database retrieval.
- Adjusted `initAssets` and `initFolders` to remove database initialization, reflecting a shift towards in-memory project handling.
- Removed unused migration and project database files to streamline the codebase.
- Added CSS rules to adjust the soundboard's height and scale based on the container size.
- Updated the Soundboard component to apply the new soundboard class for consistent styling.
- Modified VolumeControl and MeterScale components to utilize new soundboard-related classes for better layout management.
- Introduced `DashboardGetDesktopApp` and updated `DesktopAppBanner` to promote the desktop app.
- Implemented `downloadDesktopApp` function to handle downloads for macOS users.
- Added download option in the project menu for better accessibility.
- Included a new SVG icon for download representation.
Updated the BackgroundSettings component to replace the deprecated engine context with the new Koota trait system for background management. Adjusted color assignment logic to use the new trait API, enhancing maintainability and performance. Additionally, modified the use-trait and use-trait-effect hooks to improve type inference and support for relation pairs, ensuring better integration with the entity and world systems.
Eliminated the `compile-project.ts` and `open-folder.ts` files from the CLI, streamlining the codebase. Updated the README to reflect changes in CLI commands, including the removal of outdated examples. Adjusted the API to enhance clarity and maintainability by consolidating asset handling functions and removing unused types. This refactor improves the overall architecture and reduces complexity in the CLI interactions.
Updated imports in cli-client and sidebar-left components to reference the new DAPI context instead of the deprecated editor-api. Removed the editor-api module and its associated files, streamlining the codebase and improving maintainability. This change enhances the overall architecture by consolidating API interactions under the new DAPI structure.
Bumped version for all applications to 0.132.0. Updated the CLI to properly handle environment variables when spawning processes, ensuring compatibility with Electron and improving overall functionality.
Bumped version for all applications to 0.131.0. Added a step in the release workflow to copy the environment variables for the web build, ensuring necessary configurations are set for the desktop app build process. Updated the Vite configuration to enforce environment variable checks for the desktop mode.
Introduced the EnvironmentOverlays function to conditionally render ScreenTooSmall and UnsupportedBrowser components based on the current location. This enhances the user experience by ensuring appropriate overlays are displayed when not on the checkout page.
Updated the `captureCanvasThumbnail` function to maintain the correct aspect ratio when drawing the canvas image. The implementation adjusts the source dimensions and offsets based on the target thumbnail aspect ratio, ensuring that thumbnails are generated without distortion.
Introduced a new `analytics.ts` file to implement installation tracking via Umami. The `trackInstall` function sends a tracking event on the first launch of a packaged build and creates a marker file to prevent duplicate tracking. Integrated this functionality into the main application flow by calling `trackInstall` during the app's startup process.
Modified the `dmg-background.svg` file to enhance the visual design and updated the associated PNG files for consistency. Adjusted the file positions in the `forge.config.ts` to improve layout within the application window. These changes aim to enhance the user experience during application installation.
Added a condition in the `handleGetFullscreenState` function to return a resolved promise with `false` if the `window.desktop` object is not present. This change ensures that the function behaves correctly in non-desktop environments, preventing potential errors when checking fullscreen state.
Restored the `@tailwindcss/vite`, `tailwindcss`, and `tw-animate-css` packages in both `package-lock.json` and `package.json`. Updated several entries to set the `dev` flag to true for various dependencies, ensuring proper configuration for development environments.
Updated the `whenReady` method in the HtmlHost class to accept a time parameter for synchronizing animations and ensuring all images are ready before rendering. Simplified the `nextRenderingUpdate` function to enhance promise management during rendering updates, improving overall efficiency and responsiveness in the rendering pipeline.
Introduced a new function to check for position keyframes in the interaction handling logic. Updated the condition for reparenting entities to ensure that entities without position keyframes are handled appropriately. This change enhances the interaction system's robustness by preventing unintended reparenting of entities with active keyframes.
Modified timeline configuration constants to enhance user experience. Increased the maximum timeline resolution range and adjusted the default clip height. Introduced new constants for wheel scrolling sensitivity and clamping, improving the responsiveness of zoom and scroll actions. Updated the timeline rendering logic to utilize these new constants, ensuring smoother interactions during timeline navigation.
Added new constants for scrub event handling and implemented logic to manage continuous scrubbing and frame display during seeks. Introduced a settle mechanism to refine frame resolution after scrubbing, improving user experience during video playback. Updated methods to utilize keyframes more effectively, ensuring smoother transitions and reducing visual artifacts during rapid seeks.
Removed the `iteratorStart` property from the `VideoBuffer` class and updated the `isBlockedFrame` method to enhance frame management. Introduced an `inFlight` set in the `VideoDecoderQueue` class to track frames currently being processed, ensuring better synchronization and resource management. Adjusted related methods to clear and manage the `inFlight` set effectively, improving overall performance and reliability of video decoding.
Introduced a new `keyframe-index.ts` module to manage keyframe indexing for video assets, improving seek performance and rendering reliability. Updated the `VideoBuffer` class to utilize the keyframe index for efficient frame retrieval and added a method to clear the keyframe index cache. Enhanced the `FrameCache` class with a new `findNearest` method to optimize frame selection based on proximity. Updated related imports and documentation to reflect these changes.
Eliminated the `--open` option from the `dapi report` command, which previously opened the created issue in the default browser. Removed the `openInBrowser` function and updated related documentation to reflect these changes, streamlining the command's functionality and focusing on direct issue filing without browser interaction.
Updated the `dapi report` command to file GitHub issues directly using the `gh` CLI, removing the previous markdown report generation step. Enhanced the command's description and options in the README and reference documentation to clarify the immediate submission process and the requirement for `gh` authentication. Adjusted related code in the report handling to streamline issue creation and improve user experience.
Updated the `whenReady` method in the HtmlHost class to streamline the resolution of asynchronously loaded HTML resources. Replaced the previous image decoding handling with a more efficient promise management approach, ensuring that all images and fonts are ready before rendering updates. Adjusted related documentation to clarify the changes in resource readiness handling.
Implemented a new `whenReady` method in the HtmlHost class to ensure all images in its subtree are decoded before rendering updates. Updated the playback system to utilize this method for improved rendering reliability. Enhanced the WorldDocument class to manage image sources more effectively, including support for various input types and object URL management. Updated documentation to reflect changes in image handling and source resolution.
Updated the MediaFrameResult and NodeCaptureResult types to utilize a new TimecodedImage format, which includes timecodes for better clarity. Introduced options for combining frames into contact sheets and specifying frames per sheet, enhancing the output structure. Adjusted related functions and documentation to reflect these changes, improving user understanding of the output format and capabilities.
Updated the naming convention for output PNG files in both media frame and node capture functions to use a more descriptive timecode format (e.g., 00h00m01s15f.png). Introduced a new utility function, `timecodeFilename`, to handle the formatting. Adjusted related documentation to reflect these changes, enhancing clarity for users regarding the output file naming structure.
Updated the MediaFrameResult and related functions to replace the timestamp with a timecode string for better clarity. Adjusted the output structure in both media frame and node capture processes to include timecode, ensuring that captured images and frames are named accordingly. Enhanced documentation to reflect these changes, improving user understanding of the output format.
Implemented a readiness barrier for projects in the engine context, allowing components to wait for a project to be fully initialized before proceeding. Introduced `whenProjectReady` and `markProjectReady` functions to manage project readiness state. Updated the `EngineProvider` and project handling functions to utilize this new mechanism, ensuring smoother project transitions and preventing race conditions during project initialization.
Enhanced the desktop application to handle deep links for checkout and authentication. Introduced new channels for managing pending callbacks and updated the main process to deliver deep links appropriately. Modified the purchase success component to respond to deep link events, ensuring a seamless user experience. Additionally, updated the checkout functions to utilize deep links for success and cancel URLs.
Introduced a new command `dapi report` that allows users to report bugs in the CLI or the app. This command generates a markdown report containing diagnostics, including the app's status and recent logs, and provides a prefilled GitHub issue URL. Updated the README and reference documentation to include details about the new command and its usage.
Updated the audio generation functionality to include an optional `duration` parameter in the `GenerateAudioOptions` type. This change allows users to specify the duration for audio prompts, improving flexibility in audio generation. Additionally, validation was added to ensure the duration is a positive number. Updated related documentation to reflect this new option.
Updated the `sceneAudioFingerprint` and `transcribeScene` functions to accept an optional `seed` parameter, allowing for more flexible transcript caching. Adjusted related logic in the `WorldDocument` class to utilize the seed for generating unique transcription keys. Additionally, updated documentation to reflect the new `seed` prop in the captions API, clarifying its role in bypassing cached transcripts.