From 394312bdbf57bdcd7bd9faacd2560900ad0596af Mon Sep 17 00:00:00 2001 From: Hearaman Date: Tue, 5 Nov 2024 16:10:52 +0530 Subject: [PATCH 1/2] Clicking the QualityBadge Chip opens a sonarqube page in the next tab Signed-off-by: Hearaman --- .../sonarqube/src/components/SonarQubeCard/MetricInsights.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/workspaces/sonarqube/plugins/sonarqube/src/components/SonarQubeCard/MetricInsights.tsx b/workspaces/sonarqube/plugins/sonarqube/src/components/SonarQubeCard/MetricInsights.tsx index aeb1004743..5fc98cbf91 100644 --- a/workspaces/sonarqube/plugins/sonarqube/src/components/SonarQubeCard/MetricInsights.tsx +++ b/workspaces/sonarqube/plugins/sonarqube/src/components/SonarQubeCard/MetricInsights.tsx @@ -71,6 +71,7 @@ export const QualityBadge = (props: MetricInsightsProps) => { component: 'a', href: value.projectUrl, clickable: true, + target: '__blank', }; } const qualityBadge = ( From fa76733d1b58b3e47d647fe47823ef4404fca66a Mon Sep 17 00:00:00 2001 From: Hearaman Date: Tue, 5 Nov 2024 18:05:15 +0530 Subject: [PATCH 2/2] Update MetricInsights.tsx Signed-off-by: Hearaman --- .../sonarqube/src/components/SonarQubeCard/MetricInsights.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspaces/sonarqube/plugins/sonarqube/src/components/SonarQubeCard/MetricInsights.tsx b/workspaces/sonarqube/plugins/sonarqube/src/components/SonarQubeCard/MetricInsights.tsx index 5fc98cbf91..5777a61995 100644 --- a/workspaces/sonarqube/plugins/sonarqube/src/components/SonarQubeCard/MetricInsights.tsx +++ b/workspaces/sonarqube/plugins/sonarqube/src/components/SonarQubeCard/MetricInsights.tsx @@ -71,7 +71,7 @@ export const QualityBadge = (props: MetricInsightsProps) => { component: 'a', href: value.projectUrl, clickable: true, - target: '__blank', + target: '_blank', }; } const qualityBadge = (