Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

chore: reorder dashboard tabs - instances first (default landing page)

Mariof70671cd7bac
diff --git a/internal/dashboard/dashboard/app.js b/internal/dashboard/dashboard/app.js
index 7ab8bce7..f1ed2aa9 100644
--- a/internal/dashboard/dashboard/app.js
+++ b/internal/dashboard/dashboard/app.js
@@ -29,4 +29,4 @@ function openInstanceDirect(port) {
}
connect();
-switchView('profiles');
+switchView('instances');
diff --git a/internal/dashboard/dashboard/dashboard.html b/internal/dashboard/dashboard/dashboard.html
index adaf9a98..4fbcde1f 100644
--- a/internal/dashboard/dashboard/dashboard.html
+++ b/internal/dashboard/dashboard/dashboard.html
@@ -19,30 +19,30 @@
</h1>
<div class="status"><span class="dot"></span>Live</div>
<div class="view-toggle">
- <button class="view-btn active" data-view="profiles" onclick="switchView('profiles')">Profiles</button>
- <button class="view-btn" data-view="instances" onclick="switchView('instances')">Instances</button>
+ <button class="view-btn active" data-view="instances" onclick="switchView('instances')">Instances</button>
+ <button class="view-btn" data-view="profiles" onclick="switchView('profiles')">Profiles</button>
<button class="view-btn" data-view="feed" onclick="switchView('feed')">Agents</button>
<button class="view-btn" data-view="settings" onclick="switchView('settings')">Settings</button>
</div>
</header>
-<div id="profiles-view" class="instances-view" style="display:flex">
+<div id="instances-view" class="instances-view" style="display:flex">
<div class="inst-toolbar">
- <button onclick="showCreateProfileModal()" class="launch-btn">New Profile</button>
- <button onclick="loadProfiles()" class="refresh-btn">Refresh</button>
+ <button onclick="loadInstances()" class="refresh-btn">Refresh</button>
</div>
- <div id="profiles-grid" class="instances-grid">
- <div class="empty-state"><div class="crab">🦀</div>No profiles yet.<br>Click <b>+ New Profile</b> to create one.</div>
+ <div id="instances-grid" class="instances-grid">
+ <div class="empty-state"><div class="crab">🦀</div>No running instances.<br>Launch a profile to start one.</div>
</div>
</div>
-<div id="instances-view" class="instances-view" style="display:none">
+<div id="profiles-view" class="instances-view" style="display:none">
<div class="inst-toolbar">
- <button onclick="loadInstances()" class="refresh-btn">Refresh</button>
+ <button onclick="showCreateProfileModal()" class="launch-btn">New Profile</button>
+ <button onclick="loadProfiles()" class="refresh-btn">Refresh</button>
</div>
- <div id="instances-grid" class="instances-grid">
- <div class="empty-state"><div class="crab">🦀</div>No running instances.<br>Launch a profile to start one.</div>
+ <div id="profiles-grid" class="instances-grid">
+ <div class="empty-state"><div class="crab">🦀</div>No profiles yet.<br>Click <b>+ New Profile</b> to create one.</div>
</div>
</div>