mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: improve github app validation
This commit is contained in:
@@ -107,7 +107,24 @@ export const AddGithubProvider = () => {
|
|||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div className="flex w-full justify-end">
|
<div className="flex w-full items-center justify-between">
|
||||||
|
<a
|
||||||
|
href={
|
||||||
|
isOrganization && organizationName
|
||||||
|
? `https://github.com/organizations/${organizationName}/settings/installations`
|
||||||
|
: "https://github.com/settings/installations"
|
||||||
|
}
|
||||||
|
className={`text-muted-foreground text-sm hover:underline duration-300
|
||||||
|
${
|
||||||
|
isOrganization && !organizationName
|
||||||
|
? "pointer-events-none opacity-50"
|
||||||
|
: ""
|
||||||
|
}`}
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
Unsure if you already have an app?
|
||||||
|
</a>
|
||||||
<Button
|
<Button
|
||||||
disabled={isOrganization && organizationName.length < 1}
|
disabled={isOrganization && organizationName.length < 1}
|
||||||
type="submit"
|
type="submit"
|
||||||
|
|||||||
@@ -881,8 +881,8 @@ export const templates: TemplateData[] = [
|
|||||||
},
|
},
|
||||||
tags: ["forum", "community", "discussion"],
|
tags: ["forum", "community", "discussion"],
|
||||||
load: () => import("./discourse/index").then((m) => m.generate),
|
load: () => import("./discourse/index").then((m) => m.generate),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "immich",
|
id: "immich",
|
||||||
name: "Immich",
|
name: "Immich",
|
||||||
version: "v1.121.0",
|
version: "v1.121.0",
|
||||||
@@ -896,8 +896,8 @@ export const templates: TemplateData[] = [
|
|||||||
},
|
},
|
||||||
tags: ["photos", "videos", "backup", "media"],
|
tags: ["photos", "videos", "backup", "media"],
|
||||||
load: () => import("./immich/index").then((m) => m.generate),
|
load: () => import("./immich/index").then((m) => m.generate),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "twenty",
|
id: "twenty",
|
||||||
name: "Twenty CRM",
|
name: "Twenty CRM",
|
||||||
version: "latest",
|
version: "latest",
|
||||||
@@ -911,8 +911,8 @@ export const templates: TemplateData[] = [
|
|||||||
},
|
},
|
||||||
tags: ["crm", "sales", "business"],
|
tags: ["crm", "sales", "business"],
|
||||||
load: () => import("./twenty/index").then((m) => m.generate),
|
load: () => import("./twenty/index").then((m) => m.generate),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "yourls",
|
id: "yourls",
|
||||||
name: "YOURLS",
|
name: "YOURLS",
|
||||||
version: "1.9.2",
|
version: "1.9.2",
|
||||||
@@ -926,8 +926,8 @@ export const templates: TemplateData[] = [
|
|||||||
},
|
},
|
||||||
tags: ["url-shortener", "php"],
|
tags: ["url-shortener", "php"],
|
||||||
load: () => import("./yourls/index").then((m) => m.generate),
|
load: () => import("./yourls/index").then((m) => m.generate),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "ryot",
|
id: "ryot",
|
||||||
name: "Ryot",
|
name: "Ryot",
|
||||||
version: "v7.10",
|
version: "v7.10",
|
||||||
|
|||||||
Reference in New Issue
Block a user