mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-25 01:04:06 +00:00
[Extension API] Custom commands and keybindings (#1075)
* Add keybinding schema * nit * Keybinding store * nit * wip * Bind condition on ComfyCommand * Add settings * nit * Revamp keybinding store * Add tests * Add load keybinding * load extension keybindings * Load extension commands * Handle keybindings * test * Keybinding playwright test * Update README * nit * Remove log * Remove system stats fromt logging.ts
This commit is contained in:
@@ -4,13 +4,10 @@ import { downloadBlob } from '../../utils'
|
||||
import { ComfyButtonGroup } from '../components/buttonGroup'
|
||||
import './menu.css'
|
||||
|
||||
// Import ComfyButton to make sure it's shimmed and exported by vite
|
||||
import { ComfyButton } from '../components/button'
|
||||
import { ComfySplitButton } from '../components/splitButton'
|
||||
import { ComfyPopup } from '../components/popup'
|
||||
console.debug(
|
||||
`Keep following definitions ${ComfyButton} ${ComfySplitButton} ${ComfyPopup}`
|
||||
)
|
||||
// Export to make sure following components are shimmed and exported by vite
|
||||
export { ComfyButton } from '../components/button'
|
||||
export { ComfySplitButton } from '../components/splitButton'
|
||||
export { ComfyPopup } from '../components/popup'
|
||||
|
||||
export class ComfyAppMenu {
|
||||
app: ComfyApp
|
||||
|
||||
Reference in New Issue
Block a user