From 3059df40141da5e9a569c8396bb053a98c9716e5 Mon Sep 17 00:00:00 2001 From: decolua Date: Thu, 26 Mar 2026 10:48:53 +0700 Subject: [PATCH] chore: - Adjust opacity settings for ConnectionRow to improve user experience. --- package.json | 2 +- src/app/(dashboard)/dashboard/combos/page.js | 43 ++++++++++--------- .../dashboard/providers/[id]/page.js | 2 +- src/shared/components/Sidebar.js | 2 +- 4 files changed, 25 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index 25236e9..fe034c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "9router-app", - "version": "0.3.60", + "version": "0.3.61", "description": "9Router web dashboard", "private": true, "scripts": { diff --git a/src/app/(dashboard)/dashboard/combos/page.js b/src/app/(dashboard)/dashboard/combos/page.js index 0a07a8a..de8144d 100644 --- a/src/app/(dashboard)/dashboard/combos/page.js +++ b/src/app/(dashboard)/dashboard/combos/page.js @@ -201,18 +201,7 @@ function ComboCard({ combo, copied, onCopy, onEdit, onDelete, roundRobinEnabled, layers
-
- {combo.name} - -
+ {combo.name}
{combo.models.length === 0 ? ( No models @@ -231,9 +220,9 @@ function ComboCard({ combo, copied, onCopy, onEdit, onDelete, roundRobinEnabled,
{/* Actions */} -
- {/* Round Robin Toggle */} -
+
+ {/* Round Robin Toggle — always visible */} +
Round Robin
- -
+ +
+
diff --git a/src/app/(dashboard)/dashboard/providers/[id]/page.js b/src/app/(dashboard)/dashboard/providers/[id]/page.js index 58eb96c..00f45ed 100644 --- a/src/app/(dashboard)/dashboard/providers/[id]/page.js +++ b/src/app/(dashboard)/dashboard/providers/[id]/page.js @@ -1530,7 +1530,7 @@ function ConnectionRow({ connection, proxyPools, isOAuth, isFirst, isLast, onMov
-
+
{/* Proxy button with inline dropdown */} {(proxyPools || []).length > 0 && (
diff --git a/src/shared/components/Sidebar.js b/src/shared/components/Sidebar.js index 67c4195..8e5f9c7 100644 --- a/src/shared/components/Sidebar.js +++ b/src/shared/components/Sidebar.js @@ -12,7 +12,6 @@ import { ConfirmModal } from "./Modal"; const navItems = [ { href: "/dashboard/endpoint", label: "Endpoint", icon: "api" }, { href: "/dashboard/providers", label: "Providers", icon: "dns" }, - { href: "/dashboard/proxy-pools", label: "Proxy Pools", icon: "lan" }, // { href: "/dashboard/basic-chat", label: "Basic Chat", icon: "chat" }, // Hidden { href: "/dashboard/combos", label: "Combos", icon: "layers" }, { href: "/dashboard/usage", label: "Usage", icon: "bar_chart" }, @@ -26,6 +25,7 @@ const debugItems = [ ]; const systemItems = [ + { href: "/dashboard/proxy-pools", label: "Proxy Pools", icon: "lan" }, { href: "/dashboard/profile", label: "Settings", icon: "settings" }, ];