Plan document session prompts

This commit is contained in:
2026-06-05 08:07:54 +02:00
parent 5def47cdcc
commit e5526c6d0a
11 changed files with 316 additions and 26 deletions

View File

@@ -837,7 +837,7 @@ Known local toolchain state:
options-menu side effects.
- `pp_app_core_app_dialog_tests` covers app-level progress/message/input dialog
metadata planning, progress initialization, negative progress-total clamping,
message cancel-button policy, input OK-caption propagation, and malformed
message cancel-button/caption policy, input OK-caption propagation, and malformed
empty OK-caption rejection without requiring legacy `Node*` dialogs.
- `pp_app_core_app_startup_tests` covers startup run-counter increment
planning, optional auto-timelapse/license/VR-controller decisions, negative
@@ -881,7 +881,9 @@ Known local toolchain state:
- `pp_app_core_document_session_tests` covers clean and dirty app session,
document-open action planning and executor dispatch/rejection, save-request,
close-request executor dispatch/no-op preservation, document-save executor
dispatch/no-op preservation, save-before-workflow executor dispatch,
dispatch/no-op preservation, document-session prompt metadata for close,
save-before-workflow, overwrite, and save-error dialogs,
save-before-workflow executor dispatch,
new-document target/resolution/overwrite planning and executor dispatch,
document file target, combined save-file overwrite planning and executor
dispatch, plus save-version target decisions and executor validation without
@@ -903,9 +905,13 @@ Known local toolchain state:
- `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
save-before-workflow prompts. It also bridges accepted new-document plans to
legacy canvas resize/layer setup, overwrite prompts, title updates, and
keyboard/dialog cleanup. Accepted Save As and Save Version plans now also
save-before-workflow prompts. Close, save-before-workflow, new-document
overwrite, Save As overwrite, and save-error prompt text/captions now come
from the pure document-session prompt catalog exposed through
`pano_cli plan-document-session-prompt` before retained `NodeMessageBox`
creation. It also bridges accepted new-document plans to legacy canvas
resize/layer setup, overwrite prompts, title updates, and keyboard/dialog
cleanup. Accepted Save As and Save Version plans now also
route through this bridge before reaching legacy project-save execution,
overwrite prompts, document field updates, title updates, and keyboard/dialog
cleanup. Retained legacy UI/canvas execution remains tracked by `DEBT-0040`,