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.
Included a clarification in the README.md stating that the brand assets located in apps/desktop/assets are not covered by the MPL-2.0 license, ensuring proper attribution and rights management for Diffusion Studio Inc.
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 `publishConfig` for public access in package.json and enhanced build scripts with prepublish and packing hooks. Removed outdated example code and streamlined the README.md to focus on essential package functionality and tooling, improving clarity for users.
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.
Deleted the `09-html-scene.tsx` example file, which demonstrated an HTML scene as a mount root. Updated the README and related documentation to remove references to this example and clarified that only `<rect>` can be promoted to a scene. Adjusted descriptions in the JSX documentation to reflect this change.
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.
Expanded the README to include new prompt examples for various video editing tasks, enhancing clarity and providing users with more comprehensive guidance. The updates include specific instructions for creating promotional videos, editing footage, and extracting highlights, ensuring a better understanding of the capabilities within Diffusion Studio.
Revised the README to better describe Diffusion Studio's functionality, emphasizing the role of the `dapi` CLI and providing detailed prompt examples for video understanding, motion graphics, video editing, and clipping. Additionally, clarified the caching behavior of transcripts in the captions documentation by removing the optional seed parameter reference, ensuring accurate information for users.
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.
Updated the context command description for clarity on spatial and temporal references. Refactored the context handling to include selected node IDs, improving the context response structure. Additionally, modified the selection utility to streamline the retrieval of selected node IDs, ensuring consistency across the editor API.
Updated the documentation for the `<html>` element by removing obsolete examples related to scene identity and layout practices. This change streamlines the content, focusing on the current best practices for using `<html>` in JSX, while ensuring clarity and relevance for users.
Updated the desktop application to improve main window activation behavior, ensuring it restores and focuses the window if minimized or destroyed. Additionally, refined the scene initialization overlay logic to ensure reactivity by accessing the timeline index, enhancing the overall user experience and responsiveness of the application.
Updated the codebase to replace instances of the Trim component with the Workarea component, enhancing the handling of playback and rendering windows. This change includes adjustments in the context command, encoder, playback system, and rendering logic to utilize the new Workarea structure, ensuring a more intuitive and consistent approach to managing scene work areas.