Browse Source

refactor: rename db mode name

update README
update DB
pull/229/head
Dr.Lt.Data 11 months ago
parent
commit
a762e60892
  1. 10
      README.md
  2. 2
      __init__.py
  3. 14
      extension-node-map.json
  4. 4
      js/comfyui-manager.js
  5. BIN
      misc/menu.jpg
  6. 14
      node_db/new/extension-node-map.json

10
README.md

@ -84,7 +84,15 @@ This repository provides Colab notebooks that allow you to install and use Comfy
![menu](misc/menu.jpg)
* When the 'Use local DB' feature is enabled, the application will utilize the data stored locally on your device, rather than retrieving node/model information over the internet
* There are three DB modes: `DB: Channel (1day cache)`, `DB: Local`, and `DB: Channel (remote)`.
* `Channel (1day cache)` utilizes Channel cache information with a validity period of one day to quickly display the list.
* This information will be updated when there is no cache, when the cache expires, or when external information is retrieved through the Channel (remote).
* Whenever you start ComfyUI anew, this mode is always set as the **default** mode.
* `Local` uses information stored locally in ComfyUI-Manager.
* This information will be updated only when you update ComfyUI-Manager.
* For custom node developers, they should use this mode when registering their nodes in `custom-node-list.json` and testing them.
* `Channel (remote)` retrieves information from the remote channel, always displaying the latest list.
* In cases where retrieval is not possible due to network errors, it will forcibly use local information.
* The ```Fetch Updates``` menu retrieves update data for custom nodes locally. Actual updates are applied by clicking the ```Update``` button in the ```Install Custom Nodes``` menu.

2
__init__.py

@ -18,7 +18,7 @@ import re
import signal
import nodes
version = "V1.10.3"
version = "V1.10.4"
print(f"### Loading: ComfyUI-Manager ({version})")
required_comfyui_revision = 1793

14
extension-node-map.json

@ -1202,6 +1202,7 @@
"CR Aspect Ratio",
"CR Aspect Ratio SDXL",
"CR Batch Process Switch",
"CR Binary Pattern",
"CR Central Schedule",
"CR Check Job Complete",
"CR Checker Pattern",
@ -1230,6 +1231,7 @@
"CR Cycle Text",
"CR Cycle Text Simple",
"CR Debatch Frames",
"CR Draw OBJ",
"CR Draw Perspective Text",
"CR Draw Text",
"CR Encode Scheduled Prompts",
@ -1312,7 +1314,9 @@
"CR Prompt Weight Scheduler",
"CR Radial Gradient",
"CR Random Hex Color",
"CR Random Multiline Values",
"CR Random RGB",
"CR Random RGB Gradient",
"CR SD1.5 Aspect Ratio",
"CR SDXL Aspect Ratio",
"CR SDXL Base Prompt Encoder",
@ -1327,6 +1331,8 @@
"CR Seed to Int",
"CR Select Model",
"CR Simple Annotations",
"CR Simple Binary Pattern",
"CR Simple Binary Pattern Simple",
"CR Simple Image Watermark",
"CR Simple Meme Template",
"CR Simple Prompt List",
@ -2493,10 +2499,11 @@
"https://github.com/bedovyy/ComfyUI_NAIDGenerator": [
[
"GenerateNAID",
"ImageToNAIMask",
"Img2ImgOptionNAID",
"InpaintingOptionNAID",
"ModelOptionNAID"
"MaskImageToNAID",
"ModelOptionNAID",
"PromptToNAID"
],
{
"title_aux": "ComfyUI_NAIDGenerator"
@ -3686,6 +3693,7 @@
"InjectNoiseToLatent",
"NormalizeLatent",
"OffsetMask",
"ReferenceOnlySimple3",
"ReplaceImagesInBatch",
"ResizeMask",
"ReverseImageBatch",
@ -4643,7 +4651,6 @@
"ChatGPTOpenAI",
"CombineMasks_",
"CombineSegMasks",
"EditLayer",
"EmptyLayer",
"EnhanceImage",
"FaceToMask",
@ -4655,6 +4662,7 @@
"NewLayer",
"RandomPrompt",
"ScreenShare",
"ShowLayer",
"ShowTextForGPT",
"SmoothMask",
"SplitLongMask",

4
js/comfyui-manager.js vendored

@ -590,9 +590,9 @@ class ManagerMenuDialog extends ComfyDialog {
// db mode
this.datasrc_combo = document.createElement("select");
this.datasrc_combo.style.cursor = "pointer";
this.datasrc_combo.appendChild($el('option', { value: 'cache', text: 'DB: Cache (1day)' }, []));
this.datasrc_combo.appendChild($el('option', { value: 'cache', text: 'DB: Channel (1day cache)' }, []));
this.datasrc_combo.appendChild($el('option', { value: 'local', text: 'DB: Local' }, []));
this.datasrc_combo.appendChild($el('option', { value: 'url', text: 'DB: Remote' }, []));
this.datasrc_combo.appendChild($el('option', { value: 'url', text: 'DB: Channel (remote)' }, []));
// preview method
let preview_combo = document.createElement("select");

BIN
misc/menu.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 76 KiB

14
node_db/new/extension-node-map.json

@ -1202,6 +1202,7 @@
"CR Aspect Ratio",
"CR Aspect Ratio SDXL",
"CR Batch Process Switch",
"CR Binary Pattern",
"CR Central Schedule",
"CR Check Job Complete",
"CR Checker Pattern",
@ -1230,6 +1231,7 @@
"CR Cycle Text",
"CR Cycle Text Simple",
"CR Debatch Frames",
"CR Draw OBJ",
"CR Draw Perspective Text",
"CR Draw Text",
"CR Encode Scheduled Prompts",
@ -1312,7 +1314,9 @@
"CR Prompt Weight Scheduler",
"CR Radial Gradient",
"CR Random Hex Color",
"CR Random Multiline Values",
"CR Random RGB",
"CR Random RGB Gradient",
"CR SD1.5 Aspect Ratio",
"CR SDXL Aspect Ratio",
"CR SDXL Base Prompt Encoder",
@ -1327,6 +1331,8 @@
"CR Seed to Int",
"CR Select Model",
"CR Simple Annotations",
"CR Simple Binary Pattern",
"CR Simple Binary Pattern Simple",
"CR Simple Image Watermark",
"CR Simple Meme Template",
"CR Simple Prompt List",
@ -2493,10 +2499,11 @@
"https://github.com/bedovyy/ComfyUI_NAIDGenerator": [
[
"GenerateNAID",
"ImageToNAIMask",
"Img2ImgOptionNAID",
"InpaintingOptionNAID",
"ModelOptionNAID"
"MaskImageToNAID",
"ModelOptionNAID",
"PromptToNAID"
],
{
"title_aux": "ComfyUI_NAIDGenerator"
@ -3686,6 +3693,7 @@
"InjectNoiseToLatent",
"NormalizeLatent",
"OffsetMask",
"ReferenceOnlySimple3",
"ReplaceImagesInBatch",
"ResizeMask",
"ReverseImageBatch",
@ -4643,7 +4651,6 @@
"ChatGPTOpenAI",
"CombineMasks_",
"CombineSegMasks",
"EditLayer",
"EmptyLayer",
"EnhanceImage",
"FaceToMask",
@ -4655,6 +4662,7 @@
"NewLayer",
"RandomPrompt",
"ScreenShare",
"ShowLayer",
"ShowTextForGPT",
"SmoothMask",
"SplitLongMask",

Loading…
Cancel
Save