bymyself
a476be3933
[refactor] Extract keybinding functionality into @comfyorg/keybinding package
...
Create framework-agnostic keybinding package following domain-driven design patterns.
Move pure business logic to package while keeping Vue integration in workbench layer.
Changes:
- Add @comfyorg/keybinding package with KeyComboImpl and KeybindingImpl classes
- Move core keybindings and reserved key constants to package
- Update workbench layer to import from package with backward compatibility
- Update all imports across codebase to use package exports
- Maintain existing API surface for consumers
2025-10-12 20:51:31 -07:00
bymyself
42ffdb2141
refactor keybinding files
2025-09-30 11:55:27 -07:00
Benjamin Lu
c8b8953e0a
Add reset individual keybind button ( #3423 )
...
Co-authored-by: Benjamin Lu <templu1107@proton.me >
2025-04-12 16:59:00 -04:00
Benjamin Lu
1990f25638
Allow keybind overwriting ( #3393 )
...
Co-authored-by: Benjamin Lu <templu1107@proton.me >
2025-04-11 14:28:36 -04:00
Chenlei Hu
a814f9f902
[Test] Run unittest with vitest ( #2779 )
2025-02-28 22:09:17 -05:00
Chenlei Hu
ea6c9e7ca5
Replace unset unknown keybinding error with warn ( #2186 )
2025-01-07 10:33:23 -05:00
Chenlei Hu
077ded2cce
[Refactor] Simplify keybindingStore with _.groupBy ( #2180 )
2025-01-06 19:46:20 -05:00
Chenlei Hu
d8f074fea0
[Lint] Sort imports ( #2104 )
2024-12-30 17:26:37 -05:00
Chenlei Hu
642094ead1
Remove legacy slow jest tests ( #2092 )
2024-12-29 16:25:06 -05:00
Chenlei Hu
8baaf380dc
Split jest tests into fast and slow groups ( #1401 )
2024-11-01 22:39:42 -04:00
Chenlei Hu
1775d43d90
Support keybinding customization ( #1081 )
...
* Basic keybinding panel
nit
Make row selectable
Reduce padding
Better key seq render
Show actions on demand
Turn off autocomplete
nit
Persist keybindings
Autofocus
Fix set unsetted keybinding bug
Refactor
Add reset button
Add back default keybinding logic
Report key conflict error
Adjust style
fix bug
Highlight modified keybindings
* Set current editing command's id as dialog header
2024-10-03 16:58:56 -04:00
Chenlei Hu
77aaa38a92
[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
2024-10-02 21:38:04 -04:00