From dbf6c0117fed6d1af07870ab2eab8c91ef188cc9 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Tue, 6 Oct 2026 14:30:45 -0500 Subject: [PATCH] chore: split dashboard quick actions into quarters and drop host status row lines --- src/ui/dashboard/dashboard-core-cards.tsx | 74 +++++++++++-------- src/ui/dashboard/quarter-borders.ts | 15 ++++ .../tests/dashboard/quarter-borders.test.ts | 20 +++++ 3 files changed, 78 insertions(+), 31 deletions(-) create mode 100644 src/ui/dashboard/quarter-borders.ts create mode 100644 src/ui/tests/dashboard/quarter-borders.test.ts diff --git a/src/ui/dashboard/dashboard-core-cards.tsx b/src/ui/dashboard/dashboard-core-cards.tsx index 8325cc860..01fedd97f 100644 --- a/src/ui/dashboard/dashboard-core-cards.tsx +++ b/src/ui/dashboard/dashboard-core-cards.tsx @@ -24,6 +24,7 @@ import { import { getDefaultConnectionTab } from "@/lib/host-connection-tabs"; import type { RecentActivityItem } from "@/main-axios"; import type { Host, TabType } from "@/types/ui-types"; +import { quarterBorders } from "./quarter-borders"; export type VersionStatus = "up_to_date" | "requires_update" | "beta" | "unknown"; @@ -161,17 +162,19 @@ function ActionButton({ label, hint, onClick, + className, }: { icon: React.ElementType; label: string; hint: string; onClick: () => void; + className?: string; }) { return (