301 Commits

Author SHA1 Message Date
konstantin-paulus
ba1dd1b8cd Refactor dashboard and project routing for improved navigation
- 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.
2026-08-15 22:03:07 +02:00
konstantin-paulus
434b994881 Update project management features and dependencies
- 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.
2026-08-15 20:03:45 +02:00
konstantin-paulus
641b6abde9 Refactor asset and folder management to remove IndexedDB dependencies
- 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.
2026-08-15 17:24:13 +02:00
konstantin-paulus
5b8e5e7f66 Merge branch 'main' into koota-migration 2026-08-15 16:54:10 +02:00
konstantin-paulus
24ed4435e0 Refactor soundboard layout and styling for improved responsiveness
- 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.
2026-08-15 11:31:02 +02:00
konstantin-paulus
9dbc4096b3 Add desktop app promotion components and download functionality
- 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.
2026-08-15 11:09:20 +02:00
konstantin-paulus
fc08cb5134 Add DesktopAppBanner component to Canvas for enhanced user engagement 2026-08-15 10:21:43 +02:00
konstantin-paulus
e62a71b133 Refactor BackgroundSettings component to utilize new trait system and improve background color management
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.
2026-08-14 15:31:20 +02:00
konstantin-paulus
e85cee917a Refactor CLI and API structure by removing deprecated components
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.
2026-08-14 14:52:20 +02:00
konstantin-paulus
66a2ef085a Refactor editor API to use new DAPI context
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.
2026-08-14 13:40:44 +02:00
konstantin-paulus
577c50253f Refactor Canvas component to integrate EngineCanvas and update drag-and-drop event handling; enhance HomePage with KootaEngineProvider for improved project management. 2026-08-14 12:51:17 +02:00
konstantin-paulus
b750ee964d Add @diffusionstudio/koota-solid and koota dependencies; refactor Engine class to manage running state with listeners 2026-08-14 10:31:09 +02:00
konstantin-paulus
8434fcd755 Add @diffusionstudio/runtime dependency to package.json and package-lock.json 2026-08-14 10:15:33 +02:00
konstantin-paulus
e7194d68cb Update package versions to 0.132.1 for all applications 2026-08-13 10:38:24 +02:00
konstantin-paulus
528c224f5b Update aspect ratio accessor to prioritize image configuration over video configuration 2026-08-13 10:37:14 +02:00
konstantin-paulus
77050e9bb0 Update package versions to 0.132.0 and enhance CLI environment handling
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.
2026-08-11 11:29:17 +02:00
konstantin-paulus
fc88526a72 Update package versions to 0.131.0 and enhance web build process
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.
2026-08-10 17:31:00 +02:00
konstantin-paulus
613508124c Update package versions to 0.130.0 for all applications 2026-08-10 16:39:48 +02:00
konstantin-paulus
c78f5ac33a Add EnvironmentOverlays component to manage screen display based on checkout page
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.
2026-08-10 14:24:13 +02:00
konstantin-paulus
43792d154a Enhance thumbnail capture functionality with aspect ratio handling
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.
2026-08-10 11:59:06 +02:00
konstantin-paulus
bcc66680fa Check for desktop environment in fullscreen state retrieval
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.
2026-08-09 12:08:18 +02:00
konstantin-paulus
0d04ed9397 Update package dependencies and adjust dev flags in package-lock.json and package.json
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.
2026-08-09 10:42:44 +02:00
konstantin-paulus
59dc6c01f7 Refactor HtmlHost and rendering update mechanisms for improved performance
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.
2026-08-07 09:02:41 +02:00
konstantin-paulus
b5b8f1cbb2 Add position keyframe check in interaction handling
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.
2026-08-06 20:04:18 +02:00
konstantin-paulus
bf54ffdfc6 Update timeline configuration and scrolling behavior
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.
2026-08-04 09:23:54 +02:00
konstantin-paulus
3e3a4bdd63 Enhance VideoBuffer scrubbing and seeking functionality
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.
2026-08-03 13:09:13 +02:00
konstantin-paulus
77a463c31e Refactor VideoBuffer and VideoDecoderQueue for improved frame handling
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.
2026-08-03 11:29:31 +02:00
konstantin-paulus
0926254346 Add keyframe index management and enhance video buffer handling
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.
2026-08-03 10:05:28 +02:00
konstantin-paulus
ad3d540026 Refactor HtmlHost readiness mechanism for improved resource handling
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.
2026-07-31 16:25:40 +02:00
konstantin-paulus
1539ded67a Add image source handling and readiness mechanism to HtmlHost
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.
2026-07-31 16:01:25 +02:00
konstantin-paulus
4e47a7d00f Enhance media frame and node capture functionality with timecoded images
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.
2026-07-31 10:43:34 +02:00
konstantin-paulus
8772591502 Refactor media frame and node capture to include timecode in output
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.
2026-07-30 00:00:59 +02:00
konstantin-paulus
2da322775c Add project readiness handling to engine context
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.
2026-07-29 15:35:25 +02:00
konstantin-paulus
223e07a777 Update background class in PurchaseSuccess component for improved styling 2026-07-29 14:44:05 +02:00
konstantin-paulus
08d10b927c Add deep link support for checkout and auth in desktop app
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.
2026-07-29 14:37:40 +02:00
konstantin-paulus
c8583eda7f Enhance audio generation options with optional duration parameter
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.
2026-07-26 15:18:09 +02:00
konstantin-paulus
5c30d91613 Enhance audio fingerprinting and transcription process with optional seed parameter
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.
2026-07-26 14:59:17 +02:00
konstantin-paulus
0d51ab494b Enhance context command and selection handling in editor API
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.
2026-07-26 12:03:24 +02:00
konstantin-paulus
05f2245e24 Enhance main window management and improve scene initialization logic
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.
2026-07-25 16:17:24 +02:00
konstantin-paulus
7743b32645 Refactor Trim component to Workarea for improved clarity and functionality
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.
2026-07-24 17:35:07 +02:00
konstantin-paulus
ffc3e9ca09 Add command line switches to enhance performance and rendering behavior
Introduced several command line switches in the desktop application to disable background timer throttling, renderer backgrounding, and occluded window backgrounding. Additionally, disabled the CalculateNativeWinOcclusion feature to improve overall application performance and responsiveness. Updated the rendering update logic in the web application to utilize a race condition between animation frame requests and a timeout, ensuring smoother rendering updates while maintaining performance during paused states.
2026-07-24 14:36:35 +02:00
konstantin-paulus
90d0959a91 Refactor JSX elements to replace <scene> with <rect> using the scene property for root promotion
Updated multiple files to transition from using `<scene>` elements to `<rect>` elements with the `scene` property, promoting rectangle geometries to mount roots. This change enhances the JSX API by clarifying the role of scenes and ensuring consistency across examples and documentation. Additionally, modified related documentation to reflect the new usage and constraints of the `scene` property.
2026-07-24 12:01:41 +02:00
konstantin-paulus
11d232e642 Update image encoder to improve timestamp labeling for captured frames
Refined the timestamp labeling in the image encoder by updating the comment for clarity and adjusting the logic to correctly calculate the frame's HH:MM:SS:FF timecode based on the rendered frame. This enhancement ensures accurate time representation during image encoding.
2026-07-24 08:40:47 +02:00
konstantin-paulus
bf0ef25506 Update context command to include workarea trim information in project overview
Enhanced the context command description to specify the inclusion of workarea trim in seconds when set, providing users with a more comprehensive overview of the open project. Additionally, updated the context retrieval logic to calculate and return workarea details based on the active scene's trim settings.
2026-07-24 08:05:59 +02:00
konstantin-paulus
aa0162b1f1 Enhance node capture logic to validate timeline clocks and improve error handling
Updated the node capture function to check for the presence of timeline clocks before capturing nodes. If a node lacks a timeline clock, an informative error message is thrown, suggesting the capture of its scene ancestor instead. This change improves the robustness of the node handling process and enhances user feedback during errors.
2026-07-23 23:58:19 +02:00
konstantin-paulus
68117d5b04 Enhance image encoder to manage timeline clocks and local time updates
Updated the image encoder to track entities with timeline clocks, ensuring that local time is consistently updated for both the main stage and clock entities. This change improves synchronization during playback and enhances the overall functionality of the image encoding process.
2026-07-23 23:31:14 +02:00
konstantin-paulus
c1a28375b1 Refactor timeline component to improve scroll handling and update element references
Modified the timeline component to correctly calculate the new scroll position using the layers' scroll height instead of the container's. Updated the element reference from 'data-timeline-layers-container' to 'data-timeline-layers-viewport' for better clarity and functionality in the rendering process. This refactor enhances the overall performance and maintainability of the timeline feature.
2026-07-23 15:35:41 +02:00
konstantin-paulus
5da1a203a8 Refactor media transcription logic to simplify parameters and improve clarity
Removed optional start and end parameters from the MediaTranscribeRequest type and the mediaTranscribe function, streamlining the transcription process. Updated related documentation to reflect these changes, ensuring a clearer understanding of the transcription command and its usage.
2026-07-23 14:33:14 +02:00
konstantin-paulus
4493d17803 Enhance HTML host management and rendering logic
Updated the HtmlHost class to expose the setSize method publicly, allowing external components to adjust size directly. Introduced a new PendingHtmlHost type to manage HTML hosts awaiting size initialization. Refactored the registerHtmlHost method to include a paint parameter, improving the handling of HTML hosts during rendering. Added a flushConnectedHtmlHosts method to process pending hosts efficiently, ensuring accurate size updates when connected. Updated documentation to reflect these changes.
2026-07-22 20:55:00 +02:00
konstantin-paulus
0d20ff6b58 Refactor HTML rendering logic and remove unused functions
Removed the `hasLiveHtmlHosts` function and its references from the encoder files, streamlining the rendering process. Updated the `nextRenderingUpdate` function to utilize memoization for improved performance during rendering updates. This refactor enhances code clarity and optimizes the handling of HTML paint hosts in the rendering pipeline.
2026-07-22 20:30:53 +02:00