mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-17 04:01:13 +00:00
Introduce the shared surfaces frontend service and stylesheet so Browser and Desktop can register docked or floating live UI without special cases in modals.js. Update Browser and right-canvas integration to preserve active viewers across canvas/modal switches and avoid creating blank tabs unless explicitly requested.
18 lines
581 B
HTML
18 lines
581 B
HTML
<html
|
|
class="browser-modal"
|
|
data-surface-id="browser"
|
|
data-surface-modal-path="/plugins/_browser/webui/main.html"
|
|
data-surface-dock-title="Open Browser in surface"
|
|
data-surface-dock-icon="dock_to_right"
|
|
data-canvas-surface="browser"
|
|
data-canvas-modal-path="/plugins/_browser/webui/main.html"
|
|
data-canvas-dock-title="Open Browser in canvas"
|
|
data-canvas-dock-icon="dock_to_right"
|
|
>
|
|
<head>
|
|
<title>Browser</title>
|
|
</head>
|
|
<body class="browser-modal-body">
|
|
<x-component path="/plugins/_browser/webui/browser-panel.html" mode="modal"></x-component>
|
|
</body>
|
|
</html>
|