Commit Graph
15 Commits
Author SHA1 Message Date
DumiFlex 10696bb98b fix(docs): lighter exemplar, more highlights, remove false Ctrl-B claim
- DocKeyList primitive: controls/options render as highlighted accent
  term-chips + spaced descriptions instead of a wall of bold bullets.
- DocSection: flex-column rhythm (even spacing; images no longer sit
  flush against text) + accent-colored bold so highlights aren't carried
  by weight alone.
- WP Context Loop page uses DocKeyList for its controls.
- Remove the FALSE claim that Ctrl-B doesn't work on WP Context Loop
  (it works fine, as does Ctrl-M) — from the node page, the seeds-and-loops
  concept page, and the WP_ContextLoop help doc. The config Bypass switch
  is described accurately (collapses to a single run, keeps the node wired).
2026-05-27 21:17:52 +03:00
DumiFlex df95e81ec6 feat(assembler): round-trip template identity + richer Save/Load modals
Load now persists the picked template's {id,name} on node.properties
(workflow-serialized, survives reload), so Save can offer to update the
exact row the user loaded — the template-side analogue of the bundle
push-to-library identity. Clearing the template drops the ref.

Rebuilds both modals on ModalShell with the library look adapted from
ModulePickerModal / PushToLibraryModal:
- LoadTemplateModal: search + category/tags/favorites filter popover +
  scrollable rows, single-click pick (no kind tabs / multi-select).
- SaveTemplateModal: name/description/category/tags + live preview, with
  a dual footer — "Update existing" (the loaded or same-name row) and
  "Save as new entry" (create, auto-suffixed). Saving rebinds the load
  identity so the next Save defaults to updating that entry.

Bumps the total bundle budget 380 -> 385 KB for the two heavier lazy
modal chunks (~3 KB net gzip; entry untouched).
2026-05-27 02:22:41 +03:00
DumiFlex a553a0b37c docs(assembler): document Save / Load template buttons
Adds a Save / Load template section to the PromptAssembler help doc
covering the library save flow, the searchable load picker, and
missing-variable markers.
2026-05-27 00:34:53 +03:00
DumiFlex baf18d2dcf docs(help): per-node doc for wp_context_loop 2026-05-26 17:43:35 +03:00
DumiFlex edb9eb4687 docs(help): per-node docs for wp_var_to_int/float/bool 2026-05-26 15:22:50 +03:00
DumiFlex 388a666c3f docs(context): rewrite to describe module runner, not value holder 2026-05-26 01:52:24 +03:00
DumiFlex 84462a8fa3 docs(cleaner): document blocklist modes + tags vs text behavior 2026-05-26 01:48:42 +03:00
DumiFlex cf9251a803 docs(help): rewrite all 5 node docs concise per comfy help_page conventions 2026-05-26 01:44:29 +03:00
DumiFlex f108043bac feat(cleaner): native title tooltips on rules, mode, intensity, badge, counter 2026-05-26 01:34:01 +03:00
DumiFlex 01ae5e1c0f docs(cascade): contract doc covers option-id + (option, delete) cascade 2026-05-24 08:39:01 +03:00
DumiFlex ada7c940b1 fix(cascade): align affected_entities type with server shape + document post-undo stale-state limitation 2026-05-24 05:04:48 +03:00
DumiFlex 3d22d47805 docs: cascade-edit cross-language contract reference 2026-05-24 04:46:34 +03:00
DumiFlex c6f9f6f8b0 fix(injector): cap dynamic socket count at 10; v3 autogrow doesn't shrink 2026-05-10 19:40:15 +03:00
DumiFlex 6f358b9b48 feat(injector): help doc 2026-05-10 18:41:46 +03:00
DumiFlex 926eb2cb07 feat: i18n locales (en) + per-node help pages (#2)
Wires two ComfyUI extension points so the nodes are discoverable to
casual users without reading source.

* i18n — `locales/en/` follows ComfyUI's auto-scan layout:
  - `nodeDefs.json` — display names, descriptions, input/output names,
    tooltips for WP_Context, WP_PromptAssembler, WP_Debug.
  - `settings.json` — Reduce motion + Contrast accessibility combos
    keyed as `wildcardPipeline_a11y_*`.
  - `main.json` — settings category labels (Wildcard Pipeline,
    Accessibility).
  English baseline only; structure ready for community PRs to add
  zh/ja/fr/etc. without code changes.
  Docs: https://docs.comfy.org/custom-nodes/i18n

* Help pages — `docs/help/<NodeId>.md` (markdown) gets copied to
  `js/docs/` (the WEB_DIRECTORY) at build time via
  `scripts/copy-help-docs.mjs`. ComfyUI auto-scans
  `${WEB_DIRECTORY}/docs/<NodeId>.md` and surfaces the rendered
  markdown in the node-help panel. Three pages written in casual-user
  voice: what the node does, how to use it, what icons mean — no dev
  jargon (no "last-write-wins", "idempotent", regex, etc.).
  Docs: https://docs.comfy.org/custom-nodes/help_page

* Build pipeline: `pnpm build:extension` now chains
  `vite build && pnpm docs:copy` so a fresh `js/` always carries the
  latest help pages alongside the bundled JS chunks. CI picks this up
  automatically (the same script ran by .github/workflows/ci.yml).
2026-04-26 05:51:57 +03:00