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