diff --git a/chrome.html b/chrome.html index 04fb4d4..81a03f5 100644 --- a/chrome.html +++ b/chrome.html @@ -350,7 +350,7 @@ @@ -507,7 +507,14 @@ else { T.openSidebar && T.openSidebar(pid); } }; }); - // Reflect active state on the collapsed .extmore button too. + // Collapsed dock button: show the first extension's icon (falling back + // to 🧩 if nothing is registered yet). Clicking it opens a dropdown of + // all extensions so the user can pick. Reflect active state so the + // acid tint carries across whether the row or the collapsed button is + // showing. + const first = lastPanels[0]; + $("extmore").textContent = first ? String(first.icon || "•") : "🧩"; + $("extmore").title = first ? "Extensions — " + (first.title || first.panelId) : "Extensions"; $("extmore").classList.toggle("active", sidebarOpen && !!activePanelId); } T.sidebarState && T.sidebarState().then(renderSidebarState);