Skip to content

Commit

Permalink
feat(ui): added a provider documentation icon (#539)
Browse files Browse the repository at this point in the history
Co-authored-by: talboren <[email protected]>
  • Loading branch information
TakshPanchal and talboren authored Nov 23, 2023
1 parent b598fa6 commit 295f725
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions keep-ui/app/providers/provider-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ import {
ArrowTopRightOnSquareIcon,
ArrowDownOnSquareIcon,
GlobeAltIcon,
DocumentTextIcon,
} from "@heroicons/react/24/outline";
import { installWebhook } from "../../utils/helpers";
import { ProviderSemiAutomated } from "./provider-semi-automated";
import ProviderFormScopes from "./provider-form-scopes";
import Link from 'next/link'



type ProviderFormProps = {
provider: Provider;
Expand Down Expand Up @@ -305,10 +309,22 @@ const ProviderForm = ({
return (
<div className="flex flex-col h-full justify-between p-5">
<div>
<div className="flex flex-row">
<Title>
Connect to{" "}
{provider.type.charAt(0).toLocaleUpperCase() + provider.type.slice(1)}
</Title>
<Link href={`http://docs.keephq.dev/providers/documentation/${provider.type}-provider`} target="_blank">
<Icon
icon={DocumentTextIcon}
variant="simple"
color="gray"
size="sm"
tooltip={`${provider.type} provider documentation`}
/>
</Link>
</div>

{provider.provider_description && (
<Subtitle>{provider.provider_description}</Subtitle>
)}
Expand Down

1 comment on commit 295f725

@vercel
Copy link

@vercel vercel bot commented on 295f725 Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

keep – ./

keep-keephq.vercel.app
keep-eight.vercel.app
keep-git-main-keephq.vercel.app
platform.keephq.dev

Please sign in to comment.