Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
update onboarding form (#1558)
Thibault Le Ouay5ff5b5422dc9
diff --git a/apps/dashboard/src/app/(dashboard)/onboarding/client.tsx b/apps/dashboard/src/app/(dashboard)/onboarding/client.tsxindex 264fb53f9..56abab422 100644--- a/apps/dashboard/src/app/(dashboard)/onboarding/client.tsx+++ b/apps/dashboard/src/app/(dashboard)/onboarding/client.tsx@@ -234,14 +234,14 @@ export function Client() {<Section><SectionHeader className="h-8 flex-row items-center justify-between"><SectionDescription>- We'd love to know how you heard about us. This will help us- improve our product and services.+ We'd love to know what you are looking for with openstatus.+ This will help us improve our product and services.</SectionDescription></SectionHeader><LearnFromFormonSubmit={async (values) => {await createFeedbackMutation.mutateAsync({- message: `I learned about OpenStatus from *${values.from}${+ message: `I want to use OpenStatus for *${values.from}${values.other ? `: ${values.other || "others"}` : ""}*`,});diff --git a/apps/dashboard/src/components/forms/onboarding/learn-from.tsx b/apps/dashboard/src/components/forms/onboarding/learn-from.tsxindex f7275f06f..2d3b664a7 100644--- a/apps/dashboard/src/components/forms/onboarding/learn-from.tsx+++ b/apps/dashboard/src/components/forms/onboarding/learn-from.tsx@@ -20,38 +20,18 @@ import { useForm } from "react-hook-form";import { toast } from "sonner";import { z } from "zod";-const learnedFrom = [+const wantFrom = [{- id: "twitter",- title: "Twitter / X",+ id: "statuspage",+ title: "Status Page",},{- id: "bsky",- title: "Bluesky",+ id: "uptime-monitoring",+ title: "Uptime Monitoring",},{- id: "linkedin",- title: "LinkedIn",- },- {- id: "reddit",- title: "Reddit",- },- {- id: "github",- title: "GitHub",- },- {- id: "friends",- title: "Friends or Colleagues",- },- {- id: "seo",- title: "Search Engine (Google, Bing, etc.)",- },- {- id: "newsletter",- title: "Blog post or Newsletter",+ id: "both",+ title: "Both",},{id: "other",@@ -130,7 +110,7 @@ export function LearnFromForm({defaultValue={field.value}className="grid grid-cols-1 gap-4 sm:grid-cols-2">- {learnedFrom.map((item) => (+ {wantFrom.map((item) => (<FormItem key={item.id} className="flex items-center gap-3"><FormControl><RadioGroupItem value={item.id} id={item.id} />