fix(dashboard,api): minor improvement for integrations and notifications

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-10-03 20:48:37 +02:00
parent 4329960bd9
commit f450a2871b
8 changed files with 47 additions and 30 deletions

View File

@@ -70,6 +70,7 @@ export function DiscordIntegrationForm({
>
<InputWithLabel
label="Name"
placeholder="Eg. My personal discord"
{...form.register('name')}
error={form.formState.errors.name?.message}
/>

View File

@@ -54,6 +54,7 @@ export function SlackIntegrationForm({
>
<InputWithLabel
label="Name"
placeholder="Eg. My personal slack"
{...form.register('name')}
error={form.formState.errors.name?.message}
/>

View File

@@ -59,6 +59,7 @@ export function WebhookIntegrationForm({
>
<InputWithLabel
label="Name"
placeholder="Eg. Zapier webhook"
{...form.register('name')}
error={form.formState.errors.name?.message}
/>

View File

@@ -1,4 +1,4 @@
import type { IIntegrationConfig } from '@openpanel/db';
import type { IIntegrationConfig } from '@openpanel/validation';
import { WebhookIcon } from 'lucide-react';
import {
IntegrationCardLogo,