Add help menu on command menu bar (#1197)

* Add help menu on command menu bar

* nit
This commit is contained in:
Chenlei Hu
2024-10-09 20:35:17 -04:00
committed by GitHub
parent 2d5faa7f3d
commit 59a5f5f5d0
2 changed files with 27 additions and 1 deletions

View File

@@ -98,6 +98,27 @@ export const useMenuItemStore = defineStore('menuItem', () => {
registerCommands(['Edit'], ['Comfy.ClearWorkflow'])
registerCommands(['Edit'], ['Comfy.OpenClipspace'])
registerMenuGroup(
['Help'],
[
{
icon: 'pi pi-github',
label: 'ComfyUI Issues',
url: 'https://github.com/comfyanonymous/ComfyUI/issues'
},
{
icon: 'pi pi-info-circle',
label: 'ComfyUI Docs',
url: 'https://docs.comfy.org/'
},
{
icon: 'pi pi-discord',
label: 'Comfy-Org',
url: 'https://www.comfy.org/discord'
}
]
)
return {
menuItems,
registerMenuGroup,