From 09e0d309dca59ce11d5f964ed1fcd54c0ec36bcf Mon Sep 17 00:00:00 2001 From: Alexander Petric Date: Wed, 16 Oct 2024 10:26:07 -0400 Subject: [PATCH] fix(ui): dark mode support for queue metrics based critical alert (#4535) --- .../lib/components/QueueMetricsDrawer.svelte | 66 ++++++++----------- 1 file changed, 28 insertions(+), 38 deletions(-) diff --git a/frontend/src/lib/components/QueueMetricsDrawer.svelte b/frontend/src/lib/components/QueueMetricsDrawer.svelte index 677f53ea63..92e9faf4b1 100644 --- a/frontend/src/lib/components/QueueMetricsDrawer.svelte +++ b/frontend/src/lib/components/QueueMetricsDrawer.svelte @@ -215,7 +215,7 @@
- + {#each alerts as alert, index}
Name @@ -251,8 +251,9 @@
{#if editingIndex === index} @@ -265,12 +266,14 @@ {#if editingIndex === index}
{#each alert.tags_to_monitor as tag} - + {tag} x {/each} @@ -290,17 +293,23 @@ {#if filteredTags.length > 0} -
    +
      {#each filteredTags as tag}
    • - addTag(index, tag)} > + {tag} +
    • {/each}
    @@ -308,7 +317,8 @@ {:else}
    {#each alert.tags_to_monitor as tag} - {tag} {/each} @@ -380,9 +390,14 @@
    {:else} -

    - Queue Metric Alerts are an enterprise feature allowing you to monitor queues for waiting jobs. Please upgrade to access this functionality. - Learn more about our plans. +

    + Queue Metric Alerts are an enterprise feature allowing you to monitor queues for waiting + jobs. Please upgrade to access this functionality. + Learn more about our plans.

    {/if} @@ -391,28 +406,3 @@
- - \ No newline at end of file