From 39e82f26c40f86a40938510f5c25da84e66926b8 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Wed, 10 Sep 2025 19:27:47 +0000 Subject: [PATCH] fix: make global default thresholds section always visible (addresses #433) The collapsible chevron icon was confusing users who didn't realize they needed to expand the section to see the alert delay and threshold settings. Now the global defaults are always visible. --- .../src/components/Alerts/ThresholdsTable.tsx | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx index 5c4846bce..fd9b80c6c 100644 --- a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx +++ b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx @@ -59,7 +59,6 @@ interface ThresholdsTableProps { export function ThresholdsTable(props: ThresholdsTableProps) { const [searchTerm, setSearchTerm] = createSignal(''); - const [showGlobalSettings, setShowGlobalSettings] = createSignal(false); const [editingId, setEditingId] = createSignal(null); const [editingThresholds, setEditingThresholds] = createSignal>({}); @@ -582,28 +581,16 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
{/* Global Settings Section */}
-
setShowGlobalSettings(!showGlobalSettings())} - > +

Global Default Thresholds

Default thresholds that apply to all resources unless overridden

- - -
- -
+
{/* Threshold table */}

@@ -859,7 +846,6 @@ export function ThresholdsTable(props: ThresholdsTableProps) {

-
{/* Search Bar */}