Changelog v1.1
This major update (v1.1) brings a significantly enhanced user experience to the Riffusion Preset Manager, aligning its features more closely with the Udio Prompt Saver script. It introduces a revamped standalone manager window with fixed layouts, better organization, and new management tools, alongside powerful search and display improvements in the integrated UI.
✨ New Features
- Standalone Preset Manager Window ("Manage Presets"):
- Fixed 4-Row Layout: Preset items are now displayed in a consistent 4-row grid (typically 20 items per page, 5 columns). This provides a more organized and predictable view.
- Edit Preset Position: You can now directly edit the numerical position of a preset within the "Edit Preset" mode, allowing for precise reordering.
- Drag-and-Drop Across Pages: When dragging a preset in the manager window, hovering over the "Next" or "Previous" page buttons for a short duration will automatically navigate to that page, facilitating seamless reordering across large preset collections.
- Load Default Presets: A "Load Defaults" button has been added to the manager footer, enabling users to import a curated list of prompt/negative prompt presets from an external source.
- Delete All Presets: A "Delete All" button (with confirmation) is now available in the manager footer for quickly clearing all presets for the respective manager (Prompt or Negative Prompt).
- Integrated UI (Collapsible Section on Riffusion's Compose Tab):
- Search Presets: Both the Prompt and Negative Prompt preset sections now feature a search bar, allowing users to quickly filter the displayed presets by name.
- Increased Items Per Page: Integrated preset lists now display 20 items per page (typically 4 rows of 5 items), up from the previous 10-15, for better browsing.
💄 Improvements & UI Changes
- Standalone Preset Manager Window:
- Redesigned Preset Items: Preset items in the manager window have a cleaner look, with improved text display. Edit and Delete controls now appear on hover for a less cluttered interface.
- Horizontal-Only Resizing: The manager window is now resizable only horizontally. The height is fixed based on the 4-row content area to maintain layout consistency. The resize handle has been updated to
↔
.
- Improved Pagination: Pagination controls are now present in the manager window to navigate through pages of presets.
- New Icons: Added icons for "Load Defaults" (
library_add
) and "Delete All" (delete_forever
).
- Default Width: Default width of the manager window increased to
1200px
to accommodate the 5-column layout.
- Integrated UI:
- Expand/Collapse Icon: The main accordion's expand/collapse icon has been updated to
chevron_right
(collapsed) and expand_less
(expanded).
- Preset Name Wrapping: Preset names in the integrated list can now wrap to two lines, improving readability for longer names.
- UI Structure: Refactored internal UI creation for subsections for better maintainability.
- General:
- UI Prefix: Standardized UI element class prefix to
rpm-
for better CSS scoping.
- Icons: Updated various icons throughout the script for clarity and a more consistent visual style.
- Storage Keys: Slightly versioned up storage keys (e.g.,
_v1.1
, _v1.3
) to prevent conflicts with previous sizing or position data.
🛠️ Technical & Bug Fixes
- Preset Application: Continued minor refinements to the
applyReactControlledInputPreset
function for robust interaction with Riffusion's prompt textareas.
- Configuration: Added
defaultPresetsUrl
to MANAGER_CONFIGS
for the new "Load Defaults" feature.
- Debouncing: Implemented debouncing for integrated search functionality to improve performance.
- CSS Overhaul: Significant CSS updates to support:
- The new fixed 4-row, 5-column layout in the standalone manager.
- Horizontal-only resizing.
- Redesigned preset items and hover controls.
- New pagination controls in the manager.
- Position input field in the manager's add/edit area.
- Search input fields in the integrated UI.
- The 5-column grid layout for presets in the integrated UI.
- Drag-and-Drop: Ensured drag-and-drop functionality is robust within the manager, including the new inter-page dragging capability.
- State Management: Improved handling of current page state for both standalone manager and integrated UI pagination, especially after deletions or search filtering.
Note for users of v1.0:
Due to the significant UI overhaul of the standalone "Manage Presets" window (now featuring a fixed 4-row layout and horizontal-only resizing), your previously saved window height will be disregarded. The window will now automatically size its height based on the content. The width and position should still be loaded from your previous settings if possible.
The storage keys for presets themselves (riffusionPromptPresets_v1
, riffusionNegativePresets_v1
) remain the same to ensure your existing presets are loaded. UI position and size keys have been versioned.