mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-17 12:31:20 +00:00
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.
17 lines
515 B
HTML
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>
|