diff options
author | stanislavh <stanislav.honcharov@sonarsource.com> | 2022-12-05 15:20:09 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-12-06 20:02:53 +0000 |
commit | 56181a250d4630922a11d1d75391daf503ff5bdb (patch) | |
tree | f96b0815e85e9d39abbb8dfe7b48b4a117a72c85 | |
parent | ae95d2793d34cf8c1b74b0ea6dc0a0587157f34c (diff) | |
download | sonarqube-56181a250d4630922a11d1d75391daf503ff5bdb.tar.gz sonarqube-56181a250d4630922a11d1d75391daf503ff5bdb.zip |
SONAR-13743 BitbucketServer show full repository
name
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 > <CheckIcon className="spacer-right" fill={colors.green} size={14} /> <div className="overflow-hidden"> - <div className="little-spacer-bottom text-ellipsis"> + <div className="little-spacer-bottom"> <strong title={repo.name}> <Link to={getProjectUrl(repo.sqProjectKey)}>{repo.name}</Link> </strong> @@ -129,9 +129,7 @@ export default function BitbucketProjectAccordion(props: BitbucketProjectAccordi onCheck={() => props.onSelectRepository(repo)} value={String(repo.id)} > - <strong className="text-ellipsis" title={repo.name}> - {repo.name} - </strong> + <strong title={repo.name}>{repo.name}</strong> </Radio> ) )} 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" > <strong - className="text-ellipsis" title="Repo" > Repo @@ -54,7 +53,7 @@ exports[`should render correctly: default 1`] = ` className="overflow-hidden" > <div - className="little-spacer-bottom text-ellipsis" + className="little-spacer-bottom" > <strong title="Bar" @@ -102,7 +101,6 @@ exports[`should render correctly: disable options 1`] = ` value="1" > <strong - className="text-ellipsis" title="Repo" > Repo @@ -121,7 +119,7 @@ exports[`should render correctly: disable options 1`] = ` className="overflow-hidden" > <div - className="little-spacer-bottom text-ellipsis" + className="little-spacer-bottom" > <strong title="Bar" @@ -169,7 +167,6 @@ exports[`should render correctly: no click handler 1`] = ` value="1" > <strong - className="text-ellipsis" title="Repo" > Repo @@ -188,7 +185,7 @@ exports[`should render correctly: no click handler 1`] = ` className="overflow-hidden" > <div - className="little-spacer-bottom text-ellipsis" + className="little-spacer-bottom" > <strong title="Bar" @@ -236,7 +233,6 @@ exports[`should render correctly: no project info 1`] = ` value="1" > <strong - className="text-ellipsis" title="Repo" > Repo @@ -255,7 +251,7 @@ exports[`should render correctly: no project info 1`] = ` className="overflow-hidden" > <div - className="little-spacer-bottom text-ellipsis" + className="little-spacer-bottom" > <strong title="Bar" @@ -343,7 +339,6 @@ exports[`should render correctly: not showing all repos 1`] = ` value="1" > <strong - className="text-ellipsis" title="Repo" > Repo @@ -362,7 +357,7 @@ exports[`should render correctly: not showing all repos 1`] = ` className="overflow-hidden" > <div - className="little-spacer-bottom text-ellipsis" + className="little-spacer-bottom" > <strong title="Bar" @@ -415,7 +410,6 @@ exports[`should render correctly: selected repo 1`] = ` value="1" > <strong - className="text-ellipsis" title="Repo" > Repo @@ -434,7 +428,7 @@ exports[`should render correctly: selected repo 1`] = ` className="overflow-hidden" > <div - className="little-spacer-bottom text-ellipsis" + className="little-spacer-bottom" > <strong title="Bar" |