Centralize legacy document layer bridge

This commit is contained in:
2026-06-03 21:16:07 +02:00
parent 855c388027
commit 7460453b80
8 changed files with 382 additions and 301 deletions

View File

@@ -490,21 +490,22 @@ shared app-shell document-canvas bridge runs the legacy `Canvas` resize adapter
and history clearing.
`pano_cli plan-layer-rename` exposes the app-core layer rename decision used by
the live layer rename dialog, and rename execution now dispatches through
`DocumentLayerRenameServices` before legacy `Canvas`, `NodeLayer`, and
`DocumentLayerRenameServices` in the shared app-shell layer bridge
`src/legacy_document_layer_services.*` before legacy `Canvas`, `NodeLayer`, and
`ActionManager` undo adapters continue.
`pano_cli plan-layer-operation` exposes app-core planning for layer add,
duplicate, select, reorder, remove, opacity, visibility, alpha-lock, blend-mode,
and highlight actions used by the live layer panel. Direct layer-panel
operations now dispatch through `DocumentLayerOperationServices` before the
legacy `Canvas` and UI layer adapter continues execution.
shared app-shell layer bridge continues legacy `Canvas` and UI layer execution.
`pano_cli plan-layer-menu` exposes app-core planning for Layer menu clear,
rename, and merge-down labels/actions, and direct Layer menu commands now
dispatch through `DocumentLayerMenuServices` before the legacy canvas/layer UI
adapter continues execution. Layer menu clear now routes through the shared
`DocumentCanvasClearServices` executor before the legacy canvas-clear adapter
continues, and Layer menu merge now validates and dispatches through
`DocumentLayerMergeServices` before the legacy layer-panel merge adapter
continues.
adapter in `src/legacy_document_layer_services.*` continues execution. Layer
menu clear now routes through the shared `DocumentCanvasClearServices` executor
from that bridge before the legacy canvas-clear adapter continues, and Layer
menu merge now validates and dispatches through `DocumentLayerMergeServices`
before the legacy layer-panel merge adapter continues.
`pano_cli plan-animation-operation` exposes app-core planning for animation
frame add, duplicate, remove, duration adjustment, timeline moves, timeline
goto/next/previous, onion-size updates, frame selection, no-reload playback