ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
feat(ui): Docker per-container accent dots (S8.6)
Juan Denis7647fde20854
diff --git a/docs/REDESIGN_MAP.md b/docs/REDESIGN_MAP.mdindex a9fcc80d..80c3f1f7 100644--- a/docs/REDESIGN_MAP.md+++ b/docs/REDESIGN_MAP.md@@ -300,9 +300,12 @@ rail group** (Sites `/var/www`, Stack `/opt/serverkit`, Web config `/etc/nginx`,`meta` shows the browse target (remote agent name / "panel host"); breadcrumb `›` icons → demo mono `/`;ext-badge on image thumbs now always visible.-### 8.6 Docker — close; 4 small items-KPI icon tone-wash not applying (verify `.sk-kpi__icon--*` rules actually color the lucide SVG), per-container-accent dot in name cell, Projects KPI (compose-label count), logs modal→drawer (blocked on §6.3).+### 8.6 Docker — ✅ **done 2026-06-11** (2 of 4 items were non-issues)+KPI icon tone-wash: **false alarm** — verified `.sk-kpi__icon--*` rules + `tone` props are correct end-to-end.+**Per-container accent dot shipped**: hue-hashed identity dot in the name cell (demo `.dot-ico`), dimmed when+stopped (status lives in the Status pill). Projects KPI: **skipped** — compose-project labels only exist on+per-container inspect, a count needs an extra fetch per target, and the 4th KPI slot already carries real+Networks data. Logs modal→drawer stays blocked on §6.3.### 8.7 Workspaces — ✅ **done 2026-06-11 (commit 2312cf4)**Built `/workspaces/:id` **WorkspaceDetail** on real data: site-header hero (brand tile, active/status Pill, monodiff --git a/frontend/src/pages/Docker.jsx b/frontend/src/pages/Docker.jsxindex 0ca92e13..5a8957bb 100644--- a/frontend/src/pages/Docker.jsx+++ b/frontend/src/pages/Docker.jsx@@ -101,6 +101,13 @@ const getContainerStatusLabel = (container) => {return state || 'Unknown';};+// Deterministic hue from a container name (demo's per-container accent color).+const containerHue = (name = '') => {+ let h = 0;+ for (let i = 0; i < name.length; i++) h = (h * 31 + name.charCodeAt(i)) % 360;+ return h;+};+const getContainerProjectName = (container, details) => {const labels = details?.Config?.Labels || container?.Labels || {};return labels['com.docker.compose.project'] || labels['com.docker.compose.service'] || '-';@@ -926,7 +933,18 @@ const ContainersTab = ({ onStatsChange }) => {<td><div className="dx-name-stack"><span className="dx-name-line">- <span className={`dx-status-dot ${isRunning ? 'running' : 'stopped'}`} />+ {/* hue-hashed per-container identity dot (demo .dot-ico);+ dims when stopped — status itself lives in the Status pill */}+ <span+ className={`dx-status-dot ${isRunning ? 'running' : 'stopped'}`}+ style={{+ background: `hsl(${containerHue(getContainerName(container))} 60% 60%)`,+ boxShadow: isRunning+ ? `0 0 6px hsl(${containerHue(getContainerName(container))} 60% 60% / 0.55)`+ : 'none',+ opacity: isRunning ? 1 : 0.4,+ }}+ /><span title={getContainerName(container)}>{getContainerName(container)}</span></span><span className="dx-muted-line mono">{shortId(containerId)}</span>