The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Opt to use HoverCard instead of Popover for project status (#45575)
Joshen Limd6a859101999
diff --git a/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx b/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsxindex 754d6d82907..e706e00ee5c 100644--- a/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx+++ b/apps/studio/components/interfaces/ProjectHome/ServiceStatus.tsx@@ -2,7 +2,7 @@ import { useParams } from 'common'import dayjs from 'dayjs'import { ChevronRight, Loader2 } from 'lucide-react'import Link from 'next/link'-import { cn, InfoIcon, Popover_Shadcn_, PopoverContent_Shadcn_, PopoverTrigger_Shadcn_ } from 'ui'+import { cn, HoverCard, HoverCardContent, HoverCardTrigger, InfoIcon } from 'ui'import {extractDbSchema,@@ -240,8 +240,8 @@ export const ServiceStatus = () => {const overallStatusLabel = getOverallStatusLabel()return (- <Popover_Shadcn_>- <PopoverTrigger_Shadcn_>+ <HoverCard openDelay={200} closeDelay={100}>+ <HoverCardTrigger><SingleStaticon={// Spinner only while the overall project is in COMING_UP; otherwise show 6-dot grid@@ -270,8 +270,8 @@ export const ServiceStatus = () => {label={<span>Status</span>}value={<span>{overallStatusLabel}</span>}/>- </PopoverTrigger_Shadcn_>- <PopoverContent_Shadcn_ className="p-0 w-60" side="bottom" align="start">+ </HoverCardTrigger>+ <HoverCardContent className="p-0 w-60" side="bottom" align="start">{services.map((service) => (<Linkhref={`/project/${ref}${service.logsUrl}`}@@ -327,7 +327,7 @@ export const ServiceStatus = () => {</div></div>)}- </PopoverContent_Shadcn_>- </Popover_Shadcn_>+ </HoverCardContent>+ </HoverCard>)}