From 62064f136df0cdf6dbe604622102110a344e3a5c Mon Sep 17 00:00:00 2001 From: SagarRajput-7 <162284829+SagarRajput-7@users.noreply.github.com> Date: Wed, 5 Feb 2025 14:56:31 +0530 Subject: [PATCH] feat: corrected the color map for error % and added throughput unit (#7030) --- .../CeleryOverviewTable/CeleryOverviewTable.tsx | 2 +- .../CeleryOverviewDetail/OverviewRightPanelGraph.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/CeleryOverview/CeleryOverviewTable/CeleryOverviewTable.tsx b/frontend/src/components/CeleryOverview/CeleryOverviewTable/CeleryOverviewTable.tsx index 0b442ffeb5..4be6d7a6e9 100644 --- a/frontend/src/components/CeleryOverview/CeleryOverviewTable/CeleryOverviewTable.tsx +++ b/frontend/src/components/CeleryOverview/CeleryOverviewTable/CeleryOverviewTable.tsx @@ -244,7 +244,7 @@ function getColumns(data: RowData[]): TableColumnsType { }, }, { - title: 'THROUGHPUT', + title: 'THROUGHPUT (ops/s)', dataIndex: 'throughput', key: 'throughput', ellipsis: { diff --git a/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/OverviewRightPanelGraph.tsx b/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/OverviewRightPanelGraph.tsx index 71610cb6f0..20b6b49388 100644 --- a/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/OverviewRightPanelGraph.tsx +++ b/frontend/src/pages/Celery/CeleryOverview/CeleryOverviewDetail/OverviewRightPanelGraph.tsx @@ -116,8 +116,8 @@ export default function OverviewRightPanelGraph({ isDarkMode: false, drawStyle: 'bars', colorMapping: { - False: Color.BG_CHERRY_500, - True: Color.BG_FOREST_400, + True: Color.BG_CHERRY_500, + False: Color.BG_FOREST_400, None: Color.BG_SLATE_200, 'Request Rate': Color.BG_ROBIN_500, },