From 1b24e73943ec5e0874d0678cc846712977919d0b Mon Sep 17 00:00:00 2001 From: David Walter Date: Wed, 24 Jun 2026 19:00:55 +0300 Subject: [PATCH 1/5] fix(web-app-external): enable Collabora Save As (save a copy / export) Collabora exposes Save As (export to another format, saved back to storage via WOPI PutRelativeFile) as a host-delegated operation: it posts a UI_SaveAs message and waits for the host to reply with the target filename via Action_SaveAs. The app-provider integration never opened that channel (it never sent Host_PostmessageReady and did not handle UI_SaveAs), so Save As silently did nothing while Rename (a native WOPI call) worked. Send Host_PostmessageReady once the editor iframe has loaded, request the grouped Save-As control via ui_defaults (SaveAsMode=group), and on UI_SaveAs prompt for the copy's name and reply with Action_SaveAs. The collaboration service already implements PutRelativeFile, so the copy is written into the same space respecting the user's permissions. Co-Authored-By: Claude Opus 4.8 (1M context) Signed-off-by: David Walter --- packages/web-app-external/src/App.vue | 120 ++++++++++++++++-- .../tests/unit/__snapshots__/app.spec.ts.snap | 6 +- 2 files changed, 110 insertions(+), 16 deletions(-) diff --git a/packages/web-app-external/src/App.vue b/packages/web-app-external/src/App.vue index 97402a17c4d..4791c1e9c91 100644 --- a/packages/web-app-external/src/App.vue +++ b/packages/web-app-external/src/App.vue @@ -1,11 +1,13 @@