Centralize legacy brush package import

This commit is contained in:
2026-06-04 14:49:22 +02:00
parent 78185b8fd5
commit 6ab64ccc82
13 changed files with 415 additions and 6 deletions

View File

@@ -617,8 +617,17 @@ Known local toolchain state:
- `src/legacy_document_open_services.*` is the current app-shell bridge between
`pp_app_core` document-open plans and live ABR/PPBR import prompts,
unsaved-project discard prompts, project opening, layer UI refresh, title
updates, and action-history clearing; remaining legacy execution ownership is
tracked by `DEBT-0039`.
updates, and action-history clearing. Accepted brush import prompts now
delegate import execution to `src/legacy_brush_package_import_services.*`;
remaining legacy document-open ownership is tracked by `DEBT-0039`.
- `src/legacy_brush_package_import_services.*` is the current app-shell bridge
between `pp_app_core` ABR/PPBR brush package import requests and live
`NodePanelBrushPreset::import_abr`/`import_ppbr` execution. It preserves the
detached legacy import worker threads and preset-panel storage ownership while
brush asset/paint/UI ownership is tracked by `DEBT-0048`.
- `pp_app_core_brush_package_import_tests` covers ABR and PPBR import kind
naming, path validation, service dispatch, and empty-path rejection without
requiring a window, brush preset panel, or filesystem read.
- `src/legacy_document_session_services.*` is the current app-shell bridge
between `pp_app_core` document-session decisions and live close prompts,
save dialogs, save-version routing, existing-project saves, and