From 802e72275499a78b01f57f9ae60bb5df52078ed0 Mon Sep 17 00:00:00 2001 From: Ambroise C Date: Thu, 7 Dec 2023 17:09:43 +0100 Subject: [PATCH] SONAR-20982 Align display of issue's data/execution flows with SC --- .../src/components/ExecutionFlowAccordion.tsx | 6 +- .../js/apps/issues/__tests__/IssueApp-it.tsx | 4 +- .../IssueItemLocationsQuantity.tsx | 8 +- .../IssueLocationsNavigator.tsx | 86 ++++++++++++------- .../resources/org/sonar/l10n/core.properties | 5 +- 5 files changed, 69 insertions(+), 40 deletions(-) diff --git a/server/sonar-web/design-system/src/components/ExecutionFlowAccordion.tsx b/server/sonar-web/design-system/src/components/ExecutionFlowAccordion.tsx index 73ca6d46a08..e324b4dd558 100644 --- a/server/sonar-web/design-system/src/components/ExecutionFlowAccordion.tsx +++ b/server/sonar-web/design-system/src/components/ExecutionFlowAccordion.tsx @@ -29,19 +29,21 @@ interface Props { children: ReactNode; expanded?: boolean; header: ReactNode; + hidden?: boolean; id: string; innerRef?: (node: HTMLDivElement) => void; onClick?: () => void; } export function ExecutionFlowAccordion(props: Props) { - const { children, expanded, header, id, innerRef, onClick } = props; + const { children, expanded, header, hidden, id, innerRef, onClick } = props; return ( - +