From f6445f37ea100608de8c246011c6bc2364202a24 Mon Sep 17 00:00:00 2001 From: Lucas Bracher Date: Tue, 10 Sep 2024 09:21:27 -0300 Subject: [PATCH] feat(dashboard): summary cards Changed Summary Cards on Build, Boot and Test tabs. Closes #251 --- dashboard/src/pages/TreeDetails/Tabs/TestCards.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/src/pages/TreeDetails/Tabs/TestCards.tsx b/dashboard/src/pages/TreeDetails/Tabs/TestCards.tsx index d9074c6..508930f 100644 --- a/dashboard/src/pages/TreeDetails/Tabs/TestCards.tsx +++ b/dashboard/src/pages/TreeDetails/Tabs/TestCards.tsx @@ -6,7 +6,7 @@ import { DumbListingContent } from '@/components/ListingContent/ListingContent'; import BaseCard, { IBaseCard } from '@/components/Cards/BaseCard'; import ListingItem from '@/components/ListingItem/ListingItem'; import { TTreeTestsData } from '@/types/tree/TreeDetails'; -import { TestStatus } from '@/components/Status/Status'; +import { TestStatus, GroupedTestStatus } from '@/components/Status/Status'; import { DumbSummary, SummaryItem } from '@/components/Summary/Summary'; import StatusChartMemoized, { @@ -144,6 +144,7 @@ const ErrorsSummary = ({ {Object.keys(architectureStatusCounts).map(architecture => { const statusCounts = architectureStatusCounts[architecture]; const currentCompilers = compilersPerArchitecture[architecture]; + return (