-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add helper text button for all nodes #3662
Conversation
Im going to say no, only because it will not be a feature that will be available except for the select few nodes that implement it, and a help function that is unused is worse than no help function. |
Say no to something that already exists? The meta tag for the field data is already apart of the ComfyUI Node spec -- so if there is no "documentation" its because the developer was too lazy to even put a single sentence into the string. Can't fix that. Can fix that the "?" should only SHOWUP for nodes that have the string -- that is an easy tweak to the code I see above, just moving down the code that makes the "?" for the node beneath the logic that is testing for the documentation string. Otherwise, that is just a free "tooltip". Personally I prefer the solution from melMass: Which is how we ended up here I believe. If there is a downside to showing the existing info (also being used in the ComfyUI Node Browser: I made it a point at the summit to press on about all sorts of UX that should be getting some sharpening passes. Bubble up the concerns! |
Unfortunately that is a reason. The idea is great if implemented uniformly and forced on custom nodes. But it wont be, so there is reality. There are ideas, and then there is reality. The reality is that you have to get the entire network of custom nodes to conform to this for it to be useful because the amount of default nodes people use is very minimal. That has to be considered in a repo like this, that most the content is 3rd party and relies on this repo being consistent and stable. This falls inline with a custom extension, that kind of extension of the js can be done by nodes. If you implement a node, you can provide the custom js extensions to make your node have that behavior, changes are not required of the repo to enable it. Which is the differentiation in my opinion of requiring new features. If you can't implement it 3rd party, and you need new functionality to implement it. But your changes are all extensible JS, you just didn't write them that way. But you can definitely write a node that implement this, with no changes. Obviously not with the hints types you proposed be defined in the nodes.py or custom_node.py your your_node.py, but your node can have .js so it's doable, so there is no need to implement something you can already do. I do however agree with you that a change similar to this need to be made to the core, the custom node situation is a mess, and not having knowledge of exactly what they do is a problem. I just don't think this is the implementation. It needs a much broader discussion. There are to many node creators out there. Id also support the hints being modal instead of expanding the mode, lots of complex workflows have space as a premium and a node that expands with help info, needs more concrete behavior. |
While I breathe, I hope. But this is 100% why I havent personally pushed anything I have done as extensions, here. I feel the same; standards around the desired target would be a great place to start and kind of where they landed from everything I saw/heard/said myself. I think everyone is in the right place to do the work and perhaps, as you mention, this is much more sandboxy than not. At this point I wish there was a way to just give out JS extensions easy like the Python side and I would just point people at the ones that exist from people like melMass and Kijai. A lot of the UX is solved across a bunch of repos -- is a bummer there is no npm for js extensions inside a virtual python env 🥇 someday.... |
Agree 100% with everything you just said. |
I happened to notice this PR. I agree with promoting similar features in ComfyUI, as it would enhance the user experience in many ways. I would be delighted to see ComfyUI become an excellent open-source "product", rather than just a playground for various models and algorithms. Similar possibilities could include:
Compared to conservatives, I am likely a reformist. |
Saw you guys talking about making help buttons and wondered if you guys have used and this plugin which is doing the same function: |
I don't think this should be a forced type of implementation, which would frustrate a lot of cutting edge developers who are working on experimental features, it should be positioned as a feature used to enhance the creator experience. And it can be turned off and modified to suit your own notes. |
A few of us are doing the same thing with the extension melMass built mine is actually using the internet to load the pages, so it has more functionality than just static help files buried in the repository. What I would like is it be a single solution IN the core -- but it needs:
here I use a style trick on my panel to get around it, but the tooltip is buried without the styling -- this shouldnt be a thing since this is a canvas problem where the controls are being rendered last over everything.
literally just using a field I added to the params called "tooltip". If we are going to do this, lets actually do this. |
no jovimetrix nodes, feels bad. If you need docs, cause your system wont parse my nodes? (Salt.ai's auto-documentation system has this problem as well), you can just go to the local route: And it has the scrape of all the nodes with any help (only mine -- maybe I should make one for all): It is specifically made this way so I can update a local cache that I push to the cloud for everyone else, so I dont have 900 help .md's in the code repo. =D |
subscribing For me it makes sense to have a core handler for If you want a bit more insights on the original implementation goals of the documentation widget you can check this PR's body: I meant to make a similar PR for comfy but couldn't decide what to keep since not all features are needed (markdown parsing, This PR is a nice initiative, I would make it affect only the core nodes by default and provide a way for extension developers to hook to it or not. |
Thanks for the comments everyone! Not many custom nodes currently use the @melMass 's right that this PR will break existing custom nodes that currently add their own help text tooltips. We probably need a way to hide this for certain nodes or allow 3rd parties to opt-in. |
Small tooltips with some helpful information are useful. |
Absolutely agreed the ? is obnoxious! Thanks for the derp moment.... much cleaner for now. Cheers! |
Adding the
?
button to every node if it exports aDESCRIPTION
field in the node definition file. This value is already sent over in theobject_info
endpoint.Clicking on the
?
shows the helper text:Behavior:
?
if the node exports aDESCRIPTION
field.Known issues: