The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Small changes
Joshen Lim86a743b96489
diff --git a/studio/components/layouts/AppLayout/ProjectDropdown.tsx b/studio/components/layouts/AppLayout/ProjectDropdown.tsxindex 73c0440d8ec..97c4f12ca61 100644--- a/studio/components/layouts/AppLayout/ProjectDropdown.tsx+++ b/studio/components/layouts/AppLayout/ProjectDropdown.tsx@@ -11,6 +11,7 @@ import {CommandItem_Shadcn_,CommandList_Shadcn_,Command_Shadcn_,+ IconCheck,IconCode,IconPlus,PopoverContent_Shadcn_,@@ -24,6 +25,7 @@ import { useProjectSubscriptionV2Query } from 'data/subscriptions/project-subscrimport { useSelectedOrganization, useSelectedProject } from 'hooks'import { IS_PLATFORM, PROJECT_STATUS } from 'lib/constants'import { Organization, Project } from 'types'+import { useParams } from 'common'// [Fran] the idea is to let users change projects without losing the current page,// but at the same time we need to redirect correctly between urls that might be@@ -58,6 +60,7 @@ const ProjectLink = ({setOpen: (value: boolean) => void}) => {const router = useRouter()+ const { ref } = useParams()const sanitizedRoute = sanitizeRoute(router.route, router.query)const isOrgBilling = !!organization?.subscription_id@@ -81,7 +84,10 @@ const ProjectLink = ({onSelect={() => setOpen(false)}><Link passHref href={href}>- <a className="w-full">{project.name}</a>+ <a className="w-full flex items-center justify-between">+ <span>{project.name}</span>+ {project.ref === ref && <IconCheck className="text-brand-900" />}+ </a></Link></CommandItem_Shadcn_>)diff --git a/studio/components/layouts/AppLayout/UserSettingsDropdown.tsx b/studio/components/layouts/AppLayout/UserSettingsDropdown.tsxindex 4d061e31805..97596d64fe9 100644--- a/studio/components/layouts/AppLayout/UserSettingsDropdown.tsx+++ b/studio/components/layouts/AppLayout/UserSettingsDropdown.tsx@@ -63,7 +63,7 @@ const UserSettingsDropdown = () => {</DropdownMenuItem_Shadcn_><DropdownMenuSeparator_Shadcn_ className="bg-scale-500" /><DropdownMenuItem_Shadcn_ className="cursor-pointer" onClick={() => setIsOpen(true)}>- <span>Quick search</span>+ <span>Command menu</span><DropdownMenuShortcut_Shadcn_>⌘K</DropdownMenuShortcut_Shadcn_></DropdownMenuItem_Shadcn_><DropdownMenuSeparator_Shadcn_ className="bg-scale-500" />