Commit Graph
9 Commits
Author SHA1 Message Date
DemonGatanjieuandClaude Opus 5.5 4abb0100a7 feat(prompts): find prompt boxes by node definition and wiring
One module, prompt_boxes.js, now decides which boxes of a live node take a
prompt and whether each is positive or negative. A prompt box is a
multiline STRING input by the node's ComfyUI definition, not a widget
whose name looks right; its role is its own name (positive / negative) or
the wiring down to a sampler's positive / negative input, not the title.

- Material drops, Prompt Studio, the translator and recipe capture use it;
  their name regexes and fallbacks ("any string widget") are gone.
- Prompt Studio's role detection read graph.links[id], which is a Map in
  current ComfyUI, so it never followed a link; it uses the module now.
- Material writes call onWidgetChanged(name, ...) as ComfyUI expects.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 05:46:21 +08:00
DemonGatanjieuandClaude Opus 5.5 32a3719d97 fix: offline scans stay offline, workshop snap dock, 400 on malformed requests
From an outside audit:
- The scan wizard's offline mode still sent the greyed-out rename and
  overwrite options, and scraper.py fetched Civitai model pages and preview
  media for models whose .info held a Civitai id. Offline now implies no
  media and no model page; the folder scan and scan_all refuse a missing or
  non-object body instead of defaulting to an online scan.
- The Prompt Workshop's snap dock referenced leftSearch from the source deck
  module (ReferenceError on click); the deck now exposes focusSearch().
- translate, delete_model, delete_gallery_image and the image-material
  routes answer malformed bodies with 400 instead of 500.
- Removed six unused imports in ui_doctor.js and 16 duplicate locale keys
  per language (the later, effective entry is kept, so nothing changes on
  screen).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 15:36:07 +08:00
DemonGatanjieu bf2764239f feat(toolbox): clean up unlit placeholder tools and refine source hub icon 2026-09-15 21:39:17 +08:00
DemonGatanjieu 02f0230c08 fix(prompt-studio): refine popover safe-zone corridor and blank-space dismiss guards 2026-09-15 14:27:04 +08:00
DemonGatanjieu a4b34100de feat(prompt-studio): unify positive/negative indicators and auto-tail cross-role blocks with tags 2026-09-15 11:03:50 +08:00
DemonGatanjieu 43c994cc34 fix(prompt-studio): implement global pointer safe zone to prevent popover closing during transit to buttons 2026-09-15 10:44:08 +08:00
DemonGatanjieu fd16be87ce fix(prompt-studio): resolve intermittent popover disappearance with 100ms open-debounce, 380ms buffer, 28px bridge and pin support 2026-09-15 10:13:12 +08:00
DemonGatanjieu 109565fa00 fix(prompt-studio): enable interactive card preview popover with 220ms debounce bridge and copy/add actions 2026-09-15 10:06:13 +08:00
DemonGatanjieu de02f5dd81 refactor: split prompt studio views and unify UI lifecycle 2026-09-15 09:32:18 +08:00