Route prepared file targets through platform services

This commit is contained in:
2026-06-04 16:58:05 +02:00
parent dc369c89b0
commit cabfa44729
9 changed files with 122 additions and 25 deletions

View File

@@ -639,6 +639,10 @@ is preserved while their platform shell implementations are extracted.
Prepared-file save/download handoff is now also part of the service contract,
so iOS/Web export completion routes through `PlatformServices` after the app
writes the temporary/exported payload.
Prepared-file writable target selection now also dispatches through
`PlatformServices`, preserving the existing iOS temporary background-write path
and Web data-path synchronous write path while removing those platform branches
from `App::pick_file_save`.
Canvas image export publishing and explicit persistent-storage flushes now
dispatch through `PlatformServices` too, preserving iOS photo-library export
publication and WebGL filesystem sync behavior in the legacy adapter while
@@ -1692,7 +1696,8 @@ Results:
dispatch, render debug callback dispatch, render-capture frame hook dispatch,
recording cleanup dispatch, exported-image publish dispatch, persistent
storage flush dispatch, document browse-root dispatch,
native UI/window state save dispatch, live asset/layout reload policy dispatch,
native UI/window state save dispatch, prepared-file writable target dispatch,
live asset/layout reload policy dispatch,
diagnostic hook dispatch, per-frame platform hook dispatch, picker callback
dispatch, and prepared-file save/download callback dispatch. The live Windows
app now