- Moved the cache statistics panel to a new position for better layout consistency.
- Updated LLM API log entry styles for improved readability and consistency with Fetch logs.
- Added functionality for copying URLs from log entries and improved error handling for image loading.
- Enhanced metadata handling for cached media, including timestamp extraction and validation.
- Added functionality to mark domains with CORS issues, allowing the Service Worker to skip these domains in future requests.
- Introduced a mechanism to check for expired CORS failures, enabling retries after a specified TTL.
- Enhanced debug status reporting to include counts and lists of CORS failed domains.
- Updated image request handling to manage CORS errors more effectively, including support for opaque responses.
- Improved asset loading logic to prioritize Cache Storage and ensure only valid assets are processed.
- Integrated preset prompts into the history management system, allowing users to see both historical and preset suggestions.
- Implemented deduplication logic to prevent duplicate entries between history and preset prompts.
- Updated UI components to visually distinguish preset prompts and added functionality to prevent deletion and pinning of preset items.
- Enhanced the prompt button to display source labels for different prompt origins (AI input, image, video, preset).
- Introduced a memory monitoring panel displaying JS heap usage, total size, limit, and usage percentage.
- Added functionality to log crash snapshots, including types (startup, periodic, error, beforeunload) and memory stats.
- Implemented UI elements for viewing, filtering, refreshing, and exporting crash logs.
- Enhanced service worker to handle crash snapshot storage and retrieval.
- Updated styles for crash log entries and memory monitoring display.
- Integrated memory tracking in various components to prevent memory leaks.
- Updated FillPanel to trigger fill type changes only on user actions for solid, gradient, and image fills.
- Refactored GradientFillPanel to utilize the new GradientEditor component, simplifying the code and improving maintainability.
- Enhanced ImageFillPanel with throttled updates for smoother user interactions and added input fields for precise control over scale, offset, and rotation values.
- Improved styles in image-fill-panel.scss for better layout and usability.
These changes collectively enhance the user experience and maintainability of the fill panel components.
- Introduced a new Debug Panel in the toolbar for accessing debug logs.
- Updated version to 0.5.7 in package.json and version.json.
- Enhanced service worker caching logic to improve reliability.
- Removed the Clean Missing Assets feature from the toolbar.
- Updated translations and added a new debug log icon.
- Removed debug logging from the handleGenerate function in AIInputBar to streamline the code and improve performance.
- Added a cleanup effect in ProjectDrawer to clear the click timer on component unmount, preventing potential memory leaks.
- Implemented a debug mode for postMessage logging, allowing logs to be controlled based on the debug state, improving performance when debugging is disabled.
- Added functionality to recover workflows and tool requests after page refreshes, ensuring continuity in user experience.
- Introduced new message types for cached chat results and improved handling of chat workflows.
- Updated various components to utilize the new logging and recovery features, enhancing overall robustness and user feedback.
- Bumped version to 0.5.6 in relevant files.
- Implemented touch event handlers to enhance user experience on mobile devices.
- Added functionality to show and update preview on touch start and move, regardless of dragging state.
- Introduced a delay for hiding the preview after touch end to improve visibility of final position.
- Adjusted the positioning of the ai-input-bar to account for the left toolbar width, ensuring it remains centered in the available space.
- Updated the version-update-prompt styles for better alignment and spacing on mobile, preventing overlap with zoom controls and improving overall layout.
- Updated IndexedDB handling to dynamically detect the current database version and ensure it meets minimum requirements.
- Added functions to check for the existence of required object stores and repair the database if necessary.
- Refactored workspace storage service to utilize dynamic version detection for store creation.
- Removed unnecessary debug logs from multi-selection handles component for cleaner code.
- Updated service worker to check for old caches to determine if a new version is available.
- Enhanced error handling by attempting to serve cached responses for failed network requests.
- Adjusted the version update prompt styling for better responsiveness and visibility.
- Changed the service worker's behavior to reload the page directly if no waiting worker is found, ensuring users get the latest resources immediately.
- Updated app version in index.html to 0.5.2.
- Modified version.json to reflect the new build time and version.
- Improved fill panel styles in Drawnix, including adjustments to dimensions, padding, and border radius for a more compact design.
- Added functionality to synchronize external value changes in the ImageFillPanel component.
- Enhanced gradient and image fill handling across various components to improve rendering and user experience.
These changes contribute to a more polished and user-friendly interface.
- Added support for gradient and image fills in the drawing tools.
- Updated PopupFillButton to handle different fill types, including solid, gradient, and image.
- Introduced new functions for setting gradient and image fills in property transforms.
- Enhanced the popover component to manage fill properties more effectively.
These changes significantly improve the flexibility of fill options available to users, allowing for more creative designs.
- Introduced a new `withMultiResize` plugin to enable unified resizing of multiple selected elements, supporting Freehand and PenPath types.
- Added `MultiSelectionHandles` component for visual control points during multi-selection resizing.
- Enhanced stroke styles in the toolbar, including a new double stroke style for Freehand elements.
- Updated various components and styles to accommodate the new resizing features and improve user experience.
These changes significantly enhance the drawing capabilities, allowing for more flexible and efficient editing of multiple elements simultaneously.
- Added viewport saving with debounce to prevent excessive saves during panning and zooming.
- Implemented viewport restoration on component mount and visibility change.
- Enhanced WorkspaceService to support waiting for initialization before proceeding with operations.
- Updated Wrapper component to handle viewport changes and apply them accordingly.
This improves user experience by ensuring viewport state is preserved across sessions and interactions.
- Updated key assignment in FreehandPanel to include row index for uniqueness.
- Refactored stroke width calculation in PopupToolbar to handle both PenPath and Freehand elements more efficiently, ensuring consistent stroke width detection.
These changes enhance the stability and accuracy of the toolbar's drawing features.
- Introduced a new corner radius button in the popup toolbar for PenPath elements.
- Updated the PenPath component to support corner radius adjustments.
- Enhanced the pen settings to include corner radius as a configurable property.
- Improved the stroke width settings in the toolbar for better user experience.
- Updated translations for new toolbar features.
This commit enhances the drawing capabilities by allowing users to set corner radii on paths, improving the overall design flexibility.