V2.0.0 - Image saver titles

This commit is contained in:
DESKTOP-TVBJISQ\Primere
2026-04-01 18:09:19 +02:00
parent bb3ca6c871
commit 10cdd9addb
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -41,6 +41,14 @@ class PrimereMetaSave:
NODE_FILE = os.path.abspath(__file__) NODE_FILE = os.path.abspath(__file__)
NODE_ROOT = os.path.dirname(NODE_FILE) NODE_ROOT = os.path.dirname(NODE_FILE)
SECTION_TITLES = [
{"before": "save_image", "name": "metasave_main_switch", "title": "💾 Save Control", "color": "#4C5E70", "text_color": "#EAF1F8", "label": "Master save toggle and aesthetic-score gate for deciding if output should be written."},
{"before": "output_path", "name": "metasave_pathing", "title": "🗂 Path & Folder Routing", "color": "#5B4C70", "text_color": "#EAF1F8", "label": "Configure output path, subpath behavior, and optional concept/model folder nesting."},
{"after": "filename_prefix", "name": "metasave_filename_tokens", "title": "🧾 Filename Composition", "color": "#6A5636", "text_color": "#EAF1F8", "label": "Set filename delimiter and automatic token suffixes like date, time, seed, size, and aesthetic score."},
{"after": "extension", "name": "metasave_embed", "title": "🧬 Metadata Embedding", "color": "#3E5C4B", "text_color": "#EAF1F8", "label": "Choose PNG workflow/data embedding, EXIF output, and A1111/Civitai-compatible metadata formatting."},
{"after": "overwrite_mode", "name": "metasave_export_sidecars", "title": "🧰 Export Policy & Sidecars", "color": "#5A603E", "text_color": "#EAF1F8", "label": "Define overwrite policy and optional sidecar outputs (JSON/TXT) for downstream workflows."},
]
def __init__(self): def __init__(self):
self.output_dir = folder_paths.output_directory self.output_dir = folder_paths.output_directory
self.type = 'output' self.type = 'output'
+1 -1
View File
@@ -2,7 +2,7 @@ import { app } from "/scripts/app.js";
// Add node names here to enable backend-driven title separators on those nodes. // Add node names here to enable backend-driven title separators on those nodes.
const TITLE_MANAGED_NODES = [ const TITLE_MANAGED_NODES = [
"PrimereRasterix", "PrimereModelControl" "PrimereRasterix", "PrimereModelControl", "PrimereMetaSave"
]; ];
const titleConfigCache = {}; const titleConfigCache = {};