From 86d2bafd729914d93e7ed21544679d43e518193f Mon Sep 17 00:00:00 2001 From: edwardysun Date: Thu, 22 Aug 2024 23:42:58 +0000 Subject: [PATCH] Remove Coming Soon on Pay webhooks dashboard event type (#4254) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Problem solved Removes "Coming Soon" badge - confusing UI --- ## PR-Codex overview This PR removes the `Badge` component from the `CreateWebhookButton` in `webhooks.client.tsx`. ### Detailed summary - Removed the `Badge` component from the form field in the `CreateWebhookButton`. - Updated the `FormLabel` to remove the "Coming Soon" text. - Adjusted the `Select` component with a default value and placeholder. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- .../dashboard/connect/pay/components/webhooks.client.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/components/webhooks.client.tsx b/apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/components/webhooks.client.tsx index eec295109bb..70eb76af1e6 100644 --- a/apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/components/webhooks.client.tsx +++ b/apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/components/webhooks.client.tsx @@ -1,6 +1,5 @@ import { CopyTextButton } from "@/components/ui/CopyTextButton"; import { Spinner } from "@/components/ui/Spinner/Spinner"; -import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Dialog, @@ -247,9 +246,7 @@ function CreateWebhookButton(props: PropsWithChildren) { {/* Note: this is a "fake" form field since there is nothing to select yet */} - - Event Type Coming Soon - + Event Type