Route cloud download reconcile through document open services

This commit is contained in:
2026-06-15 20:31:17 +02:00
parent fdf2e56182
commit 80533fae5b
6 changed files with 75 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@@ -104,6 +104,11 @@ Retained save-before-upload execution now also routes through
directly, so the remaining cloud debt is further concentrated on
prompt/progress lifetime, OpenGL context guarding, downloaded-project open,
layer refresh, and action-history reset.
Retained cloud downloaded-project post-open reconciliation now also routes
through `src/legacy_document_open_services.*` instead of living inline in
`src/legacy_cloud_services.cpp`, so the remaining cloud bridge debt is further
concentrated on prompt/progress lifetime, OpenGL context guarding,
`NodeDialogCloud`, and transfer-thread execution.
Recent 2026-06-13 retained preview reductions continue to narrow DEBT-0036:
`NodeStrokePreview::draw_stroke_immediate()` now also routes

View File

@@ -518,6 +518,42 @@ Completed Task Log:
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-012 | no score movement | `ctest --preset desktop-fast --build-config Debug -R "pp_app_core_document_cloud" --output-on-failure`; `MSBuild.exe out\build\windows-msvc-default\panopainter_app.vcxproj /p:Configuration=Debug /p:Platform=x64` | `3e0a6b2c` |
### ADP-013 - Route Cloud Downloaded-Project Reconciliation Through Document Open Services
Status: Done
Score: no score movement
Debt: `DEBT-0038`
Scope: `src/legacy_cloud_services.cpp`,
`src/legacy_document_open_services.*`
Goal:
Move the retained downloaded-project post-open reconciliation used by cloud
download out of `src/legacy_cloud_services.cpp` and behind a focused legacy
document-open helper so the cloud bridge no longer owns inline camera reset,
layer refresh, title update, and history-clear behavior.
Done Checks:
- `LegacyCloudServices::start_download(...)` no longer owns inline
downloaded-project post-open reconciliation.
- Retained cloud downloaded-project open, layer refresh, and action-history
reset now route through `src/legacy_document_open_services.*`.
- `DEBT-0038` and the roadmap note the reduced remaining cloud bridge surface.
Validation:
```powershell
ctest --preset desktop-fast --build-config Debug -R "pp_app_core_document_cloud" --output-on-failure
& 'C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\MSBuild.exe' out\build\windows-msvc-default\panopainter_app.vcxproj /p:Configuration=Debug /p:Platform=x64
```
Completed Task Log:
| Date | Task | Score | Validation | Commit |
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-013 | no score movement | `ctest --preset desktop-fast --build-config Debug -R "pp_app_core_document_cloud" --output-on-failure`; `MSBuild.exe out\build\windows-msvc-default\panopainter_app.vcxproj /p:Configuration=Debug /p:Platform=x64` | `(pending)` |
Completed Task Log:
| Date | Task | Score | Validation | Commit |