Extract document-session save dialog helper

This commit is contained in:
2026-06-15 22:17:49 +02:00
parent d85d702434
commit 98c48c33da
4 changed files with 76 additions and 23 deletions

View File

@@ -1560,6 +1560,41 @@ Completed Task Log:
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-041 | no score movement | `powershell -ExecutionPolicy Bypass -File scripts\\automation\\quiet-validate.ps1 -BuildTargets pano_cli,pp_app_core_document_session_tests -TestRegex "pp_app_core_document_session|pano_cli_plan_document_session_prompt"` | `aaf55dd7` |
### ADP-042 - Extract Document-Session Save Dialog Helper
Status: Done
Score: no score movement
Debt: `DEBT-0042`
Scope: `src/app_dialogs.cpp` only
Closeout: `aaf55dd7`
Goal:
Reduce the inline retained Save dialog button wiring by extracting the
button handling from `App::dialog_save()` into a focused helper while
preserving current behavior.
Done Checks:
- The retained Save dialog wiring no longer lives inline in `App::dialog_save()`.
- The retained Save dialog path now routes through a focused helper in
`src/app_dialogs.cpp`.
- `DEBT-0042` and the roadmap note the reduced remaining document-session
bridge surface.
Validation:
```powershell
powershell -ExecutionPolicy Bypass -File scripts\\automation\\quiet-validate.ps1 -BuildTargets pano_cli,pp_app_core_document_session_tests -TestRegex "pp_app_core_document_session|pano_cli_plan_document_session_prompt"
```
Completed Task Log:
| Date | Task | Score | Validation | Commit |
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-042 | no score movement | `powershell -ExecutionPolicy Bypass -File scripts\\automation\\quiet-validate.ps1 -BuildTargets pano_cli,pp_app_core_document_session_tests -TestRegex "pp_app_core_document_session|pano_cli_plan_document_session_prompt"` | `aaf55dd7` |
### RND-001 - Make Pure Equirectangular Export The Primary Success Path
Status: Done