Parent issue: #692
Current state
useShortcuts lives in packages/products/src/shared/shortcut/ and provides keyboard shortcut handling (undo/redo etc.) for a canvas graph. Uses ctrl-keys under the hood.
Work
- Audit for product-specific shortcut bindings and make them configurable or opt-in
- Decouple from
GraphWithPlugins — accept a typed graph-with-canvas-plugin interface instead
- Export from
@magic/graph-addons
- Remove from
packages/products once consumers are updated
Parent issue: #692
Current state
useShortcutslives inpackages/products/src/shared/shortcut/and provides keyboard shortcut handling (undo/redo etc.) for a canvas graph. Usesctrl-keysunder the hood.Work
GraphWithPlugins— accept a typed graph-with-canvas-plugin interface instead@magic/graph-addonspackages/productsonce consumers are updated