Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41b72c45a8 | ||
|
|
0fdd9276ac | ||
|
|
ab02676118 | ||
|
|
3c2412952f | ||
|
|
7c831e17dd |
@@ -7,15 +7,19 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- "pyproject.toml"
|
- "pyproject.toml"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-node:
|
publish-node:
|
||||||
name: Publish Custom Node to registry
|
name: Publish Custom Node to registry
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.repository_owner == 'DigitalIO' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Publish Custom Node
|
- name: Publish Custom Node
|
||||||
uses: Comfy-Org/publish-node-action@main
|
uses: Comfy-Org/publish-node-action@v1
|
||||||
with:
|
with:
|
||||||
## Add your own personal access token to your Github Repository secrets and reference it here.
|
## Add your own personal access token to your Github Repository secrets and reference it here.
|
||||||
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||||
+23
-18
@@ -70,30 +70,35 @@ function stableWildcardNodeCreated(node, app) {
|
|||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// TRIAGE: The below code was commented out due to breaking fundamental behavior
|
||||||
|
// in ComfyUI in later versions.
|
||||||
|
// Fixing/finding an alternative to the proxy will be necessary in order to
|
||||||
|
// re-enable updating the node title.
|
||||||
|
|
||||||
// The seed widget does not offer a change callback.
|
// The seed widget does not offer a change callback.
|
||||||
// Instead proxy the widget and hook the set function
|
// Instead proxy the widget and hook the set function
|
||||||
node.widgets[1] = new Proxy(node.widgets[1], {
|
// node.widgets[1] = new Proxy(node.widgets[1], {
|
||||||
set(target, p, newValue, receiver) {
|
// set(target, p, newValue, receiver) {
|
||||||
|
|
||||||
// We are now responsible for all updates
|
// // We are now responsible for all updates
|
||||||
target[p] = newValue;
|
// target[p] = newValue;
|
||||||
|
|
||||||
// If the property updated was the value (thats the seed we care about)
|
// // If the property updated was the value (thats the seed we care about)
|
||||||
if (p === 'value') {
|
// if (p === 'value') {
|
||||||
// Using the UI slider to change the seed can call this function
|
// // Using the UI slider to change the seed can call this function
|
||||||
// hundreds of times per second. We don't want to send a server request for
|
// // hundreds of times per second. We don't want to send a server request for
|
||||||
// every update, so only update once the value has stoped changing
|
// // every update, so only update once the value has stoped changing
|
||||||
if (lastCall) {
|
// if (lastCall) {
|
||||||
clearTimeout(lastCall);
|
// clearTimeout(lastCall);
|
||||||
}
|
// }
|
||||||
|
|
||||||
lastCall = setTimeout(updateTitle.bind(null, node), 250);
|
// lastCall = setTimeout(updateTitle.bind(null, node), 250);
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Return true for no issues
|
// // Return true for no issues
|
||||||
return true;
|
// return true;
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the Stable Wildcard extension
|
// Create the Stable Wildcard extension
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "comfyui-stable-wildcards"
|
name = "comfyui-stable-wildcards"
|
||||||
description = "Wildcard implementation that can be reproduced with workflows."
|
description = "Wildcard implementation that can be reproduced with workflows."
|
||||||
version = "1.1.1"
|
version = "1.1.3"
|
||||||
license = "MIT"
|
license = { text = "MIT License" }
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Repository = "https://github.com/DigitalIO/ComfyUI-stable-wildcards"
|
Repository = "https://github.com/DigitalIO/ComfyUI-stable-wildcards"
|
||||||
|
|||||||
Reference in New Issue
Block a user