diff --git a/components/dashboard/src/components/RepositoryFinder.tsx b/components/dashboard/src/components/RepositoryFinder.tsx
index 3827e303250e3a..bac47e1af3ad38 100644
--- a/components/dashboard/src/components/RepositoryFinder.tsx
+++ b/components/dashboard/src/components/RepositoryFinder.tsx
@@ -24,6 +24,7 @@ import { PREDEFINED_REPOS } from "../data/git-providers/predefined-repos";
import { useConfiguration, useListConfigurations } from "../data/configurations/configuration-queries";
import { useUserLoader } from "../hooks/use-user-loader";
import { conjunctScmProviders, getDeduplicatedScmProviders } from "../utils";
+import { cn } from "@podkit/lib/cn";
const isPredefined = (repo: SuggestedRepository): boolean => {
return PREDEFINED_REPOS.some((predefined) => predefined.url === repo.url) && !repo.configurationId;
@@ -169,9 +170,9 @@ export default function RepositoryFinder({
return (
-
+
{repo.repoName}
-
+
Repo missing? Try refining your search.
+
Repo missing? Try refining your search.
),
isSelectable: false,
});
@@ -328,7 +329,7 @@ export default function RepositoryFinder({
result.push({
id: "bitbucket-server",
element: (
-
+
Bitbucket Server only supports searching by prefix.
@@ -347,7 +348,7 @@ export default function RepositoryFinder({
result.push({
id: "gitlab",
element: (
-
+
Search text is < 3 characters. GitLab will only show exact matches for short
@@ -371,7 +372,7 @@ export default function RepositoryFinder({
result.push({
id: "whole-path-matching-unsupported",
element: (
-
+
{usedProviders
@@ -390,7 +391,7 @@ export default function RepositoryFinder({
result.push({
id: "azure-devops",
element: (
-
+
Azure DevOps doesn't support repository searching.
@@ -453,18 +454,20 @@ const SuggestedRepositoryOption: FC
= ({ repo })
aria-label={`${repo.configurationId ? "Project" : "Repo"}: ${repo.url}`}
>
-
+
{name && (
<>
{name}
-
+
>
)}
{repoPath}