From 997a8395b130411b4319652464f172f7632b06ab Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Tue, 2 Jul 2024 00:11:40 -0600 Subject: [PATCH] feat: add button to view github app --- components/dashboard/project/add-template.tsx | 2 +- .../settings/github/github-setup.tsx | 12 +++++++++- .../settings/github/remove-github-app.tsx | 22 ++++++++++++++++++- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/components/dashboard/project/add-template.tsx b/components/dashboard/project/add-template.tsx index 9e0fc0857..80774207e 100644 --- a/components/dashboard/project/add-template.tsx +++ b/components/dashboard/project/add-template.tsx @@ -54,7 +54,7 @@ export const AddTemplate = ({ projectId }: Props) => { -
+
Create Template diff --git a/components/dashboard/settings/github/github-setup.tsx b/components/dashboard/settings/github/github-setup.tsx index 0119ebfe2..2b20fa872 100644 --- a/components/dashboard/settings/github/github-setup.tsx +++ b/components/dashboard/settings/github/github-setup.tsx @@ -93,8 +93,18 @@ export const GithubSetup = () => {
-
+
+ + Manage Github App +
) : ( diff --git a/components/dashboard/settings/github/remove-github-app.tsx b/components/dashboard/settings/github/remove-github-app.tsx index ec1aa538c..8ab7ea790 100644 --- a/components/dashboard/settings/github/remove-github-app.tsx +++ b/components/dashboard/settings/github/remove-github-app.tsx @@ -13,6 +13,13 @@ import { } from "@/components/ui/alert-dialog"; import { Button } from "@/components/ui/button"; import { toast } from "sonner"; +import { + Tooltip, + TooltipContent, + TooltipTrigger, + TooltipProvider, +} from "@/components/ui/tooltip"; +import { InfoIcon } from "lucide-react"; export const RemoveGithubApp = () => { const { refetch } = api.auth.get.useQuery(); @@ -22,7 +29,20 @@ export const RemoveGithubApp = () => { return ( - +