The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add more links
Terry Sutton34e209391dbe
diff --git a/packages/ui/src/components/Command/CommandMenu.tsx b/packages/ui/src/components/Command/CommandMenu.tsxindex 7e01549382c..a7ac9f14083 100644--- a/packages/ui/src/components/Command/CommandMenu.tsx+++ b/packages/ui/src/components/Command/CommandMenu.tsx@@ -40,13 +40,13 @@ interface IActions {toggleTheme: () => void}-const iconComponents = {+const iconPicker = {+ arrowRight: <IconArrowRight />,book: <IconBook />,+ inbox: <IconInbox />,}const SearchOnlyItem = (props: any) => {- const icon = iconComponents[props.icon]- console.log('props', props)const search = useCommandState((state) => state.search)// if search is empty & items is marked as a subItem, don't show it// ie: only show these items in search results, not top level@@ -218,7 +218,7 @@ const CommandMenu = () => {</CommandItem></CommandGroup>- <CommandGroup heading="Jump to">+ <CommandGroup heading="Navigation">{navItems.docsTools.map((item) => (<CommandItem onSelect={() => router.push(item.url)}><IconArrowRight className="text-scale-900" />@@ -241,37 +241,20 @@ const CommandMenu = () => {</CommandGroup><CommandGroup heading="General">- <CommandItem onSelect={() => router.push('https://supabase.com/changelog')}>- <IconInbox className="text-scale-900" />- <CommandLabel>Read the Changelog</CommandLabel>- </CommandItem>+ {navItems.docsGeneral.map((item) => (+ <CommandItem onSelect={() => router.push(item.url)}>+ {item.icon && iconPicker[item.icon]}+ <CommandLabel>{item.label}</CommandLabel>+ </CommandItem>+ ))}+ </CommandGroup>++ <CommandGroup heading="Settings"><CommandItem onSelect={() => handleSetPages([...pages, 'Theme'], false)}><IconMonitor className="mr-2" />Change theme</CommandItem></CommandGroup>- <CommandGroup heading="Settings">- <CommandItem onSelect={() => handleSetPages([...pages, 'api-keys'], true)}>- <CreditCard className="text-scale-900" />- <CommandLabel>API keys</CommandLabel>- <CommandShortcut>⌘B</CommandShortcut>- </CommandItem>- <CommandItem>- <User className="text-scale-900" />- <CommandLabel>Profile</CommandLabel>- <CommandShortcut>⌘P</CommandShortcut>- </CommandItem>- <CommandItem>- <CreditCard className="text-scale-900" />- <CommandLabel>Billing</CommandLabel>- <CommandShortcut>⌘B</CommandShortcut>- </CommandItem>- <CommandItem>- <Settings className="text-scale-900" />- <CommandLabel>Settings</CommandLabel>- <CommandShortcut>⌘S</CommandShortcut>- </CommandItem>- </CommandGroup><ThemeOptions isSubItem /><SearchableChildItems isSubItem />@@ -399,7 +382,7 @@ const CommandMenu = () => {setIsOpen(false)}}>- <CommandLabel>Grab api keys</CommandLabel>+ <CommandLabel>Toggle theme</CommandLabel></CommandItem></CommandGroup><ThemeOptions />diff --git a/packages/ui/src/components/Command/command-nav-items.json b/packages/ui/src/components/Command/command-nav-items.jsonindex baa5d762621..c12948d2e88 100644--- a/packages/ui/src/components/Command/command-nav-items.json+++ b/packages/ui/src/components/Command/command-nav-items.json@@ -80,5 +80,17 @@"label": "Github Discussions","url": "https://github.com/supabase/supabase/discussions"}+ ],+ "docsGeneral": [+ {+ "icon": "arrowRight",+ "label": "Go to the Dashboard",+ "url": "https://app.supabase.io"+ },+ {+ "icon": "inbox",+ "label": "Read the Changelog",+ "url": "https://supabase.com/changelog"+ }]}