- Introduced a comprehensive plan to standardize the UI across three packs, focusing on a consistent visual language inspired by AusBoss.
- Documented key findings regarding existing UI implementations and compatibility considerations.
- Established decisions on color identity, dark mode, and phased implementation strategy.
- Outlined the shared kit structure and rules for UI development to ensure consistency and compatibility.
- Detailed progress on the FBnodes phase, including completed tasks and future steps for Prompt-Manager and H3RefModPicker.
- Introduced a new setting for preferred native models, allowing users to select from available .safetensors text encoders.
- Implemented API endpoint to fetch native model options dynamically.
- Updated the PromptGenerator class to handle native text encoders, including validation and prompt conversion logic.
- Enhanced user interface elements to accommodate new settings and options for native models.
- Refactored existing code to improve clarity and maintainability, including renaming variables and functions for better context.
- Implemented a new prompt management system that allows users to save and manage prompts along with their associated LoRA stacks and trigger words.
- Introduced a user interface that mimics the legacy node's look, featuring a prompt bar, buttons for saving and creating new prompts, and a display for LoRA stacks.
- Added functionality to load, save, import, and delete prompts from a library, including handling of NSFW content.
- Implemented state management for edits to LoRAs and trigger words, ensuring changes are saved with prompts.
- Enhanced user experience with tooltips, context menus, and a responsive layout for managing LoRAs and trigger words.
- nodes/prompt_library_routes.py: get-prompts, category and prompt create,
rename, delete, thumbnail, NSFW, import and the library file routes, each
answered at /prompt-manager/... and /prompt-manager-advanced/..., with one
error handler. Basic and Advanced had a copy each; the Basic node keeps
only its save route, Advanced its save and LoRA routes.
- Prompt rename finds the prompt whatever its case on both prefixes.
- py/prompt_metadata.py: the prompt a node output, recorded in the workflow
and API prompt save nodes embed; Basic now drops its llm_input link there
too, as Advanced does with its prompt link.
- Removed routes nothing calls: save-category-base-prompt,
save-category-prompt-prefix, get-prompt-data, list-checkpoints,
resolve-loras, and log-thumbnail with the browser call that only printed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- nodes/prompt_browser.py and js/prompt_browser_node.js: the Prompt Browser
node was no longer registered in __init__.py, so ComfyUI never offered it.
- js/prompt_composer.js: the Composer's own JSON file browser, replaced by
the shared file browser; nothing calls it any more.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Many categories no longer run off a horizontal scroll: the tabs wrap onto
up to three rows and scroll vertically past that. With the synced kit,
the edit panel's prompt text is a dark well, and the file browser plays
videos on hover.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
createInput, createTextarea, createSelect, createNumberInput, the picker
triggers and createButton now make kit text fields, selects and buttons
(primary for the main actions instead of hard-coded green), so the edit
panel, its importers and pickers match the browser; their focus colouring
comes from the kit. No hard-coded colours remain in the panel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Save and Update confirms are plain, the rest stay destructive; they passed colours the kit confirm does not take.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The save and multi-select bars use kit buttons (primary for the action,
the kit's disabled state), the save name field is a kit text field, and
the type rail, its tooltip and drop markers use the kit tokens. The
browser now shows its info, confirm, new-category and rename-category
dialogs through the kit (formDialog gains a checkbox field) instead of
borrowing the old-style ones from Prompt Manager Advanced, and drops the
unused base-prompt dialog. No hard-coded colours are left in the browser.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Grid and Icon views are one renderer (the Icon view was a ~400-line copy
at smaller sizes); cards, thumbnails, names and badges are stylesheet
classes with the kit's hover and selected states, and one promptBadges
helper builds the NSFW / C / L / R / P marks for the grid and the list.
List rows, the header, counts, the prompt tooltip and the hover preview
use the kit colours.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The window, header, search and toolbar use the kit (kit buttons with an
"on" state for active filters and modes, Grid / Icon / List as three icon
buttons like the file browser), and the category bar's tabs are styled by
one stylesheet: selected in the kit's soft blue, NSFW with a red edge.
The scrollbar style that was added to <head> on every open is now part of
that stylesheet, and the never-shown second "+" button is gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The four hand-built dialogs become the kit prompt and a small form dialog
(js/pm_dialogs.js; built from elements, so names are no longer injected as
HTML). The prompt, category, prompt-group and multi-selection right-click
menus use the kit menu (with separators, kit 9). Thumbnail generation goes
through one queueThumbnail helper instead of four copies, and its progress
toast is kit-styled. Requests use api.fetchApi; the unused progress
builder is gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PM_UI_PALETTE now maps its names onto the kit tokens, and the Prompt
Browser and its edit panel use it instead of their own drifting copies,
so every palette-based modal shares the kit's surfaces, text and accent.
Also fixes the edit panel's selectPrompt (bulk/asset import) calling an
undefined renderCategoryTabs, and drops a console.log on every open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared kit (js/fbui/, docs/UI_RULES.md) gives Prompt Manager's nodes
the FBnodes look and its "Node color" setting (Prompt Manager >
Appearance). The Prompt Extractor's file browser is now the same file as
FBnodes' (thumbnails, list views, search, multi-select, Custom folder),
on Prompt Manager's own routes: path_browser.js names them, and the
backend gains the delete route, .hidden folders and JSON in "all".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Refactored PromptManagerAdvanced to introduce _PROMPT_MANAGER_RECIPE_KEY for better data handling.
- Changed input and output types in RecipeBuilder, WorkflowBuilder, and related classes to use MANAGER_DATA.
- Updated recipe_model_loader, recipe_relay, and recipe_renderer to accept and return MANAGER_DATA.
- Added new JavaScript file for Prompt Library Hub, enabling better management and interaction with saved prompts.
- Enhanced UI components for browsing, importing, and exporting prompts in the library hub.
- Implemented a new node to create and manage MOSS-Image layouts.
- Added functionality to import and export layouts in various formats (JSON, percent, 0-1000).
- Introduced methods for cleaning and validating box data, converting between bounding boxes and layout formats.
- Integrated image background fitting and preview rendering capabilities.
- Enhanced user interface elements for layout management and visualization.
- Added a new system prompt selector widget to the prompt generator.
- Integrated fetching and displaying of system prompts from the API.
- Implemented navigation through prompts with arrow buttons and a thumbnail browser.
- Enhanced user experience with improved styling and event handling.
refactor: Enhance error handling and logging in prompt_generator.py
- Introduced custom error classes for better error management.
- Added logging capabilities to capture startup errors and provide actionable feedback.
- Improved model selection logic to handle missing models and provide fallbacks.
test: Add comprehensive tests for prompt generator functionality
- Created tests for the new system prompt selector in prompt_generator_selector.test.mjs.
- Implemented unit tests for model selection and error handling in test_prompt_generator_models.py.
- Ensured coverage for various scenarios including fallback mechanisms and user interactions.