diff --git a/dimos/web/templates/rerun_dashboard.html b/dimos/web/templates/rerun_dashboard.html index 9917d9d2af..f0792079e3 100644 --- a/dimos/web/templates/rerun_dashboard.html +++ b/dimos/web/templates/rerun_dashboard.html @@ -6,15 +6,78 @@ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; overflow: hidden; } body { background: #0a0a0f; font-family: -apple-system, system-ui, sans-serif; } + :root { --command-center-width: max(30vw, 35rem); } .container { display: flex; width: 100%; height: 100%; } - .rerun { flex: 1; border: none; } - .command-center { width: 400px; border: none; border-left: 1px solid #333; } + .command-center { + width: var(--command-center-width); + min-width: 16rem; + border: none; + border-right: 1px solid #333; + } + .rerun { flex: 1 1 auto; border: none; min-width: 0; } + .divider { + width: 6px; + background: linear-gradient(180deg, #202530 0%, #141824 100%); + cursor: col-resize; + border-left: 1px solid #0f1016; + border-right: 1px solid #0f1016; + } + .divider:hover { background: #2a3140; } + .divider.dragging { background: #3a4458; } + body.dragging { user-select: none; cursor: col-resize; }
- + +
+ diff --git a/dimos/web/websocket_vis/websocket_vis_module.py b/dimos/web/websocket_vis/websocket_vis_module.py index d73844b4ec..6b5222d777 100644 --- a/dimos/web/websocket_vis/websocket_vis_module.py +++ b/dimos/web/websocket_vis/websocket_vis_module.py @@ -150,7 +150,10 @@ def start(self) -> None: self._uvicorn_server_thread.start() # Show control center link in terminal - logger.info(f"Command Center: http://localhost:{self.port}/command-center") + if self._global_config.viewer_backend == "rerun-web": + logger.info(f"Command Center: http://localhost:{self.port}") + else: + logger.info(f"Command Center: http://localhost:{self.port}/command-center") try: unsub = self.odom.subscribe(self._on_robot_pose)