aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorstanislavh <stanislav.honcharov@sonarsource.com>2022-12-01 14:38:34 +0100
committersonartech <sonartech@sonarsource.com>2022-12-02 20:03:27 +0000
commit80ec8824953bb4d9830ccde1fc007c51fe431509 (patch)
treeeb8925f32e593ec132b5b5df8a34a1612baf1e8f /server/sonar-web
parent304968eb64f41191ee7b069a8cef098128f8895f (diff)
downloadsonarqube-80ec8824953bb4d9830ccde1fc007c51fe431509.tar.gz
sonarqube-80ec8824953bb4d9830ccde1fc007c51fe431509.zip
[SONAR-14188] Disable text cropping for repository name
in AZDO Onboarding feature
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx5
-rw-r--r--server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AzureProjectAccordion-test.tsx.snap6
2 files changed, 5 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx b/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx
index 32a58c06978..21076234d02 100644
--- a/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx
+++ b/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx
@@ -147,13 +147,12 @@ export default function AzureProjectAccordion(props: AzureProjectAccordionProps)
<Radio
checked={isSelected(repo)}
className="overflow-hidden"
+ alignLabel={true}
disabled={importing}
onCheck={() => props.onSelectRepository(repo)}
value={repo.name}
>
- <span className="text-ellipsis" title={repo.name}>
- {highlight(repo.name, searchQuery)}
- </span>
+ <span title={repo.name}>{highlight(repo.name, searchQuery)}</span>
</Radio>
)}
</div>
diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AzureProjectAccordion-test.tsx.snap b/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AzureProjectAccordion-test.tsx.snap
index c717c261d32..3dbc8f46c8f 100644
--- a/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AzureProjectAccordion-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AzureProjectAccordion-test.tsx.snap
@@ -39,6 +39,7 @@ exports[`should render correctly: importing 1`] = `
key="Azure repo 1"
>
<Radio
+ alignLabel={true}
checked={false}
className="overflow-hidden"
disabled={true}
@@ -46,7 +47,6 @@ exports[`should render correctly: importing 1`] = `
value="Azure repo 1"
>
<span
- className="text-ellipsis"
title="Azure repo 1"
>
Azure repo 1
@@ -115,6 +115,7 @@ exports[`should render correctly: search results 1`] = `
key="this repo is the best"
>
<Radio
+ alignLabel={true}
checked={false}
className="overflow-hidden"
disabled={false}
@@ -122,7 +123,6 @@ exports[`should render correctly: search results 1`] = `
value="this repo is the best"
>
<span
- className="text-ellipsis"
title="this repo is the best"
>
this
@@ -201,6 +201,7 @@ exports[`should render correctly: with repositories 1`] = `
key="Azure repo 1"
>
<Radio
+ alignLabel={true}
checked={false}
className="overflow-hidden"
disabled={false}
@@ -208,7 +209,6 @@ exports[`should render correctly: with repositories 1`] = `
value="Azure repo 1"
>
<span
- className="text-ellipsis"
title="Azure repo 1"
>
Azure repo 1