openpencil/tests/engine/editor
sadkodev 0300cb521b
refactor(keyboard): address review feedback on opacity shortcuts
- Move setOpacity to core editor action (packages/core/src/editor/nodes.ts)
  so it is testable directly without duplicating logic in tests
- Replace external window listener with tinykeys bindings in
  registerKeyboardShortcuts, reusing shared input/focus guards
- Add 20 bindings for Digit0-9 and Numpad0-9 with modifier guards
- Implement Figma-style multi-digit buffer: 2→20%, 28→28%, 00→0%, 100→100%
  with 400ms timeout and auto-apply at 3 digits
- Simplify selection.setOpacity command to delegate to editor.setOpacity
- Rewrite unit tests to call editor.setOpacity directly
- Add ofetch to dependencies (was imported but missing from package.json)
- Update CHANGELOG
2026-07-17 14:09:46 -04:00
..
clipboard test(layout): place auto-layout reflow cases by domain 2026-07-02 10:16:08 +03:00
selection refactor(kiwi): remove redundant core shims 2026-06-30 10:50:30 +03:00
structure fix(editor): relayout after component sync 2026-07-02 10:35:10 +03:00
undo fix(vue): import export types from scene graph package 2026-06-30 11:18:19 +03:00
effects-and-resize.test.ts chore(lint): enforce test complexity limits 2026-05-06 14:18:29 +03:00
graph-events.test.ts fix(editor): separate preview updates from graph mutations 2026-06-30 10:28:02 +03:00
nudge.test.ts style: tighten import grouping 2026-05-06 02:22:08 +03:00
opacity.test.ts refactor(keyboard): address review feedback on opacity shortcuts 2026-07-17 14:09:46 -04:00
preview-events.test.ts fix(editor): separate preview updates from graph mutations 2026-06-30 10:28:02 +03:00
text-auto-resize.test.ts fix(text): preserve Figma auto-size text imports 2026-07-02 17:30:15 +03:00
variable-bindings-undo.test.ts fix(scene-graph): deep-copy cloned nodes and validate bindings 2026-06-10 17:10:25 +03:00