openpencil/packages/core/tests/editor
Danila Poyarkov c47d1b78e6
refactor: share behaviour control roles through dom-css (#960)
* refactor: share behaviour control roles through dom-css

Code export needs the same control model and layer roles preview islands use. They move from packages/vue to packages/dom-css/src/behaviours as behaviourControls and controlRoles, and the layerPath, findLayerByPath and hasBehaviour helpers they need move from Core down to scene-graph, since dom-css cannot depend on Core. Preview behaves the same.

* fix(scene-graph): escape layer path names and stop on parent cycles

A layer named Wifi#1 or Row/1 did not round-trip through its path, so preview skipped that control or reveal target, and a parent cycle in imported data hung the walk. Names escape % / and #, and the walk goes through closest(), which stops on a cycle.
2026-10-07 20:06:16 +00:00
..
clipboard test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
components perf: stop repeating glyph coverage and component sync during layout (#957) 2026-10-07 18:46:56 +00:00
graph test(core): move the fig round-trip suite home, and stop test imports drilling 2026-10-01 14:11:53 +04:00
history feat(ai): show what each AI edit changed in its tool call (#812) 2026-10-03 23:32:37 +04:00
layout feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
pages fix: export layers and pages that are not on screen in app mode (#877) 2026-10-04 13:55:23 +00:00
play refactor: share behaviour control roles through dom-css (#960) 2026-10-07 20:06:16 +00:00
selection test(core): move the fig round-trip suite home, and stop test imports drilling 2026-10-01 14:11:53 +04:00
structure fix: keep stored page backgrounds and number layers by their own page (#949) 2026-10-07 13:35:59 +00:00
undo feat: let a collection name the attribute its modes switch by (#913) 2026-10-06 12:35:41 +00:00
variables fix: keep bound text and visibility in step with their variables (#954) 2026-10-07 18:37:15 +00:00
effects-and-resize.test.ts
frame-presets.test.ts fix(layout): size each axis on its own and lay out before geometry reads (#942) 2026-10-07 11:52:08 +00:00
guides.test.ts
navigation-lifecycle.test.ts
node-preview.test.ts
nudge.test.ts
opacity.test.ts
page-backgrounds.test.ts fix: keep stored page backgrounds and number layers by their own page (#949) 2026-10-07 13:35:59 +00:00
preview-events.test.ts
reveal.test.ts feat(code): link the Code tab to canvas layers and sync both ways (#805) 2026-10-04 10:08:40 +00:00
text-auto-resize.test.ts
vectorize.test.ts
view-state.test.ts
viewport.test.ts feat(app): follow people and agents from the toolbar avatars (#807) 2026-10-04 00:09:40 +04:00