26 Commits

Author SHA1 Message Date
konstantin-paulus
cb30dc839d Enhance file system handling with real path support
- Added a new channel `PROJECTS_FS_REAL_PATH` to resolve the real path of a given source, accommodating symbolic links.
- Updated the `listEntries` function to include a `link` property for entries that are symbolic links, improving asset management.
- Introduced the `realPathEntry` function to handle symlink resolution, ensuring accurate path retrieval.
- Enhanced the `removeEntry` function to prevent deletion of files outside the project directory, maintaining project integrity.
- Updated documentation to clarify symlink handling and the implications of linked assets in the project.
2026-08-27 11:07:24 +02:00
konstantin-paulus
878da57179 Add default project root handling and enhance project management 2026-08-25 11:07:35 +02:00
konstantin-paulus
963f3c1f6f Enhance project management commands and documentation
- Added the `dapi open` command to launch the app and open or create a project folder, with updates to the `README.md` and `projects.ts` for clarity.
- Implemented `initProject` function to initialize project folders, ensuring they can be opened from any location on disk.
- Updated the `main-channels.ts` and `main.ts` to handle new project initialization requests.
- Enhanced the database schema to support project root types, allowing for better project organization and retrieval.
- Improved the IPC layer to manage multiple routers for different command contexts, ensuring efficient command handling.
2026-08-24 10:26:09 +02:00
konstantin-paulus
e3d7d84150 Enhance project management with nanoid integration and channel updates
- Added `nanoid` dependency for generating unique project IDs, ensuring stable identification across renames.
- Introduced `PROJECTS_RESOLVE` channel to resolve project references by ID or folder name, improving project retrieval.
- Updated project-related functions to utilize the new ID system, enhancing consistency in project management.
- Refactored project handling in various components to accommodate the new project structure, ensuring seamless integration with existing functionality.
- Adjusted routing to reflect project IDs in URLs, maintaining user experience during project renaming.
2026-08-21 13:37:47 +02:00
konstantin-paulus
6ea190134b Add APP_SHOW_IN_FOLDER channel and implement reveal functionality
- Introduced a new channel `APP_SHOW_IN_FOLDER` to allow the application to reveal files or folders in the OS file manager.
- Implemented the corresponding handler in `main.ts` to utilize the new channel for revealing paths.
- Added a `DashboardProjectsFolderBar` component to the dashboard, enabling users to change and reveal the projects folder.
- Updated the dashboard layout to incorporate the new folder bar, enhancing user interaction with project management.
- Refactored related components for improved organization and readability, setting the stage for future enhancements.
2026-08-21 11:17:51 +02:00
konstantin-paulus
6b4e7033a2 Update transform handling in interactions and shortcuts for improved editing
- Introduced a new `editTransform` function to streamline the editing of transform properties (x, y, width, height, rotation) for entities, ensuring keyframes are synchronized correctly during user interactions.
- Refactored existing interaction functions to utilize `editTransform`, enhancing the consistency and readability of the code.
- Updated the `nudgeSelection` function to apply transformations using the new method, improving the handling of animated nodes during nudging.
- Improved overall code organization and readability across affected components, setting the stage for future enhancements.
2026-08-20 20:32:17 +02:00
konstantin-paulus
97b829edcb Add project config read/write channels and implement config handling
- 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.
2026-08-19 17:50:05 +02:00
konstantin-paulus
ac181f985e Update asset management and enhance project features
- 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.
2026-08-19 11:11:02 +02:00
konstantin-paulus
b2fc9a9619 Enhance project editing capabilities and integrate new JSX features
- 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.
2026-08-16 17:13:33 +02:00
konstantin-paulus
7273ed2141 Enhance project management features and improve project 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.
2026-08-15 22:17:17 +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
96638601fa Add analytics tracking for application installation
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.
2026-08-10 10:16:58 +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
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
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
d083cd76ed Add screenshot command to CLI and implement screenshot functionality
Introduced a new `screenshot` command in the CLI to capture the entire application window as a PNG. Updated the documentation to include this command and its options. Implemented the screenshot functionality in both the CLI and desktop applications, allowing users to save the screenshot to a specified directory. Enhanced the type definitions to support the new screenshot feature, improving overall usability and functionality.
2026-07-20 10:25:35 +02:00
konstantin-paulus
7f1e8f7a0f Add logging functionality to CLI and desktop applications
Introduced a logging system that captures console output from the running app, including various log levels (debug, info, warning, error). Implemented a new `logs` command in the CLI to display recent log entries, and integrated log handling in the desktop application to maintain a buffer of log entries across reloads. Updated relevant types and API routes to support log retrieval, enhancing debugging capabilities and overall application observability.
2026-07-19 22:28:15 +02:00
konstantin-paulus
f2924479c9 Enable SharedArrayBuffer feature in Electron app and clean up unlink error handling
Added the `SharedArrayBuffer` feature to the Electron app's command line options for improved performance. Additionally, refined the error handling in the unlink process to ensure consistent behavior by adding a space in the catch block. These changes enhance the application's capabilities and reliability.
2026-07-19 15:29:13 +02:00
konstantin-paulus
ad2c7e27b7 Enhance module import resolution and documentation for userland packages
Updated the module compilation process to improve import resolution for userland packages, allowing bare specifiers to be rewritten to CDN URLs. Introduced a `dapi.config.json` configuration file for pinning versions and redirecting imports, enhancing reproducibility. Expanded documentation to clarify the import resolution process and added examples for using the new configuration options. This update streamlines the handling of external dependencies and improves the developer experience.
2026-07-18 14:03:23 +02:00
konstantin-paulus
6588dca62f Enhance Electron app initialization with custom development icon for macOS
Updated the Electron app's initialization process to set a custom development icon on macOS when not packaged. This change improves the visual feedback during development, ensuring a more recognizable application icon in the dock. The integration of the `nativeImage` module allows for better handling of the app's icon assets.
2026-07-18 09:52:31 +02:00
konstantin-paulus
1582db9862 Add <htmlPaint> element and related documentation for reactive HTML rendering
Introduced the `<htmlPaint>` element, allowing real HTML children to be rendered within a defined box using the html-in-canvas API. Updated the `elements.md`, `paints.md`, and `README.md` to include details about `<htmlPaint>`, its properties, and usage examples. Added a new `html-paint.md` file for comprehensive documentation on the element's functionality and limitations. Enhanced the rendering system to support HTML content, ensuring it integrates seamlessly with existing paint types.
2026-07-17 12:13:30 +02:00
konstantin-paulus
05f1f53f29 Enhance macOS support and update UI styling
Add native corner radius and backdrop functionality for macOS, improving the visual integration of the application. Update the build process to include a new native build script. Additionally, introduce new CSS variables for stronger border styling across the web application, ensuring a consistent and polished user interface. This change enhances the overall user experience on macOS and improves visual consistency across platforms.
2026-07-15 20:34:34 +02:00
konstantin-paulus
29824441b8 Enhance macOS desktop experience with native vibrancy and sidebar styling
Update the main window configuration to support macOS native vibrancy, allowing for a transparent background and improved visual integration. Introduce new CSS variables for sidebar colors in both light and dark themes, ensuring a consistent look across platforms. Additionally, adjust component styles to reflect these changes, enhancing the overall user interface and experience.
2026-07-15 13:31:34 +02:00
konstantin-paulus
7328b5d553 Refactor file input handling in Electron to improve performance and caching
Optimize the `setFileInputFiles` function by maintaining the debugger attachment between calls, reducing overhead. Additionally, enhance the `getFile` method in `ElectronFileHandle` to cache the File object, allowing for efficient re-use and preventing race conditions during file materialization. Introduce an `invalidate` method to refresh the cached File when necessary, improving overall file handling efficiency.
2026-07-09 08:09:24 +02:00
konstantin-paulus
de6326f42f Update versioning across applications to 0.129.0, add release workflow for GitHub Actions, and enhance desktop app with CLI installation feature. Introduce new scripts for release management and asset handling, including staging the CLI for distribution. Update dependencies and documentation to reflect changes in the build process and application structure. 2026-07-08 15:20:21 +02:00
konstantin-paulus
c3c105aa22 Initial open source release.
This repository contains the initial public version of the project.
The previous development history was intentionally not included.
2026-07-07 09:27:28 +02:00