]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13743 BitbucketServer show full repository
authorstanislavh <stanislav.honcharov@sonarsource.com>
Mon, 5 Dec 2022 14:20:09 +0000 (15:20 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 6 Dec 2022 20:02:53 +0000 (20:02 +0000)
name

server/sonar-web/src/main/js/apps/create/project/BitbucketProjectAccordion.tsx
server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/BitbucketProjectAccordion-test.tsx.snap

index ebf4240cb8c12ec4fb9c9da4e060263f1c500071..790df91011409f7e4e1e30e5cc0129bfad62a0dc 100644 (file)
@@ -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>
               )
             )}
index 65186535bcb5bc283b1466e074129a21a545ca60..5c21a64e4e934b6e6cf67cec2048df434b416b9c 100644 (file)
@@ -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"