From ee0f731d3fe8f69009f370e7a49202a115d2ba22 Mon Sep 17 00:00:00 2001 From: Ryuz Date: Sun, 25 Oct 2026 11:56:49 +0100 Subject: [PATCH 1/3] Console polish: reference look, unified cards, daisyUI throughout Feedback 1 (rail overflow): status dots are now the status component inside indicator-item, pinned INSIDE the 44px tile bounds via .rail-dot (--indicator-x/y 0, 6px insets) instead of hanging off the corner; the app list scrolls vertically with overflow-x hidden and side padding. Feedback 2 (unified cards): one card style everywhere (card card-border bg-base-100, radius-box hairline, no shadow). --depth: 0 kills daisyUI's built-in shadows; removed every shadow-* class. Feedback 3 (Account section): removed from the app sidebar; Invite codes and Admin stay in the account dropdown only. Feedback 4 (reference gap): light-gray canvas with 8px gaps; white sidebar + main panels (radius 1.5rem, hairline, internal scroll, page never scrolls); rail transparent and flush left (8px 8px 8px 0 inset, 0 left margin); sidebar header (semibold name, muted URL, status badge-soft + status dot, collapse top-right); soft-gray menu-active; neutral-count + soft-Soon badges. Feedback 5 (daisyUI for real): status/indicator/avatar/menu/card/stats/ stat/list/list-row/table/join/tabs-box/btn/drawer/dropdown/tooltip/ skeleton/alert/collapse/badge/kbd/divider/loading all daisyUI; deleted the tints, the stats strip, custom rows. console.css 454 -> 469 lines; what stays custom: theme blocks, shell grid, rail-tile frame + dot inset, charts, log viewer, skip link, boot/empty shells, with reasons in the file header. Feedback 6 (expand left): PanelLeftOpen button at the far left of the main header when collapsed; state persists in localStorage. Feedback 7 (flush rail): no card background, no border, flush left. Feedback 8 (usability): shared EmptyState (icon/title/action, plain variant inside cards); Retry on every error alert; copy buttons swap to check + Copied tooltip; stat values medium weight; legend uses status dots; hamburger opens a drawer on phones; dark theme matches. Verified: Playwright vs real router + seeded absurd data, screenshots in /tmp/outer-console-v4-*.png, no doc h-scroll, no box outside its panel, zero CSP/console errors. cargo fmt/clippy/test green. --- web/pages/console/_islands/common.tsx | 5 +- web/pages/console/_islands/console.tsx | 166 ++++++------ web/pages/console/_islands/icons.tsx | 6 +- web/pages/console/_islands/views.tsx | 355 ++++++++++++++++--------- web/pages/console/console.css | 143 +++++----- 5 files changed, 397 insertions(+), 278 deletions(-) diff --git a/web/pages/console/_islands/common.tsx b/web/pages/console/_islands/common.tsx index 3ad1656..3c089af 100644 --- a/web/pages/console/_islands/common.tsx +++ b/web/pages/console/_islands/common.tsx @@ -110,8 +110,9 @@ export function CopyButton({ value, label }: { value: string; label: string }) { return ( {ui().createOpen && ( -