ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[Feature Request]: Allow disabling sidebar tabs, topbar menu items, setting panels, etc. via hidden settings

Open christian-byrne opened this issue 1 year ago • 5 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

There are many orgs deploying ComfyUI_frontend as part of a service. They want the ability to disable certain functionalities when serving the client view. For example:

  • they may want to use their own internal workflow storage/sharing system and therefore disable the workflow sidebar
  • they may want to disable topbar menu items to prevent saving things to comfy instance disk
  • they may want to disable opening settings or changing hotkeys to prevent workarounds

See examples: https://www.seaart.ai/workflow, https://tensor.art/workflow

Proposed workflow

  1. Create hidden settings that offer easy way to configure which commands, sidebar tabs, topbar menu items, settings panels, settings, etc. are disabled
  2. If something is disabled, prevent the associated UI components from loading and also prevent it from being loaded via workarounds e.g., using commands

Additional information

No response

┆Issue is synchronized with this Notion page by Unito

christian-byrne avatar Apr 10 '25 20:04 christian-byrne

不记得什么时间开始,上方标题,不在自动缩放,现在打开过多标题后,标题会被部件遮挡。 I don't remember when it started, but the title at the top no longer automatically zoomed. Now, after opening too many titles, the titles will be blocked by components

a63976659 avatar Apr 20 '25 19:04 a63976659

Image

a63976659 avatar Apr 20 '25 19:04 a63976659

@a63976659 Could you open a bug report with more details? That can help us better understand the issue and lead to a quicker fix.

Thank you!

您能否提交一份包含更多详细信息的错误报告?这有助于我们更好地了解问题,并更快地解决问题。

谢谢!

benceruleanlu avatar Apr 21 '25 00:04 benceruleanlu

Diagnostics-1745284173.log 这个问题并没有报错提醒,希望你能找到原因并解决。 There is no error reminder for this issue. I hope you can find out the cause and solve it

a63976659 avatar Apr 22 '25 01:04 a63976659

Hi! I'm a student participating in the CodePath AI301 Open Source Capstone and I'm interested in working on this issue. I'll start by setting up the project locally, reviewing the relevant frontend components, and exploring how settings, commands, and UI modules are currently registered before proposing an implementation approach. Any pointers on the most relevant areas of the codebase would be appreciated. Thanks!

bluxio avatar Jun 10 '26 05:06 bluxio