agent-zero/plugins/_office/webui/main.html
Alessandro 24dd548ebf feat(office-ui): introduce the Desktop document canvas
Rework the Office canvas into the Desktop surface, with Markdown editing for text documents and official LibreOffice/Xpra sessions for DOCX, XLSX, and PPTX. The panel now presents Desktop-oriented actions, named header buttons, persistent session tabs, adaptive modal/canvas sizing, and fast client-side Xpra frame fitting during resize.

Stop auto-opening the canvas from document tool results, hide the canvas on mobile-width layouts, and emit resize lifecycle events so embedded desktop surfaces can pause expensive work while the user drags.
2026-05-02 13:07:10 +02:00

17 lines
515 B
HTML

<html
class="office-modal modal-no-backdrop"
data-canvas-surface="office"
data-canvas-modal-path="/plugins/_office/webui/main.html"
data-canvas-dock-title="Open Desktop in canvas"
data-canvas-dock-icon="dock_to_right"
>
<head>
<title>Desktop</title>
<script type="module">
import { store } from "/plugins/_office/webui/office-store.js";
</script>
</head>
<body class="office-modal-body">
<x-component path="/plugins/_office/webui/office-panel.html" mode="modal"></x-component>
</body>
</html>