566 Commits

Author SHA1 Message Date
konstantin-paulus
d3260cb452 Update package versions to 0.211.0 across all relevant files
- Incremented version number from 0.210.0 to 0.211.0 in package.json and package-lock.json for the editor, cli, desktop, web, and jsx packages.
- Ensured consistency in versioning across the project to reflect the latest updates.
2026-10-11 00:35:54 +02:00
konstantin-paulus
ed4a04fb44 Add AI credits icon and update references in components
- Introduced a new SVG icon for AI credits in ai-credits.svg.
- Updated references in ActionBar and PromptInputActions components to use the new ai-credits icon instead of ai-generate.
- Modified the DashboardPage to reflect the new icon for the AI credits sidebar item, enhancing visual consistency across the application.
2026-10-11 00:19:43 +02:00
konstantin-paulus
d6c76e690d Add stroke cap customization to StrokeInspector component
- Introduced stroke cap options in the StrokeInspector, allowing users to select between butt, round, and square caps.
- Updated the component's state management to handle the new cap property alongside existing stroke properties.
- Enhanced the UI with a new SegmentedIconTabs control for cap selection, improving user experience and customization capabilities.
2026-10-11 00:08:17 +02:00
konstantin-paulus
7a2eee7fe0 Update model options in genai configuration
- Replaced 'nano-banana-2.1' and 'flux-2-klein' with 'FLUX.2 Klein' and 'Grok Imagine 2.0' in the MODEL_OPTIONS array to reflect new model offerings.
- Restored 'Nano Banana Pro' and 'Seedream 5.0 Pro' to maintain a comprehensive list of available models.
- Enhanced comments for clarity on model ordering and relevance.
2026-10-10 22:03:00 +02:00
konstantin-paulus
747a719148 Remove unused SVG icons and refactor StrokeInspector component
- Deleted obsolete SVG icons: preferences-adjust-vertical.svg, stroke.dash-offset.svg, stroke.dash.svg, and stroke.gap.svg to streamline asset management.
- Refactored the StrokeInspector component to replace the DropdownMenu with a Select component for improved user experience and consistency in line style selection.
- Updated related imports and adjusted the handling of line style options to enhance clarity and maintainability.
2026-10-10 21:50:57 +02:00
konstantin-paulus
daeb15f948 Update @diffusionstudio/api-contract to version 0.5.0 and enhance model configurations
- Upgraded the @diffusionstudio/api-contract dependency across multiple packages to version 0.5.0.
- Added new model configurations for image, video, and voice categories, including 'nano-banana-2.1', 'flux-3-image', 'minimax-h3-max', and 'elevenlabs-v4'.
- Updated documentation to reflect the new models and their capabilities, ensuring accurate references for users.
2026-10-10 21:29:04 +02:00
konstantin-paulus
fc13c899f9 Enhance keyframe drag functionality and update drag gesture handling
- Updated the updateDragGestures function to include scene parameter for better context during drag operations.
- Introduced beginKeyframeDrag and applyKeyframeDrag functions to manage keyframe dragging, ensuring keyframes are moved correctly in relation to their clips.
- Refactored handleKeyframe to utilize the new keyframe drag functions, simplifying the drag logic and improving code clarity.
- Adjusted rendering logic in renderKeyframeTrack to streamline keyframe handling during drag events.
2026-10-10 16:54:57 +02:00
konstantin-paulus
1fc4d16bf8 Enhance project initialization handling and update project configuration
- Updated the SceneInitOverlay component to differentiate between new and existing projects, ensuring the prompt only appears for projects that have never had content.
- Introduced a new useProjectConfig hook to manage project state and track whether the stage has been initialized.
- Enhanced ProjectConfig class to include reactive signals for loaded and initialized states, allowing for better project lifecycle management.
- Updated documentation to clarify the role of the initialized state in project management.
2026-10-10 14:22:17 +02:00
konstantin-paulus
d5190170d6 Add stroke dash properties and related SVG icons for enhanced stroke customization
- Introduced new SVG icons for stroke styles, including solid, dashed, and various dash configurations.
- Updated the StrokeInspector component to support line styles with dash properties (dash, dashGap, dashOffset).
- Enhanced the stroke handling in the rendering system to apply dash styles correctly.
- Updated documentation to include new stroke properties and their usage in animations and styling.
- Improved entity serialization and deserialization to handle new stroke dash attributes effectively.
2026-10-10 14:19:16 +02:00
konstantin-paulus
e13b7f9edc Refactor path tool to enhance vertex handling and add preview functionality
- Removed extensive comments from the path tool for clarity and conciseness.
- Introduced a new PREVIEW_RADIUS constant for better control over vertex preview size.
- Updated the vertexDot function to accept a customizable radius parameter.
- Enhanced the drawPenTool function to include a visual preview of where the next vertex will be placed.
- Improved the drawPathEditor function to indicate potential vertex addition points on the outline.
2026-10-10 13:09:50 +02:00
konstantin-paulus
2c736e5f4a Add PivotRow component and integrate pivot functionality into transform settings
- Introduced a new PivotRow component to manage pivot properties (pivotX, pivotY) for entities.
- Updated TransformSettings to conditionally display PivotRow instead of AnchorRow based on the entity's pivot state.
- Enhanced the clip-path and group handling logic to utilize pivot instead of anchor for transformations.
- Updated documentation to reflect the new pivot properties and their usage in the context of groups and transformations.
2026-10-10 13:02:21 +02:00
konstantin-paulus
bd3a67db17 Remove obsolete tool.pen-small.svg icon and update path handling in node.tsx to use vector-path instead. 2026-10-10 01:09:35 +02:00
konstantin-paulus
3970904400 Refactor SVG icons and enhance path settings component
- Updated path SVG icons to improve design consistency and removed the obsolete path.trim-offset.svg file.
- Introduced new vector-path and vector-side-count SVG icons for enhanced visual representation.
- Modified the AppearanceSettings component to use the new vector-side-count icon.
- Enhanced the PathSettings component with dropdown menus for managing path addons, improving user interaction and customization options.
2026-10-10 01:03:50 +02:00
konstantin-paulus
1e11b17ae7 Add README for icon assets detailing usage and conversion process
- Created a README.md file in the icons directory to document the usage of SVG icons within the application.
- Included guidelines for converting Figma icons to the 25×25 pixel grid format, ensuring sharp rendering on 1x screens.
- Provided detailed instructions on geometry reading, redrawing, and cleaning up SVG files for consistency and quality.
- Enhanced documentation to support developers in maintaining and adding new icons effectively.
2026-10-10 00:46:47 +02:00
konstantin-paulus
b1aa6618b6 Refactor icon components and remove unnecessary size classes
- Removed size classes from Icon components in various files to standardize icon sizes.
- Deleted unused SVG icon files to clean up the assets directory.
- Updated related components to ensure consistent icon rendering without size specifications.
2026-10-10 00:15:51 +02:00
konstantin-paulus
0e57cd2edc Refactor EditValue to PropValue across edit types
- Removed the EditValue type and replaced it with PropValue in edit-types.ts and edit.ts files.
- Updated related interfaces and functions to ensure consistency in type usage for properties in editing operations.
- Enhanced type clarity by standardizing the value types used in source edits and property management.
2026-10-09 23:28:10 +02:00
konstantin-paulus
5552978747 Enhance path editing capabilities and introduce new SVG icons
- Updated the source file to include 'path' in the set of ambiguous SVG tags.
- Added new SVG icons for path trimming (trim-start, trim-end, trim-offset) and a small pen tool icon.
- Implemented a PathSettings component to manage path-specific properties such as fill rule and trim settings.
- Enhanced the Toolbar and ToolMenu components to include the new Pen tool for drawing and editing paths.
- Integrated path editing functionality, allowing users to edit vertices and manage path outlines directly on the canvas.
- Updated the inspector components to support path properties and interactions, improving the overall user experience for path manipulation.
- Enhanced documentation to include details about the new path features and SVG elements.
2026-10-09 23:18:37 +02:00
konstantin-paulus
eaacc15fc8 Add ellipse and polygon shapes to drawing tools
- Introduced new shape tools for Ellipse and Polygon, enhancing the drawing capabilities within the application.
- Updated the Toolbar component to include shape tools, allowing users to select and utilize these new shapes.
- Enhanced the ToolMenu to provide options for selecting Ellipse and Polygon tools.
- Implemented functionality for managing point counts in polygons and added relevant controls in the AppearanceSettings.
- Updated the rendering engine to support the new shapes, ensuring they can be drawn and manipulated effectively.
- Enhanced documentation to include details about the new shapes and their properties.
2026-10-09 13:44:11 +02:00
konstantin-paulus
3dbdb22953 Refactor canvas component and remove DrawOverlay
- Removed the DrawOverlay component from the canvas, streamlining the rendering process.
- Updated the Canvas component to reference the new draw tool functionality instead of DrawOverlay.
- Introduced a new DrawTool trait to manage drawing interactions, enhancing the overall drawing experience in the application.
- Updated engine initialization to include the DrawTool, ensuring proper integration with the existing systems.
2026-10-09 12:34:32 +02:00
konstantin-paulus
83df6a2a4b Add withEmptiedTracks function to manage keyframe tracks
- Introduced the withEmptiedTracks function to identify and remove keyframe tracks that no longer have keyframes associated with them.
- Updated the deleteSelection function to utilize withEmptiedTracks, ensuring that tracks are removed when their last keyframes are deleted.
- Enhanced keyframe management logic for improved performance and maintainability in the engine.
2026-10-09 12:25:41 +02:00
konstantin-paulus
21cb4d0e17 Refactor LayoutPanel component for improved dropdown menu structure
- Simplified the rendering of the layout dropdown menu within the LayoutPanel component.
- Removed unnecessary conditional rendering, streamlining the code for better readability and maintainability.
- Ensured consistent functionality while enhancing the overall structure of the dropdown menu.
2026-10-09 12:19:46 +02:00
konstantin-paulus
4e64fd8229 Refactor keyframe handling for paint properties
- Replaced Keyframe component with PaintKeyframe to manage keyframes for paint properties more effectively.
- Updated SolidFillPicker and FillItem components to utilize the new PaintKeyframe for improved keyframe management.
- Enhanced keyframe logic in the engine to support multiple paint properties, ensuring consistent behavior across paint types.
- Improved overall code clarity and maintainability by consolidating keyframe functionality related to paint.
2026-10-09 12:14:38 +02:00
konstantin-paulus
9f09a76ded Integrate Tooltip functionality into SegmentedIconTabs component
- Added Tooltip support to the SegmentedIconTabs component, enhancing user experience by providing additional context for icon tabs.
- Wrapped button elements with TooltipTrigger and included TooltipContent for improved accessibility and information display.
2026-10-09 11:41:34 +02:00
konstantin-paulus
09f227f49e Enhance StrokeInspector with visual icons and slider functionality
- Added icons to the ControlledTextField components for stroke weight and miter limit, improving visual cues for users.
- Enabled slider functionality for both inputs, enhancing user interaction and experience.
2026-10-09 11:40:10 +02:00
konstantin-paulus
5b7846382f Enhance TextPanel component with font size controls
- Added an icon to the ControlledTextField for better visual representation of font size adjustments.
- Enabled slider functionality for the font size input, improving user interaction and experience.
2026-10-09 11:19:10 +02:00
konstantin-paulus
81ab54fed1 Enhance FloatingInspector components with onClose functionality
- Added onClose prop to FloatingInspector in various inspector components to improve user experience by allowing the inspectors to close properly.
- Updated AnimationInspector, BackgroundSettings, CaptionSettings, EffectsInspector, ExportInspector, FillPicker, GradientFillPicker, ObjectMaskInspector, ShadowInspector, SourceRows, StrokeInspector, TransitionSettings, and Variables components to utilize the new onClose functionality.
- Improved overall interaction by ensuring inspectors can be closed from within their respective contexts.
2026-10-09 11:16:02 +02:00
konstantin-paulus
d14c0f3c59 Implement viewport clamping for FloatingInspector component
- Added a clampToViewport function to ensure the FloatingInspector remains within the viewport boundaries during resizing.
- Replaced the previous resize event listener with a ResizeObserver for more efficient handling of size changes.
- Updated the root reference management to observe and unobserve the element correctly, enhancing the component's responsiveness to layout changes.
2026-10-09 10:54:00 +02:00
konstantin-paulus
bdbe912409 Enhance stroke and fill handling in inspector components
- Updated FillPicker to manage stroke paint placement and gradient handling more effectively.
- Refactored StrokeInspector to utilize the new useStrokePaint hook for improved paint management.
- Adjusted rendering logic in strokes and related components to support both solid and gradient paints.
- Enhanced documentation to clarify stroke and fill interactions, including the use of paint children in strokes.
- Improved overall user experience by ensuring consistent behavior across fill and stroke components.
2026-10-09 10:49:36 +02:00
konstantin-paulus
acb7092faa Add angular gradient support in fill-picker and related components
- Introduced AngularGradientPaint to support angular gradients in the fill-picker component.
- Updated fill-row and gradient-picker components to recognize and handle angular gradients.
- Enhanced gradient handling logic to accommodate angular gradient properties and interactions.
- Updated documentation to reflect the new angular gradient capabilities and usage examples.
- Refactored gradient tool logic to include angular gradient manipulation and rendering.
2026-10-08 23:15:53 +02:00
konstantin-paulus
83c38cc53a Update color-opacity-picker component to enhance styling
- Modified the class names in the NumberField and HexColorInput components to include `last:rounded-r-md`, improving the visual appearance of the input fields.
- Ensured consistent styling across both components for better user experience.
2026-10-08 15:54:35 +02:00
konstantin-paulus
e836ffce14 Add shimmer effect for ongoing caption generation
- Introduced a new `shimmer` function to visually indicate when a scene is being captioned, enhancing user experience.
- Updated the `generateCaptions` function to prevent multiple caption generations on the same scene.
- Added `Shimmering` trait to manage the shimmer state and timing.
- Updated rendering logic to include the shimmer effect around scenes during processing.
- Added `@diffusionstudio/api-contract` dependency to `package-lock.json` for improved API integration.
2026-10-08 10:02:02 +02:00
konstantin-paulus
32ab74e482 Update model references and package dependencies for improved functionality
- Removed outdated API reference from the `.env.example` file.
- Updated `@diffusionstudio/api-contract` dependency version to `^0.4.0` in both `package.json` files.
- Replaced model name `gemini-3.5-flash` with `qwen3.8-omni-flash` in configuration and documentation, ensuring alignment with the latest model capabilities.
- Added a note in the editor documentation regarding project management in cloud-synced folders to prevent issues with media handling.
2026-10-08 00:29:26 +02:00
konstantin-paulus
3e376ca95f Enhance analytics tracking in desktop and web applications
- Updated the `startAnalytics` function to accept a `WindowHost` parameter, allowing for improved tracking of app usage.
- Introduced a timer to track app usage every minute when the window is active.
- Added similar usage tracking functionality in the web application's analytics module, ensuring consistent tracking across platforms.
2026-10-07 18:28:03 +02:00
konstantin-paulus
e6573a717d Enhance asset metadata handling in AssetInfoPanel
- Introduced `createResource` to fetch job details associated with the asset, improving the retrieval of generation information.
- Updated logic to extract prompt and model details from the job data, enhancing the clarity of asset generation metadata.
- Refactored the use of asset properties to ensure accurate representation of asset creation and modification dates.
2026-10-07 15:16:21 +02:00
konstantin-paulus
55e1f1189f Refactor media command structure and update documentation
- Removed the `media` prefix from various commands (`media_grab`, `media_transcribe`, etc.) to simplify usage and improve consistency across the CLI and API.
- Updated the corresponding handlers and references in the codebase to reflect the new command names.
- Enhanced the README and documentation to clarify the changes in command structure and provide updated examples for users.
- Introduced new handlers for `grab`, `transcribe`, `filmstrip`, `waveform`, and `listen`, ensuring they align with the updated command naming conventions.
- Improved error handling and validation in the new command implementations for better user experience.
2026-10-07 15:04:15 +02:00
konstantin-paulus
6e25123941 Refactor audio handling and enhance media processing tools
- Introduced a new `audioFile` function to extract audio from assets, ensuring only the audio track is uploaded for analysis and transcription.
- Updated `mediaListen` and `mediaTranscribe` handlers to utilize the new audio extraction logic, improving efficiency and clarity in processing audio and video assets.
- Implemented error handling for audio analysis and transcription, ensuring robust responses for unsupported formats and empty audio tracks.
- Added `requireSignIn` and `apiError` functions to manage user authentication and API error handling, enhancing the reliability of tool operations.
- Updated documentation to reflect changes in audio processing and tool functionalities, providing clearer guidance for users.
2026-10-07 14:49:57 +02:00
konstantin-paulus
116eae23b8 Update cost calculation logic in estimate function to reflect model's minimum pricing
- Adjusted the chargeOf function to ensure that the cost calculation returns the model's minimum price instead of a fixed value of 1, aligning with API pricing requirements.
- Updated documentation comments for clarity on pricing logic and conditions for undefined values.
2026-10-07 14:32:07 +02:00
konstantin-paulus
e8c1bde745 Update model configurations and tool requests for improved functionality
- Replaced outdated model names in the configuration with new models: `remove-background` and `upscale-image` are now `bria-rmbg-2.0` and `seedvr-2`, respectively.
- Updated the `request` logic in the `use-transforms` file to reflect the new model names for background removal and image/video upscaling.
- Changed the transcription model from `transcribe` to `universal-3.5-pro` in the captions generation process.
- Adjusted documentation to align with the new model names and their functionalities, ensuring clarity for users.
2026-10-07 14:13:27 +02:00
konstantin-paulus
4e232a3c5d Update package versions to 0.210.0 across all modules
- Bumped version numbers in package.json and package-lock.json for the editor, CLI, desktop, web, and JSX packages to 0.210.0, ensuring consistency across the project.
- This update may include new features, bug fixes, or improvements as part of the version increment.
2026-10-07 12:35:25 +02:00
konstantin-paulus
9d09dbf0ca Remove unused large hailuo icon and update model configurations to reflect new icon names and descriptions. Adjusted model options for Grok Imagine and Krea to use appropriate icons, and modified video model configurations for Kling and Flux to enhance clarity and consistency. 2026-10-07 12:29:13 +02:00
konstantin-paulus
fe3f1d68e7 Implement estimate option in generate tool for cost and time prediction
- Added an `--estimate` option to the `generate` command, allowing users to retrieve the estimated credits and execution time without starting a job.
- Updated the `generate` function to handle the new estimate logic, returning a structured response with `credits` and `etaSeconds`.
- Enhanced documentation to clarify the usage of the estimate feature and its implications for job execution.
- Modified related types and validation to accommodate the new estimate functionality, ensuring robust input handling.
2026-10-07 12:04:03 +02:00
konstantin-paulus
5c685e15b0 Refactor object mask handling and enhance effects inspector functionality
- Updated EffectsInspector and ObjectMaskInspector components to utilize the getParentNode function for improved mask grouping.
- Modified useObjectMasks hook to accept a clip parameter, allowing for more accurate retrieval of object masks based on the current video context.
- Enhanced objectMaskGroups function to categorize masks based on the associated video footage, improving user experience when selecting masks from the library.
2026-10-07 10:47:07 +02:00
konstantin-paulus
6ce93217bb Enhance effects inspector and object mask handling
- Added a new "Opacity" effect option to the EFFECT_OPTIONS array for better control over layer effects.
- Refactored the EffectsInspector component to utilize grouped object masks, improving the organization of mask options in the dropdown menu.
- Updated the ObjectMaskInspector to support selection from grouped masks, enhancing user experience when choosing masks from the library.
- Modified the useObjectMasks hook to return grouped masks, streamlining the retrieval of masks by their respective folders.
2026-10-07 10:43:17 +02:00
konstantin-paulus
e18ab84562 Remove media segment functionality and related tests
- Eliminated the `media_segment` command and its associated options from the CLI, streamlining the media handling process.
- Removed references to `media_segment` in the API handlers and tests, ensuring a cleaner codebase.
- Updated the `present` function to no longer handle `media_segment`, focusing on other media processing tasks.
- Adjusted related documentation to reflect the removal of the `media_segment` functionality, enhancing clarity for developers.
2026-10-07 10:29:55 +02:00
konstantin-paulus
21589f4843 Enhance audio handling in media generation and update documentation
- Updated the `generate` function to support audio field references for scenes, allowing users to transcribe audio from scene mixes.
- Introduced new utility functions for audio encoding and scene reference validation, improving the handling of audio uploads.
- Modified the `requireScene` function to include a reason parameter for better error messaging.
- Updated documentation to reflect the new capabilities for transcribing scenes and handling audio, enhancing clarity for developers.
2026-10-07 00:23:55 +02:00
konstantin-paulus
6a0ef3c188 Implement generate and job endpoints in the web API
- Added `generate` and `job` handlers to facilitate media generation and job management through the API.
- Enhanced the `generate` function to handle file uploads and return job details, including estimated run time and credit costs.
- Implemented the `job` function to retrieve job status and results, allowing users to poll for job completion and access generated files.
- Updated documentation to reflect the new endpoints and their usage, improving clarity for developers integrating with the API.
2026-10-06 23:14:59 +02:00
konstantin-paulus
d2e56157a4 Enhance authentication event tracking to differentiate new users
- Updated the authentication state change handler to track sign-in events specifically for new users by introducing an `isNewUser` check.
- Modified the condition for tracking the 'signed_in' event to ensure it only triggers for new users, improving the accuracy of user engagement analytics.
2026-10-06 18:24:23 +02:00
konstantin-paulus
73e578f47c Refactor analytics tracking and configuration in desktop application
- Replaced the Umami tracking implementation with a new analytics system that utilizes a queue for event tracking.
- Introduced `configureAnalytics` function to set API URL and token for event tracking.
- Updated event tracking methods to handle canvas edits and code changes, improving the granularity of analytics data.
- Modified main channels to reflect the new analytics configuration, enhancing the integration between the main and renderer processes.
- Improved documentation and code organization for better maintainability and clarity.
2026-10-06 18:11:41 +02:00
konstantin-paulus
8d9dfb690c Update placement logic for beside function to improve alignment
- Changed documentation and implementation in the `beside` function to clarify that the spot is now top-aligned with the reference box instead of level.
- Adjusted the calculation of `minY` to align with the top of the box, enhancing the placement logic for better visual consistency on the canvas.
2026-10-06 16:22:09 +02:00
konstantin-paulus
62c1f1533d Refactor recent projects display in DashboardHomeView for responsive grid layout
- Introduced dynamic column calculation for recent projects based on available width, improving responsiveness.
- Replaced fixed column count with a calculated grid layout that adapts to screen size, enhancing user experience.
- Updated documentation for constants related to recent project card dimensions and grid configuration.
2026-10-06 16:12:39 +02:00