Commit Graph
392 Commits
Author SHA1 Message Date
FranckyB a14d80779d feat: enhance passthrough and prompt manager with improved scroll handling and layout adjustments 2026-11-26 09:23:35 -05:00
FranckyB 5d2addfb87 feat: add UI refactor plan for unified visual language across FBnodes, Prompt-Manager, and H3RefModPicker
- 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.
2026-11-26 09:03:12 -05:00
FranckyB ea64e05634 feat: Update KIT_VERSION to 17 and enhance prompt input handling in PromptManagerV2 2026-11-25 13:30:01 -05:00
FranckyB c2392ecae2 feat: Update theme integration in MultiLoraStackerLM and refine unsaved changes warnings in Prompt Manager 2026-11-25 02:31:09 -05:00
FranckyB 05b68cc767 feat: Add blue color scheme to ComfyUI and update localization for fbBlue 2026-11-25 02:00:13 -05:00
FranckyB 382fc6b74d feat: Enhance Prompt Manager with toggle switch and improved layout for input controls 2026-11-25 01:44:36 -05:00
FranckyB dfc640b2af feat: Add support for native text encoders in Prompt Manager
- 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.
2026-11-25 00:40:16 -05:00
FranckyB 60db260a52 feat: add save and navigation icons to PromptManagerV2 controls 2026-11-24 23:11:57 -05:00
FranckyB f3205e7959 feat: refactor slide control components for improved usability and styling 2026-11-24 19:11:09 -05:00
FranckyB 965f42e341 feat: add new SVG icons for rotation and scaling controls 2026-11-24 18:00:16 -05:00
FranckyB 3750c0dd2f feat: add PromptManagerV2 for managing prompts with LoRA stacks and trigger words
- 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.
2026-11-24 10:32:42 -05:00
FranckyBandClaude Opus 5.5 e9be2482bb chore: Sync the FB UI kit (panel height functions)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:45:04 -05:00
FranckyBandClaude Opus 5.5 5a55a69cd1 Serve the prompt library routes once, under both prefixes
- 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>
2026-11-24 01:00:18 -05:00
FranckyBandClaude Opus 5.5 1b98ba63dd Fix the Basic node's unsaved-changes warning and empty-category crash
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:55:10 -05:00
FranckyBandClaude Opus 5.5 02fc7f000a Remove the unregistered Prompt Browser node and the Composer's old JSON browser
- 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>
2026-11-24 00:55:10 -05:00
FranckyB cb09985ed6 feat: Add slideLabel function for draggable row labels and update KIT_VERSION to 12 2026-11-23 18:27:09 -05:00
FranckyBandClaude Opus 5.5 c442731e95 feat: Prompt Library Hub: Saved Prompts as one section, filtered by Type in the browser
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:29:51 -05:00
FranckyBandClaude Opus 5.5 d954aeabfc chore: Sync the FB UI kit (group header tools)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:52:15 -05:00
FranckyBandClaude Opus 5.5 5c9dd9972d chore: Sync the FB UI kit (pad and feather icons)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:46:50 -05:00
FranckyBandClaude Opus 5.5 233216e9f2 chore: Sync the FB UI kit and file browser
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 03:16:31 -05:00
FranckyBandClaude Opus 5.5 25a9c104f9 chore: Sync the FB UI kit (core video preview suppression)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:05:55 -05:00
FranckyBandClaude Opus 5.5 f573f7a9df feat: Wrap Prompt Browser category tabs onto rows; kit 10
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>
2026-11-23 01:46:55 -05:00
FranckyBandClaude Opus 5.5 785f07b0d1 feat: Prompt Browser edit panel controls on the FB UI kit
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>
2026-11-23 01:23:53 -05:00
FranckyBandClaude Opus 5.5 1c0839ec50 fix: Edit panel confirms use the kit's danger option
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>
2026-11-23 01:23:11 -05:00
FranckyBandClaude Opus 5.5 b3fb3087f0 feat: Prompt Browser footer, type rail and its own kit dialogs
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>
2026-11-23 01:22:37 -05:00
FranckyBandClaude Opus 5.5 a59c9c0bc1 feat: Prompt Browser cards and list on the kit stylesheet
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>
2026-11-23 01:20:23 -05:00
FranckyBandClaude Opus 5.5 5ce100ca50 feat: Prompt Browser frame, toolbar and category tabs on the kit
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>
2026-11-23 01:18:09 -05:00
FranckyBandClaude Opus 5.5 f673baef1b feat: Prompt Browser dialogs, menus and progress on the FB UI kit
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>
2026-11-23 01:15:53 -05:00
FranckyBandClaude Opus 5.5 fbafccf86f feat: Put Prompt Manager's modals on the FB UI kit colours
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>
2026-11-23 01:11:12 -05:00
FranckyBandClaude Opus 5.5 2c87cd6501 feat: Add the FB UI kit and FBnodes' file browser
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>
2026-11-23 01:06:46 -05:00
FranckyB b1bcb515dc feat: enhance file browser dimensions and add arrow-key navigation for prompt extractor 2026-11-19 00:45:33 -05:00
FranckyB 3a182253eb Removed, now redundant Prompt Browser Node, sidebar adds same features 2026-10-28 02:01:09 -04:00
FranckyB fe5f1080df Add Krea layout workflow from image with prompt generation and image loading 2026-10-28 00:49:48 -04:00
FranckyB e258bd0c47 feat: Update Prompt Manager to use MANAGER_DATA instead of RECIPE_DATA
- 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.
2026-10-26 21:46:42 -04:00
FranckyB 433f0ef95c feat: rename Compose Manager to Composition Manager and enhance layout handling in prompt components 2026-10-26 04:02:47 -04:00
FranckyB d9b496df33 feat: add Prompt Layout Builder for MOSS-Image layouts
- 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.
2026-10-26 03:22:36 -04:00
FranckyB 45125d570d feat: implement Node 2.0 Compatibility 2026-10-24 21:11:26 -04:00
FranckyB 3759813b39 feat: add customizable thumbnail generation steps and improve sampler defaults handling 2026-10-19 23:50:38 -04:00
FranckyB edf48eb0bf feat: enhance NSFW handling in prompt browser and save functionality 2026-10-18 18:18:35 -04:00
FranckyB c1b454eaa3 feat: Implement system prompt selector in prompt_generator.js
- 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.
2026-10-18 10:33:06 -04:00
FranckyB e735e7317a feat: update prompt editor button behavior for renaming and saving prompts 2026-10-16 22:39:02 -04:00
FranckyB 7a30c6ad89 feat: improve prompt sorting and enhance prompt entry validation in editor 2026-10-14 00:06:54 -04:00
FranckyB 9446358c56 feat: enhance prompt editor with draft metadata handling and update save button behavior 2026-10-09 02:08:46 -04:00
FranckyB 8e99c8e3c3 feat: enhance prompt management with draft metadata handling and save summary updates in the editor 2026-10-07 23:09:55 -04:00
FranckyB 603fbaaeee feat: enhance prompt management with preferred model settings and draft handling in the editor 2026-10-07 22:18:24 -04:00
FranckyB f9a9731924 feat: add functionality to clear muted nodes in prompt composer and enhance context menu options 2026-09-29 22:43:11 -04:00
FranckyB 726571abfd feat: improve subject handling in prompt composer with reset functionality and tooltip updates i.e. UI Polish 2026-09-29 10:13:31 -04:00
FranckyB 51dbfcfac0 feat: enhance subject handling in prompt composer and improve text section key generation 2026-09-29 00:33:37 -04:00
FranckyB cc039ee32e feat: enhance LoRA fetching with cache control and update subject handling in composer 2026-09-28 23:40:21 -04:00
FranckyB 72eeb7e303 Similar to Prompt Composer, added the option to export only specific categories from Prompt Manager 2026-09-28 14:25:08 -04:00