Skip to content

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.

docs: mark WP detail restyle done; record flat-tabs decision (S6.2)

Juan Denis98f41294b109
diff --git a/docs/REDESIGN_MAP.md b/docs/REDESIGN_MAP.md
index 3fde7085..14efe0c8 100644
--- a/docs/REDESIGN_MAP.md
+++ b/docs/REDESIGN_MAP.md
@@ -114,7 +114,7 @@ Effort: S/M/L/XL. Nature: **Restyle** (look only) · **+IA** (layout/tab/route r
| 1 | **Dashboard** | M | Restyle+IA | `pages/Dashboard.jsx`, `MetricsGraph.jsx`, `pages/_dashboard.scss` | ServerSwitcher, ActivityFeed | activity-feed source (maybe) | **✅ pass 1 done** — metric tiles → `MetricCard`, apps status → `Pill`, chart retinted to new palette (kept the real `MetricsGraph` intact), dotsep meta. Deferred: server-switcher dropdown + activity feed. |
| 2 | **Servers list + detail** | L | Restyle+IA | `pages/Servers.jsx`, `pages/ServerDetail.jsx`, `pages/_servers.scss` | — (reuse MetricsGraph) | reboot cmd, per-server SSH launch; region/load = mock-only | **✅ top-bar migrated** — built shared `SERVER_TABS`; `PageTopbar` (Servers/Agent Fleet/Fleet Monitor/Cloud/Config Templates) added to all 5 pages; **sidebar sub-menu removed**. Main Servers page: top bar added ABOVE the ops workspace — **fleet rail / groups / workbar / bulk / pairing fully preserved** (no over-trim). Sub-page headers swapped to PageTopbar (actions kept). **List body restyled** — the existing `.servers-table` (already capable: bulk-select/group/telemetry/actions) got the demo's dense look: mono uppercase headers + thin token-colored gauges (CPU=accent-bright, RAM=cyan, Disk=green). Region/Load columns omitted (mock-only, no backend). **✅ ServerDetail tabs restyled** — header → demo detail-header (surface gradient + accent wash, mono dotsep meta, `Pill` status); overview KPI tiles → spec-card look with thin `Gauge` bars (CPU/RAM/Disk = accent-bright/cyan/green); tab strip → accent underline; data/services/packages tables → dense `sk-dtable` spec (scoped fixes over their shadcn-var partials); docker/cron/cloudflared tabs reskinned; dead blocks dropped. List/ops styles untouched. Deferred: TokenModal internals (shared with list's Add-Server modal), `serverdetail/ServicesTab.jsx` Badge→Pill (shared file), `_server-packages/_server-services.scss` proper token migration. |
| 3 | **WordPress list** | L | Restyle+IA+BE | `pages/WordPress.jsx`, `pages/_wordpress.scss` | DataTable usage | enrich `get_sites` payload (plugins/updates/visits/uptime/server/php/env); optional bulk route | **✅ top-bar migrated (LAST group — sidebar now fully flat)** — shared `WORDPRESS_TABS` (WordPress/Pipeline); `PageTopbar` on WordPress + WordPressProjects; **sidebar sub-menu removed** (Import/Create actions kept; Pipeline tab now always-visible, was wpInstalled-gated). **List body restyled** — the `.wp-site-card` grid is now a dense `.sk-dtable` (Site tile / Environments / Version / Status `Pill` / tag chips / Open-Site + WP-Admin links), with a status `SegControl` (All/Running/Stopped) + the kept tag filter. Omitted SSL/plugins/visits/uptime/server columns (not in `get_sites` — no list backend) per restyle-first. **Follow-up:** multi-select + bulk ops (needs a bulk route or per-site fan-out), list-payload enrichment. |
-| 4 | **WordPress detail (tabbed)** | **XL** | Restyle+IA+BE | `pages/WordPressDetail.jsx` (owns all 14 tabs), `pages/_wordpress.scss`, `_applications.scss` | header env-switcher, FilesDrawer/code-viewer, StatCard/gauge/bar-h | DB largest-tables, OPcache/extensions, uptime response-time + 90d, analytics referrers/devices, posture score |
+| 4 | **WordPress detail (tabbed)** | **XL** | Restyle+IA+BE | `pages/WordPressDetail.jsx` (owns all 14 tabs), `pages/_wordpress.scss`, `_applications.scss` | header env-switcher, FilesDrawer/code-viewer, StatCard/gauge/bar-h | DB largest-tables, OPcache/extensions, uptime response-time + 90d, analytics referrers/devices, posture score | **✅ restyled (FLAT tabs — §6.2 decided 2026-06-11)** — `VALID_TABS`/deep links byte-identical; header → demo site-header (WP tile + status dot, `Pill` + `EnvTag`, mono meta) + **real-data env-switcher** (binds `site.environments`, navigates env ids); all `app-*` overrides scoped under `.wp-detail-page` (**`_applications.scss` untouched** — Applications keeps its look until its own pass); per-tab: KPI strips, `sk-dtable` lists with update chips, hash-chip git feed, retinted REAL recharts, severity chips, `--bg-code` wells, run-row Pills. `HealthDot` fixed (referenced nonexistent `--color-success`); EnvironmentCard staging-mislabeled-DEV fixed. Deferred (§5 gaps): largest-tables, OPcache/extensions, response-time/90d, referrers/devices, posture ScoreGauge, FilesDrawer. |
| 5 | **Docker** | M | Restyle | `pages/Docker.jsx`, `pages/_docker.scss` | KPI tiles | none (strict subset of current) | **✅ pass 1 done** — added `MetricCard` KPI strip (Containers/Images/Volumes/Networks from existing `stats`) atop `dx-main`, restyled status filter → segmented control. KEPT the richer dx- rail/5-tabs/inspector/exec/multi-server. Deferred: per-container accent dot, Projects KPI, logs modal→drawer. |
| 6 | **Database Explorer** | M | Restyle | `pages/Databases.jsx`, `databases/ConsoleTab.jsx`, `SourceTree.jsx`, `ResultsGrid.jsx`, `pages/_databases.scss` | syntax-highlight/gutter editor wrapper | optional "Export as SQL" dump | **✅ pass 1 done** — page already matched the target shell (token-aligned in Phase 0); added engine status-dot glow, green result count, `UTF-8` + `● Connected` status-bar segments. Deferred: syntax-highlight editor + gutter, `+` new-tab pill, ctx-menu Browse-rows/Export-SQL, semantic cell tints. |
| 7 | **File Manager** | M | Restyle+IA | `pages/FileManager.jsx`, `file-manager/FolderTree.jsx`, `PreviewDrawer.jsx`, `ContextMenu.jsx`, `pages/_file-manager.scss` | `file-manager/highlight.js` | cloud/S3 sources = **out of scope** | **✅ top-bar migrated** — shared `FILE_TABS` (Files/FTP Server); `PageTopbar` on both pages (FileManager top bar above its fullscreen browser; FTP header swapped, conditional actions kept); **sidebar sub-menu removed**. **✅ body restyled** — SCSS-only reskin to the demo's flush three-pane `.fmgr` console (toolbar/rail/listing/status joined by 1px borders, mono eyebrow rail groups, demo tree rows, dense sticky-header list, transparent grid cards, mono status bar + crumbs); all capabilities kept (uploads/bulk/type filters/disk mounts/remote targets), zero JSX changes; dead pre-topbar blocks dropped. **✅ FTP body restyled (group complete)** — StatStrip → `MetricCard` KPI strip, users + connections → `.sk-dtable` + `Pill`, mono eyebrows, log viewer on `--bg-code`, icon-font spans → lucide (was rendering literal words). Deferred: render extra config fields the API already returns (`pasv_enable`, `max_clients`…), config-editing form (net-new surface). **Remaining follow-up:** syntax-highlight preview (`file-manager/highlight.js`), TargetPicker → demo env-switch menu (optional). |
@@ -207,7 +207,7 @@ tile there only if desired.
Remaining IA forks (pick before the dependent page starts):
1. ~~**Net-new backend policy**~~ — **decided: restyle-first, stub the rest.**
-2. **WP detail tabs** — keep 14 flat tabs (restyle in place, preserves deep-links) or adopt the Security/Settings **hubs**?
+2. ~~**WP detail tabs**~~ — **decided 2026-06-11: keep 14 flat tabs** (restyled in place, deep-links preserved).
3. **Logs surface** — keep the current bottom-dock `LogsDrawer`, or move to the prototype's right-side drawer?
4. **Dashboard** — keep widget show/hide/reorder (`useDashboardLayout`) or the prototype's fixed 3-band layout?
5. **Marketplace** — keep the plugin-install-from-source UI (URL/folder/zip) as a secondary surface (recommended) or drop it?