Extract document-session overwrite prompt helper

This commit is contained in:
2026-06-15 22:02:39 +02:00
parent 21b529aac5
commit 9384676367
4 changed files with 64 additions and 12 deletions

View File

@@ -1405,6 +1405,11 @@ Close-unsaved, save-before-workflow, new-document overwrite, and Save As
overwrite prompt creation now also goes through
`src/legacy_app_dialog_services.*` before the document-session bridge attaches
its legacy callbacks.
The retained new-document and Save As overwrite prompt wiring in
`src/legacy_document_session_services.*` now also routes through a focused
helper, so the remaining document-session bridge debt is further concentrated
on close prompts, native close requests, save-version routing, app document
field mutation, and keyboard/dialog cleanup.
`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