agent-zero/plugins/_browser/webui/main.html
Alessandro 370ac9b878 Make Browser dockable and stabilize canvas interaction
Extend Browser into a reusable panel that can run in either the Universal Canvas or the floating modal. Add canvas registration, dock/undock behavior, and keep the existing modal path working as a fallback.

Stabilize tab switching with viewer tokens and stale-frame rejection, prevent command snapshots from crossing active tabs, and keep tab changes responsive.

Improve canvas navigation and scrolling by making screencast polling non-blocking and removing page-settle waits from wheel input, so the visible frame updates promptly without stretch/catch-up artifacts.

Polish Browser busy feedback with a spinner-only status affordance to avoid misleading “updating browser” copy.
2026-04-26 17:09:21 +02:00

14 lines
398 B
HTML

<html
class="browser-modal"
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>