Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
fix: status-page deployment (#1334)
Maximilian Kaske0d10a1b36ba3
diff --git a/.gitignore b/.gitignoreindex fe9bfebab..44ffb180e 100644--- a/.gitignore+++ b/.gitignore@@ -28,6 +28,7 @@ yarn-error.log*.env.development.local.env.test.local.env.production.local+.env*.local# turbo.turbo@@ -66,4 +67,3 @@ openstatus-dev.db-shmapps/ingest-worker/.production.varsapps/ingest-worker/.dev.varsapps/alerting-engine/tmp/-.env*.localdiff --git a/apps/status-page/package.json b/apps/status-page/package.jsonindex 830b83547..1039132f0 100644--- a/apps/status-page/package.json+++ b/apps/status-page/package.json@@ -10,6 +10,8 @@"tsc": "tsc --noEmit"},"dependencies": {+ "@auth/core": "0.40.0",+ "@auth/drizzle-adapter": "1.10.0","@date-fns/tz": "1.2.0","@date-fns/utc": "2.1.0","@dnd-kit/core": "6.3.1",@@ -59,6 +61,7 @@"@radix-ui/react-tabs": "1.1.12","@radix-ui/react-tooltip": "1.2.7","@sentry/nextjs": "8.46.0",+ "@stripe/stripe-js": "2.1.6","@tanstack/react-query": "5.81.5","@tanstack/react-table": "8.21.3","@trpc/client": "11.4.4",@@ -72,8 +75,10 @@"date-fns": "4.1.0","lucide-react": "0.525.0","next": "15.4.7",+ "next-auth": "5.0.0-beta.29","next-themes": "0.4.6","nuqs": "2.4.3",+ "random-word-slugs": "0.1.7","react": "19.1.1","react-day-picker": "8.10.1","react-dom": "19.1.1",@@ -84,6 +89,7 @@"remark-parse": "11.0.0","remark-rehype": "11.1.2","sonner": "2.0.5",+ "stripe": "13.8.0","superjson": "2.2.2","tailwind-merge": "3.3.1","unified": "11.0.5",@@ -91,6 +97,7 @@},"devDependencies": {"@tailwindcss/postcss": "4.1.11",+ "@types/dom-speech-recognition": "0.0.6","@types/node": "24.0.8","@types/react": "19.1.10","@types/react-dom": "19.1.7",diff --git a/apps/status-page/src/components/chart/chart-bar-uptime-light.tsx b/apps/status-page/src/components/chart/chart-bar-uptime-light.tsxdeleted file mode 100644index dc45166c0..000000000--- a/apps/status-page/src/components/chart/chart-bar-uptime-light.tsx+++ /dev/null@@ -1,88 +0,0 @@-"use client";--import { Skeleton } from "@/components/ui/skeleton";-import { Bar, BarChart, XAxis } from "recharts";--import {- type ChartConfig,- ChartContainer,- ChartTooltip,- ChartTooltipContent,-} from "@/components/ui/chart";-import { mapUptime } from "@/data/metrics.client";-import { useTRPC } from "@/lib/trpc/client";-import type { Region } from "@openstatus/db/src/schema/constants";-import { useQuery } from "@tanstack/react-query";-// import { startOfDay, subDays } from "date-fns";--const chartConfig = {- ok: {- label: "Success",- color: "var(--color-success)",- },- degraded: {- label: "Degraded",- color: "var(--color-warning)",- },- error: {- label: "Error",- color: "var(--color-destructive)",- },-} satisfies ChartConfig;--export function ChartBarUptimeLight({- monitorId,- type,- regions,-}: {- monitorId: string;- type: "http" | "tcp";- regions?: Region[];-}) {- const trpc = useTRPC();-- const { data: uptime, isLoading } = useQuery(- trpc.tinybird.uptime.queryOptions({- interval: 60 * 24,- // fromDate: startOfDay(subDays(new Date(), 7)).toISOString(), // FIXME:- period: "7d",- monitorId,- regions,- type,- }),- );-- if (isLoading) {- return <Skeleton className=" my-auto h-5 w-full" />;- }-- const refinedUptime = uptime ? mapUptime(uptime) : [];-- if (refinedUptime.length === 0) {- return <span className="text-muted-foreground">-</span>;- }-- return (- <ChartContainer config={chartConfig} className="h-[28px] w-full">- <BarChart accessibilityLayer data={refinedUptime} barCategoryGap={1}>- <ChartTooltip- cursor={false}- allowEscapeViewBox={{ x: false, y: true }}- wrapperStyle={{ zIndex: 1 }}- content={<ChartTooltipContent indicator="dot" />}- />- <Bar dataKey="ok" stackId="a" fill="var(--color-ok)" />- <Bar dataKey="error" stackId="a" fill="var(--color-error)" />- <Bar dataKey="degraded" stackId="a" fill="var(--color-degraded)" />- <XAxis- dataKey="interval"- tickLine={false}- tickMargin={8}- minTickGap={10}- axisLine={false}- hide- />- </BarChart>- </ChartContainer>- );-}diff --git a/apps/status-page/src/components/chart/chart-tooltip-number.tsx b/apps/status-page/src/components/chart/chart-tooltip-number.tsxindex ce152b7d9..9c7d716f6 100644--- a/apps/status-page/src/components/chart/chart-tooltip-number.tsx+++ b/apps/status-page/src/components/chart/chart-tooltip-number.tsx@@ -1,5 +1,4 @@import type { ChartConfig } from "@/components/ui/chart";-import { cn } from "@/lib/utils";import type {NameType,ValueType,@@ -9,50 +8,33 @@ interface ChartTooltipNumberProps {chartConfig: ChartConfig;value: ValueType;name: NameType;+ labelFormatter?: (value: ValueType, name: NameType) => React.ReactNode;}export function ChartTooltipNumber({value,name,chartConfig,+ labelFormatter,}: ChartTooltipNumberProps) {- return (- <ChartTooltipNumberRaw- value={value}- label={chartConfig[name as keyof typeof chartConfig]?.label || name}- style={- {- "--color-bg": `var(--color-${name})`,- } as React.CSSProperties- }- />- );-}--export function ChartTooltipNumberRaw({- value,- label,- style,- className,-}: {- value: ValueType;- label: React.ReactNode;- style?: React.CSSProperties;- className?: string;-}) {return (<><div- className={cn(- "h-2.5 w-2.5 shrink-0 rounded-[2px] bg-(--color-bg)",- className,- )}- style={style}+ className="h-2.5 w-2.5 shrink-0 rounded-[2px] bg-(--color-bg)"+ style={+ {+ "--color-bg": `var(--color-${name})`,+ } as React.CSSProperties+ }/>- <span>{label}</span>- <div className="ml-auto flex items-baseline gap-0.5 font-medium font-mono text-foreground tabular-nums">+ <span>+ {labelFormatter+ ? labelFormatter(value, name)+ : chartConfig[name as keyof typeof chartConfig]?.label || name}+ </span>+ <div className="text-foreground ml-auto flex items-baseline gap-0.5 font-mono font-medium tabular-nums">{value}- <span className="font-normal text-muted-foreground">ms</span>+ <span className="text-muted-foreground font-normal">ms</span></div></>);diff --git a/apps/status-page/src/components/content/metric-card.tsx b/apps/status-page/src/components/content/metric-card.tsxindex 2803cbbbe..8eeb9c6db 100644--- a/apps/status-page/src/components/content/metric-card.tsx+++ b/apps/status-page/src/components/content/metric-card.tsx@@ -3,10 +3,8 @@ import { cva } from "class-variance-authority";import { ChevronDown, ChevronUp } from "lucide-react";import { Badge } from "@/components/ui/badge";-import { Skeleton } from "@/components/ui/skeleton";import { cn } from "@/lib/utils";-import type React from "react";const metricCardVariants = cva("flex flex-col gap-1 border rounded-lg px-3 py-2 text-card-foreground",@@ -35,7 +33,7 @@ export function MetricCard({return (<divdata-variant={variant}- className={cn(metricCardVariants({ variant, className }), "group")}+ className={cn(metricCardVariants({ variant, className }), "group/metric")}{...props}>{children}@@ -49,7 +47,7 @@ export function MetricCardTitle({...props}: React.ComponentProps<"p">) {return (- <p className={cn("font-medium text-sm", className)} {...props}>+ <p className={cn("text-sm font-medium", className)} {...props}>{children}</p>);@@ -64,9 +62,9 @@ export function MetricCardHeader({<divclassName={cn("text-muted-foreground",- "group-data-[variant=destructive]:text-destructive",- "group-data-[variant=success]:text-success",- "group-data-[variant=warning]:text-warning",+ "group-data-[variant=destructive]/metric:text-destructive",+ "group-data-[variant=success]/metric:text-success",+ "group-data-[variant=warning]/metric:text-warning",className,)}{...props}@@ -82,7 +80,7 @@ export function MetricCardValue({...props}: React.ComponentProps<"p">) {return (- <p className={cn("font-semibold text-foreground", className)} {...props}>+ <p className={cn("text-foreground font-semibold", className)} {...props}>{children}</p>);@@ -96,7 +94,7 @@ export function MetricCardGroup({return (<divclassName={cn(- "grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5",+ "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4",className,)}{...props}@@ -178,20 +176,3 @@ export function MetricCardButton({</button>);}--export function MetricCardSkeleton({- className,- ...props-}: React.ComponentProps<typeof Skeleton>) {- return (- <Skeleton- className={cn(- "group-data-[variant=destructive]:bg-destructive/50",- "group-data-[variant=success]:bg-success/50",- "group-data-[variant=warning]:bg-warning/50",- className,- )}- {...props}- />- );-}diff --git a/apps/status-page/src/components/controls-filter/.gitkeep b/apps/status-page/src/components/controls-filter/.gitkeepdeleted file mode 100644index e69de29bb..000000000diff --git a/apps/status-page/src/components/controls-search/button-reset.tsx b/apps/status-page/src/components/controls-search/button-reset.tsxdeleted file mode 100644index ff782b117..000000000--- a/apps/status-page/src/components/controls-search/button-reset.tsx+++ /dev/null@@ -1,45 +0,0 @@-"use client";--import { Button } from "@/components/ui/button";-import { X } from "lucide-react";-import { useRouter, useSearchParams } from "next/navigation";--export function ButtonReset({ only }: { only?: string[] }) {- const searchParams = useSearchParams();- const router = useRouter();-- // Determine if at least one parameter that should be reset is present (or any parameter if `only` is undefined)- const hasParamsToReset = only- ? only.some((key) => searchParams.has(key))- : !!searchParams.toString();-- if (!hasParamsToReset) return null;-- const handleClick = () => {- // Clone the current search params so we can mutate them- const params = new URLSearchParams(searchParams.toString());-- if (only && only.length > 0) {- // Remove only the specified keys- only.forEach((key) => params.delete(key));- const query = params.toString();- router.push(- query- ? `${window.location.pathname}?${query}`- : window.location.pathname,- );- } else {- // No `only` prop provided – remove all query parameters- router.push(window.location.pathname);- }- };-- if (!hasParamsToReset) return null;-- return (- <Button variant="ghost" size="sm" onClick={handleClick}>- <X />- Reset- </Button>- );-}diff --git a/apps/status-page/src/components/controls-search/command-region.tsx b/apps/status-page/src/components/controls-search/command-region.tsxdeleted file mode 100644index c034f675f..000000000--- a/apps/status-page/src/components/controls-search/command-region.tsx+++ /dev/null@@ -1,163 +0,0 @@-"use client";--import { Link } from "@/components/common/link";-import {- BillingOverlay,- BillingOverlayButton,- BillingOverlayDescription,-} from "@/components/content/billing-overlay";-import { Button } from "@/components/ui/button";-import {- Command,- CommandEmpty,- CommandGroup,- CommandInput,- CommandItem,- CommandList,- CommandSeparator,-} from "@/components/ui/command";-import {- Popover,- PopoverContent,- PopoverTrigger,-} from "@/components/ui/popover";-import { REGIONS } from "@/data/metrics.client";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { groupByContinent } from "@openstatus/utils";-import { useQuery } from "@tanstack/react-query";-import { Check, Lock } from "lucide-react";-import { parseAsArrayOf, parseAsStringLiteral, useQueryState } from "nuqs";--export const parseRegions = (regions: (typeof REGIONS)[number][]) =>- parseAsArrayOf(- parseAsStringLiteral(REGIONS.filter((region) => regions.includes(region))),- ).withDefault(regions as unknown as (typeof REGIONS)[number][]);--export function CommandRegion({- regions,-}: {- regions: (typeof REGIONS)[number][];-}) {- const trpc = useTRPC();- const { data: workspace } = useQuery(trpc.workspace.get.queryOptions());- const [selectedRegions, setSelectedRegions] = useQueryState(- "regions",- parseRegions(regions),- );-- const limited = workspace?.plan === "free";-- return (- <Popover>- <PopoverTrigger asChild>- <Button variant="outline" size="sm">- {selectedRegions.length === regions.length- ? "All Regions"- : `${selectedRegions.length} Regions`}- </Button>- </PopoverTrigger>- <PopoverContent- align="start"- className="relative w-[200px] overflow-hidden p-0"- >- <Command>- <CommandInput placeholder="Search region..." disabled={limited} />- <CommandList>- <CommandGroup forceMount>- <CommandItem- onSelect={() => {- const items = document.querySelectorAll(- '[data-slot="command-item"][data-disabled="false"]',- );- const codes: (typeof REGIONS)[number][] = [];-- items.forEach((item) => {- const code = item.getAttribute("data-value");- if (code && code !== "select-all") {- codes.push(code as (typeof REGIONS)[number]);- }- });-- if (codes.length === selectedRegions.length) {- setSelectedRegions([]);- } else {- setSelectedRegions(codes);- }- }}- value="select-all"- disabled={limited}- >- Toggle selection- </CommandItem>- </CommandGroup>- <CommandSeparator alwaysRender />- {Object.entries(groupByContinent).map(- ([continent, continentRegions]) => {- const allowedRegions = continentRegions.filter((region) =>- regions.includes(region.code),- );-- if (allowedRegions.length === 0) {- return null;- }- return (- <CommandGroup key={continent} heading={continent}>- {allowedRegions.map((region) => (- <CommandItem- disabled={limited}- key={region.code}- value={region.code}- keywords={[- region.code,- region.location,- region.continent,- region.flag,- ]}- onSelect={() => {- setSelectedRegions((prev) =>- prev.includes(region.code)- ? prev.filter((r) => r !== region.code)- : [...prev, region.code],- );- }}- >- <span className="mr-1">{region.flag}</span>- {region.code}- <span className="ml-1 truncate text-muted-foreground text-xs">- {region.location}- </span>- <Check- className={cn(- "ml-auto",- selectedRegions.includes(region.code)- ? "opacity-100"- : "opacity-0",- )}- />- </CommandItem>- ))}- </CommandGroup>- );- },- )}- <CommandEmpty>No region found.</CommandEmpty>- </CommandList>- </Command>- {limited ? (- <BillingOverlay className="to-70%">- <BillingOverlayButton asChild>- <Link href="/settings/billing">- <Lock />- Upgrade- </Link>- </BillingOverlayButton>- <BillingOverlayDescription>- Filter by region is only available on paid plans.- </BillingOverlayDescription>- </BillingOverlay>- ) : null}- </PopoverContent>- </Popover>- );-}diff --git a/apps/status-page/src/components/controls-search/command-tags.tsx b/apps/status-page/src/components/controls-search/command-tags.tsxdeleted file mode 100644index 576b83f06..000000000--- a/apps/status-page/src/components/controls-search/command-tags.tsx+++ /dev/null@@ -1,87 +0,0 @@-"use client";--import { Button } from "@/components/ui/button";-import {- Command,- CommandEmpty,- CommandGroup,- CommandInput,- CommandItem,- CommandList,-} from "@/components/ui/command";-import {- Popover,- PopoverContent,- PopoverTrigger,-} from "@/components/ui/popover";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { useQuery } from "@tanstack/react-query";-import { Check } from "lucide-react";-import { parseAsArrayOf, parseAsString, useQueryState } from "nuqs";--export function CommandTags() {- const trpc = useTRPC();- const { data: tags } = useQuery(trpc.monitorTag.list.queryOptions());- const [selectedTags, setSelectedTags] = useQueryState(- "tags",- parseAsArrayOf(parseAsString).withDefault([]).withOptions({- shallow: false,- }),- );-- return (- <Popover>- <PopoverTrigger asChild>- <Button variant="outline" size="sm">- {selectedTags.length === (tags?.length ?? 0)- ? "All Tags"- : `${selectedTags.length} Tags`}- </Button>- </PopoverTrigger>- <PopoverContent- align="start"- className="relative w-[200px] overflow-hidden p-0"- >- <Command>- <CommandInput placeholder="Search tag..." />- <CommandList>- <CommandGroup>- {tags?.map((tag) => (- <CommandItem- key={tag.id}- value={tag.name}- keywords={[tag.name]}- onSelect={() => {- setSelectedTags((prev) =>- prev.includes(tag.name)- ? prev.filter((r) => r !== tag.name)- : [...prev, tag.name],- );- }}- >- <div className="flex items-center gap-2">- <span- className="size-2.5 rounded-full"- style={{ backgroundColor: tag.color }}- />- {tag.name}- </div>- <Check- className={cn(- "ml-auto",- selectedTags.includes(tag.name)- ? "opacity-100"- : "opacity-0",- )}- />- </CommandItem>- ))}- </CommandGroup>- <CommandEmpty>No tag found.</CommandEmpty>- </CommandList>- </Command>- </PopoverContent>- </Popover>- );-}diff --git a/apps/status-page/src/components/controls-search/dropdown-interval.tsx b/apps/status-page/src/components/controls-search/dropdown-interval.tsxdeleted file mode 100644index 03662ffbb..000000000--- a/apps/status-page/src/components/controls-search/dropdown-interval.tsx+++ /dev/null@@ -1,56 +0,0 @@-"use client";--import { Button } from "@/components/ui/button";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuGroup,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { INTERVALS } from "@/data/metrics.client";-import { Check } from "lucide-react";-import { parseAsNumberLiteral, useQueryState } from "nuqs";--const MAPPING = {- 5: "5 minutes",- 15: "15 minutes",- 30: "30 minutes",- 60: "1 hour",- 120: "2 hours",- 240: "4 hours",- 480: "8 hours",- 1440: "1 day",-} as const;--const parseInterval = parseAsNumberLiteral(INTERVALS).withDefault(30);--export function DropdownInterval() {- const [interval, setInterval] = useQueryState("interval", parseInterval);-- return (- <DropdownMenu>- <DropdownMenuTrigger asChild>- <Button variant="outline" size="sm">- {MAPPING[interval]}- </Button>- </DropdownMenuTrigger>- <DropdownMenuContent align="start">- <DropdownMenuGroup>- <DropdownMenuLabel className="font-medium text-muted-foreground text-xs">- Resolution- </DropdownMenuLabel>- {INTERVALS.map((item) => (- <DropdownMenuItem key={item} onSelect={() => setInterval(item)}>- {MAPPING[item]}- {interval === item ? (- <Check className="ml-auto shrink-0" />- ) : null}- </DropdownMenuItem>- ))}- </DropdownMenuGroup>- </DropdownMenuContent>- </DropdownMenu>- );-}diff --git a/apps/status-page/src/components/controls-search/dropdown-percentile.tsx b/apps/status-page/src/components/controls-search/dropdown-percentile.tsxdeleted file mode 100644index 120ecbb2e..000000000--- a/apps/status-page/src/components/controls-search/dropdown-percentile.tsx+++ /dev/null@@ -1,53 +0,0 @@-"use client";--import { Button } from "@/components/ui/button";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuGroup,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { PERCENTILES } from "@/data/metrics.client";-import { cn } from "@/lib/utils";-import { Check } from "lucide-react";-import { parseAsStringLiteral, useQueryState } from "nuqs";--const parsePercentile = parseAsStringLiteral(PERCENTILES).withDefault("p50");--export function DropdownPercentile() {- const [percentile, setPercentile] = useQueryState(- "percentile",- parsePercentile,- );-- return (- <DropdownMenu>- <DropdownMenuTrigger asChild>- <Button variant="outline" size="sm" className="capitalize">- {percentile}- </Button>- </DropdownMenuTrigger>- <DropdownMenuContent align="start">- <DropdownMenuGroup>- <DropdownMenuLabel className="font-medium text-muted-foreground text-xs">- Percentile- </DropdownMenuLabel>- {PERCENTILES.map((item) => (- <DropdownMenuItem- key={item}- onSelect={() => setPercentile(item)}- className={cn("capitalize")}- >- {item}- {percentile === item ? (- <Check className="ml-auto shrink-0" />- ) : null}- </DropdownMenuItem>- ))}- </DropdownMenuGroup>- </DropdownMenuContent>- </DropdownMenu>- );-}diff --git a/apps/status-page/src/components/controls-search/dropdown-period.tsx b/apps/status-page/src/components/controls-search/dropdown-period.tsxdeleted file mode 100644index 3ccd85fe0..000000000--- a/apps/status-page/src/components/controls-search/dropdown-period.tsx+++ /dev/null@@ -1,59 +0,0 @@-"use client";--import { Button } from "@/components/ui/button";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuGroup,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { PERIODS } from "@/data/metrics.client";-import { Check } from "lucide-react";-import { parseAsStringLiteral, useQueryState } from "nuqs";--// TODO: where to move it?-export const PERIOD_VALUES = [- {- value: "1d",- label: "Last day",- },- {- value: "7d",- label: "Last 7 days",- },- {- value: "14d",- label: "Last 14 days",- },-] satisfies { value: (typeof PERIODS)[number]; label: string }[];--const parsePeriod = parseAsStringLiteral(PERIODS).withDefault("1d");--export function DropdownPeriod() {- const [period, setPeriod] = useQueryState("period", parsePeriod);-- return (- <DropdownMenu>- <DropdownMenuTrigger asChild>- <Button variant="outline" size="sm">- {PERIOD_VALUES.find(({ value }) => value === period)?.label}- </Button>- </DropdownMenuTrigger>- <DropdownMenuContent align="start">- <DropdownMenuGroup>- <DropdownMenuLabel className="font-medium text-muted-foreground text-xs">- Period- </DropdownMenuLabel>- {PERIOD_VALUES.map(({ value, label }) => (- <DropdownMenuItem key={value} onSelect={() => setPeriod(value)}>- {label}- {period === value ? <Check className="ml-auto shrink-0" /> : null}- </DropdownMenuItem>- ))}- </DropdownMenuGroup>- </DropdownMenuContent>- </DropdownMenu>- );-}diff --git a/apps/status-page/src/components/controls-search/dropdown-status.tsx b/apps/status-page/src/components/controls-search/dropdown-status.tsxdeleted file mode 100644index 565ee5ec6..000000000--- a/apps/status-page/src/components/controls-search/dropdown-status.tsx+++ /dev/null@@ -1,48 +0,0 @@-"use client";--import { Button } from "@/components/ui/button";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuGroup,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { STATUS } from "@/data/metrics.client";-import { cn } from "@/lib/utils";-import { Check } from "lucide-react";-import { parseAsStringLiteral, useQueryState } from "nuqs";--const parseStatus = parseAsStringLiteral(STATUS);--export function DropdownStatus() {- const [status, setStatus] = useQueryState("status", parseStatus);-- return (- <DropdownMenu>- <DropdownMenuTrigger asChild>- <Button variant="outline" size="sm" className="capitalize">- {status ?? "All Status"}- </Button>- </DropdownMenuTrigger>- <DropdownMenuContent align="start">- <DropdownMenuGroup>- <DropdownMenuLabel className="font-medium text-muted-foreground text-xs">- Request Status- </DropdownMenuLabel>- {STATUS.map((item) => (- <DropdownMenuItem- key={item}- onSelect={() => setStatus(item)}- className={cn("capitalize")}- >- {item}- {status === item ? <Check className="ml-auto shrink-0" /> : null}- </DropdownMenuItem>- ))}- </DropdownMenuGroup>- </DropdownMenuContent>- </DropdownMenu>- );-}diff --git a/apps/status-page/src/components/controls-search/dropdown-trigger.tsx b/apps/status-page/src/components/controls-search/dropdown-trigger.tsxdeleted file mode 100644index 552b5f48a..000000000--- a/apps/status-page/src/components/controls-search/dropdown-trigger.tsx+++ /dev/null@@ -1,48 +0,0 @@-"use client";--import { Button } from "@/components/ui/button";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuGroup,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { TRIGGER } from "@/data/metrics.client";-import { cn } from "@/lib/utils";-import { Check } from "lucide-react";-import { parseAsStringLiteral, useQueryState } from "nuqs";--const parseTrigger = parseAsStringLiteral(TRIGGER);--export function DropdownTrigger() {- const [trigger, setTrigger] = useQueryState("trigger", parseTrigger);-- return (- <DropdownMenu>- <DropdownMenuTrigger asChild>- <Button variant="outline" size="sm" className="capitalize">- {trigger ?? "All Trigger"}- </Button>- </DropdownMenuTrigger>- <DropdownMenuContent align="start">- <DropdownMenuGroup>- <DropdownMenuLabel className="font-medium text-muted-foreground text-xs">- Trigger- </DropdownMenuLabel>- {TRIGGER.map((item) => (- <DropdownMenuItem- key={item}- onSelect={() => setTrigger(item)}- className={cn("capitalize")}- >- {item === "cron" ? "Scheduled" : "API"}- {trigger === item ? <Check className="ml-auto shrink-0" /> : null}- </DropdownMenuItem>- ))}- </DropdownMenuGroup>- </DropdownMenuContent>- </DropdownMenu>- );-}diff --git a/apps/status-page/src/components/controls-search/popover-date.tsx b/apps/status-page/src/components/controls-search/popover-date.tsxdeleted file mode 100644index f30722aa1..000000000--- a/apps/status-page/src/components/controls-search/popover-date.tsx+++ /dev/null@@ -1,141 +0,0 @@-import { DatePicker } from "@/components/date-picker";-import { Button } from "@/components/ui/button";-import {- Popover,- PopoverContent,- PopoverTrigger,-} from "@/components/ui/popover";-import { formatDateRange } from "@/lib/formatter";-import { endOfDay, startOfDay, subDays, subHours } from "date-fns";-import { parseAsIsoDateTime, useQueryState } from "nuqs";-import { useEffect, useMemo, useRef, useState } from "react";-import type { DateRange } from "react-day-picker";--export function PopoverDate() {- const [open, setOpen] = useState(false);- const today = useRef(new Date());- const [from, setFrom] = useQueryState(- "from",- parseAsIsoDateTime.withDefault(startOfDay(today.current)),- );- const [to, setTo] = useQueryState(- "to",- parseAsIsoDateTime.withDefault(endOfDay(today.current)),- );- const [range, setRange] = useState<DateRange>({ from, to });-- // biome-ignore lint/correctness/useExhaustiveDependencies: <explanation>- const presets = useMemo(- () => [- {- id: "today",- label: "Today",- values: {- from: startOfDay(today.current),- to: endOfDay(today.current),- },- shortcut: "t",- },- {- id: "yesterday",- label: "Yesterday",- values: {- from: startOfDay(subDays(today.current, 1)),- to: endOfDay(subDays(today.current, 1)),- },- shortcut: "y",- },- {- id: "lastHour",- label: "Last hour",- values: {- from: subHours(today.current, 1),- to: today.current,- },- shortcut: "h",- },- {- id: "last6Hours",- label: "Last 6 hours",- values: {- from: subHours(today.current, 5),- to: today.current,- },- shortcut: "s",- },- {- id: "last24Hours",- label: "Last 24 hours",- values: {- from: subHours(today.current, 23),- to: today.current,- },- shortcut: "d",- },- {- id: "last7Days",- label: "Last 7 days",- values: {- from: subDays(today.current, 6),- to: today.current,- },- shortcut: "w",- },- {- id: "last14Days",- label: "Last 14 days",- values: {- from: subDays(today.current, 13),- to: today.current,- },- shortcut: "b",- },- ],- [today],- );-- // instead use `range` state- const selected = presets.find((period) => {- return (- from.getTime() === period.values.from.getTime() &&- to.getTime() === period.values.to.getTime()- );- });-- // biome-ignore lint/correctness/useExhaustiveDependencies: <explanation>- useEffect(() => {- if (!open) {- setFrom(range.from ?? null);- setTo(range.to ?? null);- }- }, [open]);-- useEffect(() => {- const down = (e: KeyboardEvent) => {- if (!open) return;-- presets.map((preset) => {- if (preset.shortcut === e.key) {- setFrom(preset.values.from);- setTo(preset.values.to);- setRange({ from: preset.values.from, to: preset.values.to });- }- });- };- document.addEventListener("keydown", down);- return () => document.removeEventListener("keydown", down);- }, [presets, open, setFrom, setTo]);-- return (- <Popover open={open} onOpenChange={setOpen}>- <PopoverTrigger asChild>- <Button variant="outline" size="sm">- {selected?.label ?? formatDateRange(from, to)}- </Button>- </PopoverTrigger>- <PopoverContent className="w-auto p-0" side="bottom" align="start">- <DatePicker presets={presets} range={range} onSelect={setRange} />- </PopoverContent>- </Popover>- );-}diff --git a/apps/status-page/src/components/development-indicator.tsx b/apps/status-page/src/components/development-indicator.tsxdeleted file mode 100644index c18acce86..000000000--- a/apps/status-page/src/components/development-indicator.tsx+++ /dev/null@@ -1,49 +0,0 @@-"use client";--import { useIsMobile } from "@/hooks/use-mobile";-import * as Portal from "@radix-ui/react-portal";-import { Kbd } from "./common/kbd";-import {- Tooltip,- TooltipContent,- TooltipProvider,- TooltipTrigger,-} from "./ui/tooltip";--export function DevelopmentIndicator() {- const isMobile = useIsMobile();-- if (process.env.NODE_ENV !== "production") return null;-- return (- <Portal.Root>- <div className="pointer-events-none fixed inset-0 z-[9999] border-2 border-destructive" />- <div className="fixed inset-x-0 bottom-0 z-[9999] select-none">- <div className="flex items-center justify-center">- <TooltipProvider delayDuration={0}>- <Tooltip>- <TooltipTrigger>- <div className="w-fit rounded-t bg-destructive px-2 py-1 font-mono text-background text-xs">- In Beta- </div>- </TooltipTrigger>- <TooltipContent side="top">- {!isMobile ? (- <p>- Press{" "}- <Kbd variant="secondary" className="-me-0 ms-0">- F- </Kbd>{" "}- key to provide feedback.- </p>- ) : (- <p>Use a larger screen to provide feedback.</p>- )}- </TooltipContent>- </Tooltip>- </TooltipProvider>- </div>- </div>- </Portal.Root>- );-}diff --git a/apps/status-page/src/data/audit-logs.client.ts b/apps/status-page/src/data/audit-logs.client.tsdeleted file mode 100644index d934122aa..000000000--- a/apps/status-page/src/data/audit-logs.client.ts+++ /dev/null@@ -1,40 +0,0 @@-import {- CircleAlert,- CircleCheck,- CircleMinus,- Send,- Siren,-} from "lucide-react";--export const config = {- "incident.created": {- icon: Siren,- color: "text-destructive",- title: "Incident Created",- },- "incident.resolved": {- icon: CircleCheck,- color: "text-success",- title: "Incident Resolved",- },- "monitor.failed": {- icon: CircleMinus,- color: "text-destructive",- title: "Monitor Failed",- },- "notification.sent": {- icon: Send,- color: "text-info",- title: "Notification Sent",- },- "monitor.recovered": {- icon: CircleCheck,- color: "text-success",- title: "Monitor Recovered",- },- "monitor.degraded": {- icon: CircleAlert,- color: "text-warning",- title: "Monitor Degraded",- },-} as const;diff --git a/apps/status-page/src/data/audit-logs.ts b/apps/status-page/src/data/audit-logs.tsdeleted file mode 100644index f77e2e505..000000000--- a/apps/status-page/src/data/audit-logs.ts+++ /dev/null@@ -1,90 +0,0 @@-export const auditLogs = [- {- id: 3,- timestamp: new Date("2025-05-05 12:00:00"),- action: "incident.created" as const,- },- {- id: 2,- timestamp: new Date("2025-05-05 12:00:00"),- action: "monitor.failed" as const,- metadata: {- region: "ams",- status: 500,- latency: 1400,- } as const,- },- {- id: 1,- timestamp: new Date("2025-05-05 12:00:00"),- action: "notification.sent" as const,- metadata: {- provider: "slack",- } as const,- },- {- id: 0,- timestamp: new Date("2025-05-05 12:00:00"),- action: "monitor.recovered" as const,- metadata: {- region: "ams",- latency: 140,- } as const,- },- {- id: -1,- timestamp: new Date("2025-05-05 12:00:00"),- action: "monitor.degraded" as const,- metadata: {- region: "ams",- latency: 30_000,- } as const,- },- {- id: -2,- timestamp: new Date("2025-05-05 12:00:00"),- action: "incident.resolved" as const,- },- {- id: -3,- timestamp: new Date("2025-05-05 12:00:00"),- action: "incident.created" as const,- },- {- id: -4,- timestamp: new Date("2025-05-05 12:00:00"),- action: "monitor.degraded" as const,- metadata: {- region: "ams",- latency: 30_000,- } as const,- },- {- id: -5,- timestamp: new Date("2025-05-05 12:00:00"),- action: "monitor.degraded" as const,- metadata: {- region: "ams",- latency: 32_000,- } as const,- },- {- id: -6,- timestamp: new Date("2025-05-05 12:00:00"),- action: "monitor.degraded" as const,- metadata: {- region: "ams",- latency: 33_000,- } as const,- },- {- id: -7,- timestamp: new Date("2025-05-05 12:00:00"),- action: "monitor.degraded" as const,- metadata: {- region: "ams",- latency: 34_000,- } as const,- },-];-export type AuditLog = (typeof auditLogs)[number];diff --git a/apps/status-page/src/data/metrics.client.ts b/apps/status-page/src/data/metrics.client.tsnew file mode 100644index 000000000..0e6efccd5--- /dev/null+++ b/apps/status-page/src/data/metrics.client.ts@@ -0,0 +1,325 @@+"use client";++import type { MetricCard } from "@/components/content/metric-card";+import { formatDateTime, formatMilliseconds } from "@/lib/formatter";+import type { RouterOutputs } from "@openstatus/api";+import { flyRegions } from "@openstatus/db/src/schema/constants";+import type { RegionMetric } from "./region-metrics";+import type { Region } from "./regions";++export const STATUS = ["success", "error", "degraded"] as const;+export const PERIODS = ["1d", "7d", "14d"] as const;+export const REGIONS = flyRegions as unknown as (typeof flyRegions)[number][];+export const PERCENTILES = ["p50", "p75", "p90", "p95", "p99"] as const;+export const INTERVALS = [5, 15, 30, 60, 120, 240, 480, 1440] as const;+export const TRIGGER = ["api", "cron"] as const;++const PERCENTILE_MAP = {+ p50: "p50Latency",+ p75: "p75Latency",+ p90: "p90Latency",+ p95: "p95Latency",+ p99: "p99Latency",+} as const;++// FIXME: rename pipe return values++export function mapMetrics(metrics: RouterOutputs["tinybird"]["metrics"]) {+ return metrics.data?.map((metric) => {+ return {+ p50: metric.p50Latency,+ p75: metric.p75Latency,+ p90: metric.p90Latency,+ p95: metric.p95Latency,+ p99: metric.p99Latency,+ total: metric.count,+ uptime: (metric.success + metric.degraded) / metric.count,+ degraded: metric.degraded,+ error: metric.error,+ lastTimestamp: metric.lastTimestamp,+ };+ });+}++export const metricsCards = {+ uptime: {+ label: "UPTIME",+ variant: "success",+ },+ degraded: {+ label: "DEGRADED",+ variant: "warning",+ },+ error: {+ label: "FAILING",+ variant: "destructive",+ },+ total: {+ label: "REQUESTS",+ variant: "default",+ },+ lastTimestamp: {+ label: "LAST CHECKED",+ variant: "ghost",+ },+ p50: {+ label: "P50",+ variant: "default",+ },+ p75: {+ label: "P75",+ variant: "default",+ },+ p90: {+ label: "P90",+ variant: "default",+ },+ p95: {+ label: "P95",+ variant: "default",+ },+ p99: {+ label: "P99",+ variant: "default",+ },+} as const satisfies Record<+ keyof ReturnType<typeof mapMetrics>[number],+ {+ label: string;+ variant: React.ComponentProps<typeof MetricCard>["variant"];+ }+>;++export function mapUptime(status: RouterOutputs["tinybird"]["uptime"]) {+ return status.data+ .map((status) => {+ return {+ ...status,+ ok: status.success,+ interval: formatDateTime(status.interval),+ total: status.success + status.error + status.degraded,+ };+ })+ .reverse();+}++/**+ * Transform Tinybird `metricsRegions` response into RegionMetric[] for UI.+ */+export function mapRegionMetrics(+ timeline: RouterOutputs["tinybird"]["metricsRegions"] | undefined,+ regions: Region[],+ percentile: (typeof PERCENTILES)[number],+): RegionMetric[] {+ if (!timeline)+ return (regions+ .sort((a, b) => a.localeCompare(b))+ .map((region) => ({+ region,+ p50: 0,+ p90: 0,+ p99: 0,+ trend: [] as {+ latency: number;+ timestamp: number;+ [key: string]: number;+ }[],+ })) ?? []) as RegionMetric[];++ type TimelineRow = (typeof timeline.data)[number];++ const map = new Map<+ Region,+ {+ region: Region;+ p50: number;+ p90: number;+ p99: number;+ trend: {+ latency: number;+ timestamp: number;+ [key: string]: number;+ }[];+ }+ >();++ (timeline.data as TimelineRow[])+ .filter((row) => regions.includes(row.region as Region))+ .sort((a, b) => a.region.localeCompare(b.region))+ .forEach((row) => {+ const region = row.region as Region;+ const entry = map.get(region) ?? {+ region,+ p50: 0,+ p90: 0,+ p99: 0,+ trend: [],+ };++ entry.trend.push({+ latency: row[PERCENTILE_MAP[percentile]] ?? 0,+ timestamp: row.timestamp,+ [region]: row[PERCENTILE_MAP[percentile]] ?? 0,+ });++ entry.p50 += row.p50Latency ?? 0;+ entry.p90 += row.p90Latency ?? 0;+ entry.p99 += row.p99Latency ?? 0;++ map.set(region, entry);+ });++ map.forEach((entry) => {+ const count = entry.trend.length || 1;+ entry.trend.reverse();+ entry.p50 = Math.round(entry.p50 / count);+ entry.p90 = Math.round(entry.p90 / count);+ entry.p99 = Math.round(entry.p99 / count);+ });++ return Array.from(map.values()) as RegionMetric[];+}++export function mapGlobalMetrics(+ metrics: RouterOutputs["tinybird"]["globalMetrics"],+) {+ return metrics.data?.map((metric) => {+ return {+ p50: metric.p50Latency,+ p75: metric.p75Latency,+ p90: metric.p90Latency,+ p95: metric.p95Latency,+ p99: metric.p99Latency,+ total: metric.count,+ monitorId: metric.monitorId,+ };+ });+}++export type MonitorListMetric = {+ title: string;+ key: "degraded" | "error" | "active" | "inactive" | "p95";+ value: number | string | undefined;+ variant: React.ComponentProps<typeof MetricCard>["variant"];+};++export const globalCards = [+ "active",+ "degraded",+ "error",+ "inactive",+ "p95",+] as const;++export const metricsGlobalCards: Record<+ (typeof globalCards)[number],+ {+ title: string;+ key: (typeof globalCards)[number];+ }+> = {+ active: {+ title: "Normal",+ key: "active" as const,+ },+ degraded: {+ title: "Degraded",+ key: "degraded" as const,+ },+ error: {+ title: "Failing",+ key: "error" as const,+ },+ inactive: {+ title: "Inactive",+ key: "inactive" as const,+ },+ p95: {+ title: "Slowest P95",+ key: "p95" as const,+ },+};++/**+ * Build the metric cards data that is shown on the monitors list page.+ */+export function getMonitorListMetrics(+ monitors: RouterOutputs["monitor"]["list"] = [],+ data: {+ p95Latency: number;+ monitorId: string;+ }[] = [],+): readonly MonitorListMetric[] {+ const variantMap: Record<+ (typeof globalCards)[number],+ React.ComponentProps<typeof MetricCard>["variant"]+ > = {+ active: "success",+ degraded: "warning",+ error: "destructive",+ inactive: "default",+ p95: "ghost",+ } as const;++ return globalCards.map((key) => {+ let value: number | string | undefined;+ switch (key) {+ case "active":+ value = monitors.filter(+ (m) => m.status === "active" && m.active,+ ).length;+ break;+ case "degraded":+ value = monitors.filter(+ (m) => m.status === "degraded" && m.active,+ ).length;+ break;+ case "error":+ value = monitors.filter((m) => m.status === "error" && m.active).length;+ break;+ case "inactive":+ value = monitors.filter((m) => m.active === false).length;+ break;+ case "p95":+ const p95 = data.sort((a, b) => b.p95Latency - a.p95Latency)[0]+ ?.p95Latency;+ value = p95 ? formatMilliseconds(p95) : "N/A";+ break;+ }++ return {+ title: metricsGlobalCards[key].title,+ key,+ value,+ variant: variantMap[key],+ } as const;+ }) as readonly MonitorListMetric[];+}++export function mapLatency(+ latency: RouterOutputs["tinybird"]["metricsLatency"],+ percentile: (typeof PERCENTILES)[number],+) {+ return latency.data?.map((metric) => {+ return {+ timestamp: formatDateTime(new Date(metric.timestamp)),+ latency: metric[PERCENTILE_MAP[percentile]],+ };+ });+}++export function mapTimingPhases(+ timingPhases: RouterOutputs["tinybird"]["metricsTimingPhases"],+ percentile: (typeof PERCENTILES)[number],+) {+ return timingPhases.data?.map((metric) => {+ return {+ timestamp: formatDateTime(new Date(metric.timestamp)),+ dns: metric[`${percentile}Dns`],+ ttfb: metric[`${percentile}Ttfb`],+ transfer: metric[`${percentile}Transfer`],+ connect: metric[`${percentile}Connect`],+ tls: metric[`${percentile}Tls`],+ };+ });+}diff --git a/apps/status-page/src/data/notifiers.client.ts b/apps/status-page/src/data/notifiers.client.tsdeleted file mode 100644index 0fe85388d..000000000--- a/apps/status-page/src/data/notifiers.client.ts+++ /dev/null@@ -1,78 +0,0 @@-import { FormDiscord } from "@/components/forms/notifier/form-discord";-import { FormEmail } from "@/components/forms/notifier/form-email";-import { FormSlack } from "@/components/forms/notifier/form-slack";-import { FormSms } from "@/components/forms/notifier/form-sms";-import { FormWebhook } from "@/components/forms/notifier/form-webhook";-import { DiscordIcon } from "@/components/icons/discord";-import { OpsGenieIcon } from "@/components/icons/opsgenie";-import { PagerDutyIcon } from "@/components/icons/pagerduty";-import { SlackIcon } from "@/components/icons/slack";-import { Mail, MessageCircle, Pencil, Trash2, Webhook } from "lucide-react";--export const actions = [- {- id: "edit",- label: "Edit",- icon: Pencil,- variant: "default" as const,- },- {- id: "delete",- label: "Delete",- icon: Trash2,- variant: "destructive" as const,- },-] as const;--export type NotifierAction = (typeof actions)[number];--export const getActions = (- props: Partial<Record<NotifierAction["id"], () => Promise<void> | void>>,-): (NotifierAction & { onClick?: () => Promise<void> | void })[] => {- return actions.map((action) => ({- ...action,- onClick: props[action.id as keyof typeof props],- }));-};--// List of the notifiers--export const config = {- slack: {- icon: SlackIcon,- label: "Slack",- form: FormSlack,- },- discord: {- icon: DiscordIcon,- label: "Discord",- form: FormDiscord,- },- email: {- icon: Mail,- label: "Email",- form: FormEmail,- },- sms: {- icon: MessageCircle,- label: "SMS",- form: FormSms,- },- webhook: {- icon: Webhook,- label: "Webhook",- form: FormWebhook,- },- opsgenie: {- icon: OpsGenieIcon,- label: "OpsGenie",- form: undefined,- },- pagerduty: {- icon: PagerDutyIcon,- label: "PagerDuty",- form: undefined,- },-};--export type NotifierProvider = keyof typeof config;diff --git a/apps/status-page/src/data/notifiers.ts b/apps/status-page/src/data/notifiers.tsdeleted file mode 100644index 6937601e2..000000000--- a/apps/status-page/src/data/notifiers.ts+++ /dev/null@@ -1,10 +0,0 @@-export const notifiers = [- {- id: 1,- name: "Email",- provider: "email",- value: "[email protected]",- },-];--export type Notifier = (typeof notifiers)[number];diff --git a/apps/status-page/src/data/subscribers.ts b/apps/status-page/src/data/subscribers.tsdeleted file mode 100644index 40c5584c1..000000000--- a/apps/status-page/src/data/subscribers.ts+++ /dev/null@@ -1,16 +0,0 @@-export const subscribers = [- {- id: "1",- email: "[email protected]",- createdAt: "2025-05-20",- validatedAt: "2025-05-20",- },- {- id: "2",- email: "[email protected]",- createdAt: "2025-05-20",- validatedAt: "2025-05-20",- },-];--export type Subscriber = (typeof subscribers)[number];diff --git a/apps/status-page/src/next-auth.d.ts b/apps/status-page/src/next-auth.d.tsnew file mode 100644index 000000000..1b70e4384--- /dev/null+++ b/apps/status-page/src/next-auth.d.ts@@ -0,0 +1,5 @@+import type { User as DefaultUserSchema } from "@openstatus/db/src/schema";++declare module "next-auth" {+ interface User extends DefaultUserSchema {}+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 00ea9b554..fa008fcff 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -64,7 +64,7 @@ importers:version: 0.15.9([email protected])([email protected])'@openpanel/nextjs':specifier: 1.0.8- version: 1.0.8([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@openstatus/analytics':specifier: workspace:*version: link:../../packages/analytics@@ -181,7 +181,7 @@ importers:version: 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: 8.46.0- version: 8.46.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 8.46.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@stripe/stripe-js':specifier: 2.1.6version: 2.1.6@@ -196,7 +196,7 @@ importers:'@trpc/next':specifier: 11.4.4- version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])'@trpc/react-query':specifier: 11.4.4version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])@@ -232,7 +232,7 @@ importers:nuqs:specifier: 2.4.3- version: 2.4.3([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.4.3([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])random-word-slugs:specifier: 0.1.7version: 0.1.7@@ -486,6 +486,12 @@ importers:apps/status-page:dependencies:+ '@auth/core':+ specifier: 0.40.0+ version: 0.40.0+ '@auth/drizzle-adapter':+ specifier: 1.10.0+ version: 1.10.0'@date-fns/tz':specifier: 1.2.0version: 1.2.0@@ -515,7 +521,7 @@ importers:version: 0.15.9([email protected])([email protected])'@openpanel/nextjs':specifier: 1.0.8- version: 1.0.8([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@openstatus/analytics':specifier: workspace:*version: link:../../packages/analytics@@ -632,7 +638,10 @@ importers:version: 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: 8.46.0- version: 8.46.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 8.46.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ '@stripe/stripe-js':+ specifier: 2.1.6+ version: 2.1.6'@tanstack/react-query':specifier: 5.81.5version: 5.81.5([email protected])@@ -644,7 +653,7 @@ importers:'@trpc/next':specifier: 11.4.4- version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])'@trpc/react-query':specifier: 11.4.4version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])@@ -672,12 +681,18 @@ importers:next:specifier: 15.4.7version: 15.4.7(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next-auth:+ specifier: 5.0.0-beta.29+ version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])next-themes:specifier: 0.4.6nuqs:specifier: 2.4.3- version: 2.4.3([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.4.3([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ random-word-slugs:+ specifier: 0.1.7+ version: 0.1.7react:specifier: 19.1.1version: 19.1.1@@ -708,6 +723,9 @@ importers:sonner:specifier: 2.0.5+ stripe:+ specifier: 13.8.0+ version: 13.8.0superjson:specifier: 2.2.2version: 2.2.2@@ -724,6 +742,9 @@ importers:'@tailwindcss/postcss':specifier: 4.1.11version: 4.1.11+ '@types/dom-speech-recognition':+ specifier: 0.0.6+ version: 0.0.6'@types/node':specifier: 24.0.8version: 24.0.8@@ -765,7 +786,7 @@ importers:version: 0.14.0([email protected])([email protected])'@openpanel/nextjs':specifier: ^1.0.8- version: 1.0.8([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@openstatus/analytics':specifier: workspace:*version: link:../../packages/analytics@@ -14663,7 +14684,7 @@ snapshots:'@openpanel/web': 1.0.1astro: 5.12.2(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- '@openpanel/[email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':+ '@openpanel/[email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':dependencies:'@openpanel/web': 1.0.1next: 15.4.7(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])@@ -16683,7 +16704,7 @@ snapshots:'@sentry/types': 8.9.2'@sentry/utils': 8.9.2- '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))':+ '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/semantic-conventions': 1.28.0@@ -16694,7 +16715,7 @@ snapshots:'@sentry/opentelemetry': 8.46.0(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])'@sentry/react': 8.46.0([email protected])'@sentry/vercel-edge': 8.46.0+ '@sentry/webpack-plugin': 2.22.7([email protected])([email protected])chalk: 3.0.0next: 15.4.7(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])resolve: 1.22.8@@ -16709,7 +16730,7 @@ snapshots:- supports-color- webpack- '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':+ '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))':dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/semantic-conventions': 1.28.0@@ -16720,7 +16741,7 @@ snapshots:'@sentry/opentelemetry': 8.46.0(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])'@sentry/react': 8.46.0([email protected])'@sentry/vercel-edge': 8.46.0- '@sentry/webpack-plugin': 2.22.7([email protected])([email protected])chalk: 3.0.0next: 15.4.7(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])resolve: 1.22.8@@ -17432,7 +17453,7 @@ snapshots:'@tanstack/react-query': 5.80.7([email protected])'@trpc/react-query': 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])- '@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])':+ '@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])':dependencies:'@trpc/server': 11.4.4([email protected])@@ -21779,7 +21800,7 @@ snapshots:optionalDependencies:next: 15.4.7(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])- [email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]):+ [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]):dependencies:mitt: 3.0.1react: 19.1.1