diff --git a/CHANGELOG.md b/CHANGELOG.md index 261e3df..0f114b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ The pack is considered feature-complete. No other features planned. To do some fancy stuff with dictionaries, specialized node packs are recommended instead. +# v1.0.4 + +- All the secondary dict-related nodes are moved to a subcategory. + # v1.0.3 - [fix] Nodes made compatible with built-in preview nodes. diff --git a/__init__.py b/__init__.py index 0779f7d..36ce860 100644 --- a/__init__.py +++ b/__init__.py @@ -20,7 +20,7 @@ NODE_CLASS_MAPPINGS: _t.Dict[str, type] = { 'StringConstructorValidateKeys': StringConstructorValidateKeys, } NODE_DISPLAY_NAME_MAPPINGS: _t.Dict[str, str] = { - 'StringConstructorDictAddAny': "Add ANY to Format-Dict (Advanced)", + 'StringConstructorDictAddAny': "Add ANY to Format-Dict", 'StringConstructorDictAddString': "Add String to Format-Dict", 'StringConstructorDictFromText': "Format-Dict from Text", 'StringConstructorDictPreview': "Preview Format-Dict", diff --git a/_meta.py b/_meta.py index f716a0e..0714032 100644 --- a/_meta.py +++ b/_meta.py @@ -4,3 +4,4 @@ Metadata-related module. """ category: str = "String Constructor" +category_dict: str = f"{category}/Format-Dict" diff --git a/node_dict_add_any.py b/node_dict_add_any.py index b4bd4b6..68494a7 100644 --- a/node_dict_add_any.py +++ b/node_dict_add_any.py @@ -40,7 +40,7 @@ _input_types = _deepfreeze({ class StringConstructorDictAddAny: """Add/update a non-string item to the Format-Dict - to do some advanced formatting.""" NODE_NAME = 'StringConstructorDictAddAny' - CATEGORY = _meta.category + CATEGORY = _meta.category_dict DESCRIPTION = _format_docstring(_cleandoc(__doc__)) FUNCTION = 'main' diff --git a/node_dict_add_string.py b/node_dict_add_string.py index 1245797..6779a84 100644 --- a/node_dict_add_string.py +++ b/node_dict_add_string.py @@ -40,7 +40,7 @@ _input_types = _deepfreeze({ class StringConstructorDictAddString: """Add/update a string to the Format-Dict.""" NODE_NAME = 'StringConstructorDictAddString' - CATEGORY = _meta.category + CATEGORY = _meta.category_dict DESCRIPTION = _format_docstring(_cleandoc(__doc__)) FUNCTION = 'main' diff --git a/node_dict_preview.py b/node_dict_preview.py index 16c23a4..e599de3 100644 --- a/node_dict_preview.py +++ b/node_dict_preview.py @@ -63,7 +63,7 @@ class StringConstructorDictPreview: Show the contents of a Format-Dict. """ NODE_NAME = 'StringConstructorDictPreview' - CATEGORY = _meta.category + CATEGORY = _meta.category_dict DESCRIPTION = _format_docstring(_cleandoc(__doc__)) OUTPUT_NODE = True diff --git a/node_validate_keys.py b/node_validate_keys.py index 27f8988..7ada38a 100644 --- a/node_validate_keys.py +++ b/node_validate_keys.py @@ -31,7 +31,7 @@ class StringConstructorValidateKeys: but it might be handy to verify the dict right after it's created. """ NODE_NAME = 'StringConstructorValidateKeys' - CATEGORY = _meta.category + CATEGORY = _meta.category_dict DESCRIPTION = _format_docstring(_cleandoc(__doc__)) OUTPUT_NODE = True