-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Add Help Menu in NodeLibrarySidebarTab #8179
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
Add Help Menu in NodeLibrarySidebarTab #8179
Conversation
Include HELP in node_info Include HELP in ComfyNodeABC Readd image to BFL Ultra Move images to backend
The HELP variable should also accept URL endpoints to dynamically load HTML/MD so that nothing needs to be hard-coded (help info). |
Looks good on the backend PR 👍 Not sure if we should make the logging message be in a similar format as the other 'missing packages' ones, but I see why you have gone with the approach you did since technically missing the docs dep is not critical. |
BTW, before merge, version would have to be bumped to whatever is latest, even 0.1.0 is out of date RN. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, we'll just need to sync release with frontend PR once the conflicts are resolved: Comfy-Org/ComfyUI_frontend#3922
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kosinkadink It looks like this can be merged ahead of time - do we need to sync frontend release?
except ImportError: | ||
logging.info("comfyui-embedded-docs package not found") | ||
return None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this have a catch-all that logs and returns? An unhandled exception type here would terminate app start.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And yep, we can definitely merge it head of time.
This PR adds a route to serve static web assets from the comfyui-embedded-docs python package.
Related Frontend PR: Comfy-Org/ComfyUI_frontend#3922
Related Docs PR: Comfy-Org/docs#120