refactor: rename db mode name

update README
update DB
This commit is contained in:
Dr.Lt.Data 2023-12-09 11:40:39 +09:00
parent 71fcc35acd
commit a762e60892
6 changed files with 34 additions and 10 deletions

View File

@ -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.

View File

@ -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

View File

@ -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",

View File

@ -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");

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -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",