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

@@ -992,6 +992,10 @@ app-core document-session executors and `src/legacy_document_session_services.*`
preserving close prompts, save dialogs, save-version routing, existing-project
save execution, and dirty-workflow save-before-continue prompts while retained
legacy UI/canvas behavior remains tracked under `DEBT-0040`.
The retained document-session prompt boxes now consume a pure prompt catalog for
close-unsaved, save-before-workflow, new-document overwrite, Save As overwrite,
and save-error metadata; `pano_cli plan-document-session-prompt` exposes the
same titles, messages, button captions, and cancel visibility for automation.
`App::dialog_newdoc` now routes accepted new-document plans through the
app-core new-document executor and `src/legacy_document_session_services.*`,
preserving target overwrite prompts, legacy canvas resize/layer setup, history
@@ -1682,6 +1686,20 @@ Results:
`pp_app_core_document_session_tests`, `pano_cli_plan_document_file_*`,
`pano_cli_plan_document_version_*`, and `pano_cli_simulate_app_session_*`
smoke tests after the live bridge split.
- `PanoPainter`, `pano_cli`, `pp_app_core_app_dialog_tests`, and
`pp_app_core_document_session_tests` built after close/save/workflow,
new-document overwrite, Save As overwrite, and save-error prompt metadata
moved into the pure document-session prompt catalog. A clean rebuild was
required once because MSVC reported the known Debug PDB `LNK1103`
corruption, after which the build passed.
- Focused document-session prompt CTest coverage passed for
`pp_app_core_app_dialog_tests`, `pp_app_core_document_session_tests`,
`pano_cli_plan_document_session_prompt_*`,
`pano_cli_plan_document_file_*`, `pano_cli_plan_new_document_*`, and
representative `pano_cli_simulate_app_session_*` smoke tests.
- Android arm64 headless `pp_app_core`, `pano_cli`,
`pp_app_core_app_dialog_tests`, and `pp_app_core_document_session_tests`
built after the same prompt-catalog change.
- `PanoPainter`, `pp_app_core_document_export_tests`, and `pano_cli` built
after equirectangular, layers, animation-frame, depth, and cube-face export
execution moved behind document export services. A clean rebuild was required