Commit Graph
624 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 2651bea9fe Add the new Prompt Manager's node logic (PromptManagerV2), not yet registered
prompt | lora_stacks | manager_data | trigger_words in, prompt | lora_stacks
| manager_data out. LoRA stacks go out as a plain LORA_STACK when one slot
has LoRAs and as a MULTI_LORA_STACK when several do. On/off and strength
edits are overrides in one state widget; panel rows go to the frontend in
a prompt-manager-v2-update message. Re-runs when the saved prompt changes.
Registered with its frontend, when the current node becomes legacy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:42:15 -05:00
FranckyBandClaude Opus 5.5 de4cb93788 Move the LoRA stack and recipe helpers into py/lora_stacks.py
Shared by the Prompt Manager nodes and the Multi LoRA nodes; the Multi LoRA
nodes drop their identical copy of the stack normalizer. No behaviour
change: Prompt Manager runs and saves compare equal to the previous
version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:39:48 -05:00
FranckyBandClaude Opus 5.5 a81d2a9ff9 Add Multi LoRA Relay; Multi LoRA Combine and Splitter become legacy
Multi LoRA Relay takes lora_stacks (a MULTI_LORA_STACK, or a LORA_STACK as
slot A) and lora_stack_a..d, appends each slot input to its slot, and
outputs the set both ways, like Recipe Relay. Same results as Combine
followed by Splitter. Changelog: an Unreleased section for this and the
recent fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:33:02 -05:00
FranckyBandClaude Opus 5.5 3ab48eddf2 Save the Prompt Manager's LoRA slots A-D in one loop
- save-prompt handled slots a-d with pasted copies, two near-identical
  LoRA normalizers and an if/elif per slot whose branches did the same;
  one loop now, and the helpers are module functions. Saved prompts and
  responses are unchanged across 432 save payloads (checked against the
  previous version).
- _has_meaningful_workflow_data loses its pre-v2 branch: its only caller
  passes v2 recipe data.
- datetime.utcnow (deprecated) replaced, same timestamp format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 01:06:49 -05:00
FranckyBandClaude Opus 5.5 f7b60bd151 Run the Prompt Manager's LoRA slots A-D in one loop; fix toggles reset on every run
- get_prompt handled slots a, b, c and d with four pasted copies of each
  step; one loop now builds the stacks, display, unavailable lists and
  original strengths. Outputs and frontend updates are unchanged across
  7,200 input combinations (checked against the previous version).
- With no LoRAs connected to the inputs, should_reset was sent as [] (an
  empty list), which the frontend's JavaScript reads as true: the node
  cleared and reloaded its LoRA and trigger-word toggles on every run.
  It is now false unless the prompt changed, the inputs changed with a new
  input prompt, or the input LoRAs were cleared.
- Removed the unused toggle-change tracking, the second read of the prompt
  library per run, and the fallbacks for the old data/recipe_data inputs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 01:04:40 -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 23cc2c63dc Load the prompt library once per read from one shared store
- py/prompt_store.py: the one place prompt_manager_data.json is loaded,
  seeded, sorted and saved, and the hidden category keys; Basic, Advanced,
  Library Manager and startup use it instead of two class copies.
- Each load parsed the file about four times (the daily backup check ran on
  every load); now once. The backup stays daily, at startup.
- An unreadable library with no readable backup loads empty instead of
  being overwritten with the default prompts.
- First run no longer reports the file as missing or corrupt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:55:10 -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 8b3c774395 Fix prompt data lost on Basic save and on import; open only JSON files
- Prompt Manager (Basic) save kept only a few fields and wiped LoRAs C/D,
  recipe data, negative prompt and other fields saved by the full node.
- Import dropped recipe data, negative prompts and extra fields, and the
  category base prompt / prefix (plain text) never imported.
- Basic's prompt lists choked on the hidden category keys.
- load-prompts-file opens .json files only.

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 7148c7f8c5 feat: Edit / Generate Prompt MiniMax Outpaint system prompt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:21:42 -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 68ab668373 Adding Extract workflow tool 2026-11-02 06:50:27 -05:00
FranckyB 43319e7330 Merge branch 'llama_test' 2026-11-01 11:06:25 -05:00
FranckyB 1db0e6a4f5 feat: enhance GPU detection and symlink handling in prompt generator 2026-11-01 10:58:33 -05:00
Francois Beaudry 54f99f67b7 Merge pull request #50 from FranckyB/llama_test
Fix for newer version of llama
2026-10-30 11:59:59 -04:00
FranckyB 7a894ccb90 fix for latest version of llama 2026-10-28 13:59:31 -04:00
FranckyB 3a182253eb Removed, now redundant Prompt Browser Node, sidebar adds same features 2026-10-28 02:01:09 -04:00
FranckyB b6b243c130 feat: update version to 3.0.0 in __init__.py and pyproject.toml 2026-10-28 01:30:34 -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 8c0341771d feat: introduce Prompt Composer Manager for editing and saving compose_data with thumbnail support 2026-10-26 21:46:28 -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