From 56181a250d4630922a11d1d75391daf503ff5bdb Mon Sep 17 00:00:00 2001 From: stanislavh Date: Mon, 5 Dec 2022 15:20:09 +0100 Subject: [PATCH] SONAR-13743 BitbucketServer show full repository name --- .../project/BitbucketProjectAccordion.tsx | 6 ++---- .../BitbucketProjectAccordion-test.tsx.snap | 18 ++++++------------ 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/create/project/BitbucketProjectAccordion.tsx b/server/sonar-web/src/main/js/apps/create/project/BitbucketProjectAccordion.tsx index ebf4240cb8c..790df910114 100644 --- a/server/sonar-web/src/main/js/apps/create/project/BitbucketProjectAccordion.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/BitbucketProjectAccordion.tsx @@ -108,7 +108,7 @@ export default function BitbucketProjectAccordion(props: BitbucketProjectAccordi >
-
+
{repo.name} @@ -129,9 +129,7 @@ export default function BitbucketProjectAccordion(props: BitbucketProjectAccordi onCheck={() => props.onSelectRepository(repo)} value={String(repo.id)} > - - {repo.name} - + {repo.name} ) )} diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/BitbucketProjectAccordion-test.tsx.snap b/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/BitbucketProjectAccordion-test.tsx.snap index 65186535bcb..5c21a64e4e9 100644 --- a/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/BitbucketProjectAccordion-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/BitbucketProjectAccordion-test.tsx.snap @@ -35,7 +35,6 @@ exports[`should render correctly: default 1`] = ` value="1" > Repo @@ -54,7 +53,7 @@ exports[`should render correctly: default 1`] = ` className="overflow-hidden" >
Repo @@ -121,7 +119,7 @@ exports[`should render correctly: disable options 1`] = ` className="overflow-hidden" >
Repo @@ -188,7 +185,7 @@ exports[`should render correctly: no click handler 1`] = ` className="overflow-hidden" >
Repo @@ -255,7 +251,7 @@ exports[`should render correctly: no project info 1`] = ` className="overflow-hidden" >
Repo @@ -362,7 +357,7 @@ exports[`should render correctly: not showing all repos 1`] = ` className="overflow-hidden" >
Repo @@ -434,7 +428,7 @@ exports[`should render correctly: selected repo 1`] = ` className="overflow-hidden" >