The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat(studio): add "create" command menu commands (#41473)
Francesco Sansalvadore5213e681b4bc
diff --git a/apps/studio/components/interfaces/App/CommandMenu/ApiKeys.tsx b/apps/studio/components/interfaces/App/CommandMenu/ApiKeys.tsxindex f796154f6da..368c0ddf8ec 100644--- a/apps/studio/components/interfaces/App/CommandMenu/ApiKeys.tsx+++ b/apps/studio/components/interfaces/App/CommandMenu/ApiKeys.tsx@@ -146,7 +146,7 @@ export function useApiKeysCommands() {[{id: 'api-keys',- name: 'Get API keys',+ name: 'Get API keys...',action: () => setPage(API_KEYS_PAGE_NAME),icon: () => <Key />,},diff --git a/apps/studio/components/interfaces/App/CommandMenu/CommandMenu.tsx b/apps/studio/components/interfaces/App/CommandMenu/CommandMenu.tsxindex 057d3b7d70d..fbbbd80df0f 100644--- a/apps/studio/components/interfaces/App/CommandMenu/CommandMenu.tsx+++ b/apps/studio/components/interfaces/App/CommandMenu/CommandMenu.tsx@@ -17,6 +17,7 @@ import { useApiUrlCommand } from './ApiUrl'import { useProjectSwitchCommand, useConfigureOrganizationCommand } from './OrgProjectSwitcher'import { useSupportCommands } from './Support'import { orderCommandSectionsByPriority } from './ordering'+import { useCreateCommands } from './CreateCommands'export default function StudioCommandMenu() {useApiKeysCommands()@@ -38,6 +39,7 @@ export default function StudioCommandMenu() {useSupportCommands()useChangelogCommand({ enabled: IS_PLATFORM })useThemeSwitcherCommands()+ useCreateCommands()return (<CommandMenu>diff --git a/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.tsx b/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.tsxnew file mode 100644index 00000000000..c0a5a32901d--- /dev/null+++ b/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.tsx@@ -0,0 +1,478 @@+'use client'++import { useMemo } from 'react'+import dynamic from 'next/dynamic'+import { IS_PLATFORM, useFlag } from 'common'+import {+ Code2,+ KeyRound,+ ListChecks,+ LockKeyhole,+ Plus,+ Rows,+ Vault,+ ShieldPlus,+ UserCog,+ UserPlus,+ Webhook,+ Zap,+ Table2,+ MessageCircle,+ Mail,+ Lock,+ Telescope,+ Clock5,+ Layers,+} from 'lucide-react'+import {+ PageType,+ useRegisterCommands,+ useRegisterPage,+ useSetCommandMenuOpen,+} from 'ui-patterns/CommandMenu'+import { COMMAND_MENU_SECTIONS } from './CommandMenu.utils'+import { SIDEBAR_KEYS } from 'components/layouts/ProjectLayout/LayoutSidebar/LayoutSidebarProvider'+import {+ useCreateCommandsConfig,+ getIntegrationRoute,+ getIntegrationCommandName,+} from './CreateCommands.utils'+import type { CommandOptions } from 'ui-patterns/CommandMenu'+import type { ICommand } from 'ui-patterns/CommandMenu'++const AiIconAnimation = dynamic(() => import('ui').then((mod) => mod.AiIconAnimation))+const Badge = dynamic(() => import('ui').then((mod) => mod.Badge))+const EdgeFunctions = dynamic(() => import('icons').then((mod) => mod.EdgeFunctions))+const AnalyticsBucket = dynamic(() => import('icons').then((mod) => mod.AnalyticsBucket))+const FilesBucket = dynamic(() => import('icons').then((mod) => mod.FilesBucket))+const VectorBucket = dynamic(() => import('icons').then((mod) => mod.VectorBucket))+const Graphql = dynamic(() => import('icons').then((mod) => mod.Graphql))++const CREATE_STUDIO_ENTITY = 'Create Studio Entity'++export function useCreateCommands(options?: CommandOptions) {+ const enableCreateCommands = useFlag('enablecreatecommands')+ const setIsOpen = useSetCommandMenuOpen()+ const {+ ref,+ setPage,+ openSidebar,+ snap,+ authenticationOauth21,+ authEnabled,+ edgeFunctionsEnabled,+ storageEnabled,+ sendSmsHook,+ sendEmailHook,+ customAccessTokenHook,+ mfaVerificationHook,+ mfaVerificationHookEnabled,+ passwordVerificationHook,+ passwordVerificationHookEnabled,+ beforeUserCreatedHook,+ isFreePlan,+ isVectorBucketsEnabled,+ isAnalyticsBucketsEnabled,+ installedIntegrationIds,+ allIntegrations,+ reportsEnabled,+ } = useCreateCommandsConfig()++ const databaseCommands = useMemo(+ () =>+ [+ {+ id: 'create-db-table',+ name: 'Create Table',+ route: `/project/${ref}/editor?create=table`,+ icon: () => <Table2 />,+ },+ {+ id: 'create-db-index',+ name: 'Create Index',+ route: `/project/${ref}/database/indexes?new=true`,+ icon: () => <Rows />,+ },+ {+ id: 'create-db-function',+ name: 'Create Database Function',+ route: `/project/${ref}/database/functions?new=true`,+ icon: () => <Code2 />,+ },+ {+ id: 'create-db-enum',+ name: 'Create Enumerated Type',+ route: `/project/${ref}/database/types?new=true`,+ icon: () => <ListChecks />,+ },+ {+ id: 'create-db-trigger',+ name: 'Create Database Trigger',+ route: `/project/${ref}/database/triggers?new=true`,+ icon: () => <Zap />,+ },+ {+ id: 'create-db-role',+ name: 'Create Database Role',+ route: `/project/${ref}/database/roles?new=true`,+ icon: () => <UserCog />,+ },+ ].filter(Boolean) as ICommand[],+ [ref]+ )++ const authCommands = useMemo(+ () =>+ authEnabled+ ? ([+ {+ id: 'create-auth-user',+ name: 'Create Auth User',+ route: `/project/${ref}/auth/users?new=true`,+ icon: () => <UserPlus />,+ },+ {+ id: 'create-rls-policy',+ name: 'Create RLS Policy',+ route: `/project/${ref}/auth/policies?new=true`,+ icon: () => <ShieldPlus />,+ },+ ...(IS_PLATFORM+ ? [+ {+ id: 'create-auth-hook-sms',+ name: 'Create Auth Hook (SMS)',+ route: `/project/${ref}/auth/hooks?hook=${sendSmsHook?.id}`,+ icon: () => <MessageCircle />,+ },+ {+ id: 'create-auth-hook-email',+ name: 'Create Auth Hook (Email)',+ route: `/project/${ref}/auth/hooks?hook=${sendEmailHook?.id}`,+ icon: () => <Mail />,+ },+ {+ id: 'create-auth-hook-custom-access-token',+ name: 'Create Auth Hook (Custom Access Token)',+ route: `/project/${ref}/auth/hooks?hook=${customAccessTokenHook?.id}`,+ icon: () => <KeyRound />,+ },+ {+ id: 'create-auth-hook-mfa-verification',+ name: 'Create Auth Hook (MFA Verification Attempt)',+ route: `/project/${ref}/auth/hooks?hook=${mfaVerificationHook?.id}`,+ icon: () => <ShieldPlus />,+ badge: () => (mfaVerificationHookEnabled ? <Badge>Team</Badge> : null),+ className: mfaVerificationHookEnabled+ ? 'opacity-50 cursor-not-allowed pointer-events-none'+ : '',+ },+ {+ id: 'create-auth-hook-password-verification',+ name: 'Create Auth Hook (Password Verification Attempt)',+ route: `/project/${ref}/auth/hooks?hook=${passwordVerificationHook?.id}`,+ icon: () => <Lock />,+ badge: () => (passwordVerificationHookEnabled ? <Badge>Team</Badge> : null),+ className: passwordVerificationHookEnabled+ ? 'opacity-50 cursor-not-allowed pointer-events-none'+ : '',+ },+ {+ id: 'create-auth-hook-before-user-created',+ name: 'Create Auth Hook (Before User Created)',+ route: `/project/${ref}/auth/hooks?hook=${beforeUserCreatedHook?.id}`,+ icon: () => <KeyRound />,+ },+ ]+ : []),+ ...(IS_PLATFORM && authenticationOauth21+ ? [+ {+ id: 'create-oauth-app',+ name: 'Create OAuth App',+ route: `/project/${ref}/auth/oauth-apps?new=true`,+ icon: () => <KeyRound />,+ },+ ]+ : []),+ ].filter(Boolean) as ICommand[])+ : [],+ [+ ref,+ authEnabled,+ sendSmsHook,+ sendEmailHook,+ customAccessTokenHook,+ mfaVerificationHook,+ mfaVerificationHookEnabled,+ passwordVerificationHook,+ passwordVerificationHookEnabled,+ beforeUserCreatedHook,+ authenticationOauth21,+ ]+ )++ const edgeFunctionsCommands = useMemo(+ () =>+ edgeFunctionsEnabled+ ? ([+ {+ id: 'create-edge-function-editor',+ name: 'Create Edge Function via Editor',+ route: `/project/${ref}/functions/new`,+ icon: () => <EdgeFunctions />,+ },+ {+ id: 'create-edge-function-cli',+ name: 'Create Edge Function via CLI',+ route: `/project/${ref}/functions?create=cli`,+ icon: () => <EdgeFunctions />,+ },+ {+ id: 'create-edge-function-ai',+ name: 'Create Edge Function via AI',+ action: () => {+ openSidebar(SIDEBAR_KEYS.AI_ASSISTANT)+ snap.newChat({+ name: 'Create new edge function',+ initialInput: `Create a new edge function that ...`,+ suggestions: {+ title:+ 'I can help you create a new edge function. Here are a few example prompts to get you started:',+ prompts: [+ {+ label: 'Stripe Payments',+ description:+ 'Create a new edge function that processes payments with Stripe',+ },+ {+ label: 'Email with Resend',+ description: 'Create a new edge function that sends emails with Resend',+ },+ {+ label: 'PDF Generator',+ description:+ 'Create a new edge function that generates PDFs from HTML templates',+ },+ ],+ },+ })+ setIsOpen(false)+ },+ icon: () => (+ <AiIconAnimation+ allowHoverEffect={false}+ size={20}+ className="text-foreground-light"+ />+ ),+ },+ {+ id: 'create-edge-function-secret',+ name: 'Create Edge Function Secret',+ route: `/project/${ref}/functions/secrets`,+ icon: () => <LockKeyhole />,+ },+ ].filter(Boolean) as ICommand[])+ : [],+ [ref, edgeFunctionsEnabled, openSidebar, snap, setIsOpen]+ )++ const storageCommands = useMemo(+ () =>+ storageEnabled+ ? ([+ {+ id: 'create-storage-bucket-files',+ name: 'Create Storage Bucket (Files)',+ route: `/project/${ref}/storage/files?new=true`,+ icon: () => <FilesBucket />,+ },+ {+ id: 'create-storage-bucket-analytics',+ name: 'Create Storage Bucket (Analytics)',+ route: `/project/${ref}/storage/analytics?new=true`,+ icon: () => <AnalyticsBucket />,+ badge: () => (isFreePlan ? <Badge>Pro</Badge> : null),+ className: !isAnalyticsBucketsEnabled+ ? 'opacity-50 cursor-not-allowed pointer-events-none'+ : '',+ },+ {+ id: 'create-storage-bucket-vectors',+ name: 'Create Storage Bucket (Vectors)',+ route: `/project/${ref}/storage/vectors?new=true`,+ icon: () => <VectorBucket />,+ badge: () => (isFreePlan ? <Badge>Pro</Badge> : null),+ className: !isVectorBucketsEnabled+ ? 'opacity-50 cursor-not-allowed pointer-events-none'+ : '',+ },+ ].filter(Boolean) as ICommand[])+ : [],+ [ref, storageEnabled, isFreePlan, isAnalyticsBucketsEnabled, isVectorBucketsEnabled]+ )++ const integrationsCommands = useMemo(() => {+ // Sort integrations: Postgres modules (non-wrappers) first, then wrappers+ const sortedIntegrations = [...allIntegrations].sort((a, b) => {+ const aIsWrapper = a.type === 'wrapper' ? 1 : 0+ const bIsWrapper = b.type === 'wrapper' ? 1 : 0+ return aIsWrapper - bIsWrapper+ })++ return sortedIntegrations+ .map((integration) => {+ const route = getIntegrationRoute(integration, ref, installedIntegrationIds)+ if (!route) return null++ const isWrapper = integration.type === 'wrapper'++ // For wrappers, use the integration icon with wrapper styling+ // For Postgres modules, use plain icons+ const getIcon = () => {+ if (isWrapper) {+ return (+ <div className="w-6 h-6 relative bg-white border rounded-md flex items-center justify-center [&>img]:!p-1 [&>svg]:!p-1">+ {integration.icon()}+ </div>+ )+ }++ // Use plain icons for Postgres modules+ switch (integration.id) {+ case 'vault':+ return <Vault />+ case 'cron':+ return <Clock5 />+ case 'webhooks':+ return <Webhook />+ case 'queues':+ return <Layers />+ case 'graphiql':+ return <Graphql />+ default:+ // Fallback to integration icon for other Postgres modules+ return integration.icon()+ }+ }++ return {+ id: `create-integration-${integration.id}`,+ name: getIntegrationCommandName(integration),+ route,+ icon: getIcon,+ }+ })+ .filter(Boolean) as ICommand[]+ }, [ref, allIntegrations, installedIntegrationIds])++ const observabilityCommands = useMemo(+ () => [+ ...(IS_PLATFORM && reportsEnabled+ ? ([+ {+ id: 'create-observability-report',+ name: 'Create Custom Report',+ route: `/project/${ref}/observability/api-overview?newReport=true`,+ icon: () => <Telescope />,+ },+ ].filter(Boolean) as ICommand[])+ : []),+ ],+ [ref, reportsEnabled]+ )++ const sections = useMemo(+ () => [+ {+ id: 'create-database',+ name: 'Database',+ commands: databaseCommands,+ },+ ...(authCommands.length > 0+ ? [+ {+ id: 'create-auth',+ name: 'Auth',+ commands: authCommands,+ },+ ]+ : []),+ ...(edgeFunctionsCommands.length > 0+ ? [+ {+ id: 'create-edge-functions',+ name: 'Edge Functions',+ commands: edgeFunctionsCommands,+ },+ ]+ : []),+ ...(storageCommands.length > 0+ ? [+ {+ id: 'create-storage',+ name: 'Storage',+ commands: storageCommands,+ },+ ]+ : []),+ ...(observabilityCommands.length > 0+ ? [+ {+ id: 'create-observability',+ name: 'Observability',+ commands: observabilityCommands,+ },+ ]+ : []),+ ...(integrationsCommands.length > 0+ ? [+ {+ id: 'create-integrations',+ name: 'Integrations',+ commands: integrationsCommands,+ },+ ]+ : []),+ ],+ [+ databaseCommands,+ authCommands,+ edgeFunctionsCommands,+ storageCommands,+ integrationsCommands,+ observabilityCommands,+ ]+ )++ useRegisterPage(+ CREATE_STUDIO_ENTITY,+ {+ type: PageType.Commands,+ sections,+ },+ {+ deps: [sections],+ enabled: enableCreateCommands,+ }+ )++ useRegisterCommands(+ COMMAND_MENU_SECTIONS.ACTIONS,+ [+ {+ id: 'create-studio-entity',+ name: 'Create...',+ action: () => setPage(CREATE_STUDIO_ENTITY),+ icon: () => <Plus />,+ },+ ],+ {+ ...options,+ orderSection: (sections) => sections,+ sectionMeta: { priority: 3 },+ enabled: enableCreateCommands,+ }+ )+}diff --git a/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.utils.tsx b/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.utils.tsxnew file mode 100644index 00000000000..f336b40a4ba--- /dev/null+++ b/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.utils.tsx@@ -0,0 +1,197 @@+import { useMemo } from 'react'+import { useFlag, useParams } from 'common'+import { useAuthConfigQuery } from 'data/auth/auth-config-query'+import { useCheckEntitlements } from 'hooks/misc/useCheckEntitlements'+import { extractMethod, isValidHook } from 'components/interfaces/Auth/Hooks/hooks.utils'+import { HOOKS_DEFINITIONS } from 'components/interfaces/Auth/Hooks/hooks.constants'+import {+ useIsVectorBucketsEnabled,+ useIsAnalyticsBucketsEnabled,+} from 'data/config/project-storage-config-query'+import { useInstalledIntegrations } from 'components/interfaces/Integrations/Landing/useInstalledIntegrations'+import { useIsFeatureEnabled } from 'hooks/misc/useIsFeatureEnabled'+import { useSetPage } from 'ui-patterns/CommandMenu'+import { useSidebarManagerSnapshot } from 'state/sidebar-manager-state'+import { useAiAssistantStateSnapshot } from 'state/ai-assistant-state'+import { useSelectedOrganizationQuery } from 'hooks/misc/useSelectedOrganization'+import {+ type IntegrationDefinition,+ INTEGRATIONS,+} from 'components/interfaces/Integrations/Landing/Integrations.constants'+import type { Hook } from 'components/interfaces/Auth/Hooks/hooks.constants'++export function getIntegrationRoute(+ integration: IntegrationDefinition,+ ref: string,+ installedIntegrationIds: Set<string>+): string | null {+ // For wrappers, route to overview with new=true (always available if wrappers feature is enabled)+ if (integration.type === 'wrapper') {+ return `/project/${ref}/integrations/${integration.id}/overview?new=true`+ }++ // For non-wrapper integrations, check if installed and determine route+ if (!installedIntegrationIds.has(integration.id)) {+ return null+ }++ // Map integration IDs to their create routes+ switch (integration.id) {+ case 'vault':+ return `/project/${ref}/integrations/vault/secrets?new=true`+ case 'cron':+ return `/project/${ref}/integrations/cron/jobs?new=true`+ case 'webhooks':+ return `/project/${ref}/integrations/webhooks/webhooks?new=true`+ case 'queues':+ return `/project/${ref}/integrations/queues/queues?new=true`+ default: {+ // For other integrations, try to find a navigation route that's not 'overview'+ const createRoute = integration.navigation?.find((nav) => nav.route !== 'overview')+ if (createRoute) {+ return `/project/${ref}/integrations/${integration.id}/${createRoute.route}?new=true`+ }+ return null+ }+ }+}++export function getIntegrationCommandName(integration: IntegrationDefinition): string {+ if (integration.type === 'wrapper') {+ // Extract the wrapper name (e.g., "Stripe Wrapper" -> "Stripe")+ const wrapperName = integration.name.replace(' Wrapper', '')+ return `Add ${wrapperName} wrapper`+ }++ // Map integration IDs to their command names+ switch (integration.id) {+ case 'vault':+ return 'Create Vault Secret'+ case 'cron':+ return 'Create Cron Job'+ case 'webhooks':+ return 'Create Webhook'+ case 'queues':+ return 'Create Queue'+ default:+ return `Create ${integration.name}`+ }+}++export function useCreateCommandsConfig() {+ let { ref } = useParams()+ ref ||= '_'+ const setPage = useSetPage()+ const { openSidebar } = useSidebarManagerSnapshot()+ const snap = useAiAssistantStateSnapshot()++ // Auth+ const authenticationOauth21 = useFlag('EnableOAuth21')++ const {+ projectAuthAll: authEnabled,+ projectEdgeFunctionAll: edgeFunctionsEnabled,+ projectStorageAll: storageEnabled,+ reportsAll: reportsEnabled,+ } = useIsFeatureEnabled([+ 'project_auth:all',+ 'project_edge_function:all',+ 'project_storage:all',+ 'reports:all',+ ])++ const {+ data: authConfig,+ isError: isAuthConfigError,+ isPending: isAuthConfigLoading,+ } = useAuthConfigQuery({ projectRef: ref })++ const { getEntitlementSetValues: getEntitledHookSet } = useCheckEntitlements('auth.hooks')+ const entitledHookSet = getEntitledHookSet()++ const { nonAvailableHooks } = useMemo(() => {+ const allHooks: Hook[] = HOOKS_DEFINITIONS.map((definition) => ({+ ...definition,+ enabled: authConfig?.[definition.enabledKey] || false,+ method: extractMethod(+ authConfig?.[definition.uriKey] || '',+ authConfig?.[definition.secretsKey] || ''+ ),+ }))++ const nonAvailableHooks: string[] = allHooks+ .filter((h) => !isValidHook(h) && !entitledHookSet.includes(h.entitlementKey))+ .map((h) => h.entitlementKey)++ return { nonAvailableHooks }+ }, [entitledHookSet, authConfig])++ const showAuthConfig = !isAuthConfigError && !isAuthConfigLoading++ const sendSmsHook = HOOKS_DEFINITIONS.find((hook) => hook.id === 'send-sms')+ const sendEmailHook = HOOKS_DEFINITIONS.find((hook) => hook.id === 'send-email')+ const customAccessTokenHook = HOOKS_DEFINITIONS.find(+ (hook) => hook.id === 'custom-access-token-claims'+ )+ const mfaVerificationHook = HOOKS_DEFINITIONS.find(+ (hook) => hook.id === 'mfa-verification-attempt'+ )+ const mfaVerificationHookEnabled =+ showAuthConfig &&+ mfaVerificationHook &&+ nonAvailableHooks.includes(mfaVerificationHook.entitlementKey)+ const passwordVerificationHook = HOOKS_DEFINITIONS.find(+ (hook) => hook.id === 'password-verification-attempt'+ )+ const passwordVerificationHookEnabled =+ showAuthConfig &&+ passwordVerificationHook &&+ nonAvailableHooks.includes(passwordVerificationHook.entitlementKey)+ const beforeUserCreatedHook = HOOKS_DEFINITIONS.find((hook) => hook.id === 'before-user-created')++ // Storage+ const { data: organization } = useSelectedOrganizationQuery()+ const isFreePlan = organization?.plan.id === 'free'+ const isVectorBucketsEnabled = useIsVectorBucketsEnabled({ projectRef: ref })+ const isAnalyticsBucketsEnabled = useIsAnalyticsBucketsEnabled({ projectRef: ref })++ // Integrations+ const { installedIntegrations } = useInstalledIntegrations()++ const installedIntegrationIds = useMemo(+ () => new Set(installedIntegrations.map((integration) => integration.id)),+ [installedIntegrations]+ )++ const { integrationsWrappers } = useIsFeatureEnabled(['integrations:wrappers'])++ const allIntegrations = integrationsWrappers+ ? INTEGRATIONS+ : INTEGRATIONS.filter((x) => !x.id.endsWith('_wrapper'))++ return {+ ref,+ setPage,+ openSidebar,+ snap,+ authenticationOauth21,+ authEnabled,+ edgeFunctionsEnabled,+ storageEnabled,+ sendSmsHook,+ sendEmailHook,+ customAccessTokenHook,+ mfaVerificationHook,+ mfaVerificationHookEnabled,+ passwordVerificationHook,+ passwordVerificationHookEnabled,+ beforeUserCreatedHook,+ isFreePlan,+ isVectorBucketsEnabled,+ isAnalyticsBucketsEnabled,+ installedIntegrationIds,+ integrationsWrappers,+ allIntegrations,+ reportsEnabled,+ }+}diff --git a/apps/studio/components/interfaces/App/CommandMenu/OrgProjectSwitcher.tsx b/apps/studio/components/interfaces/App/CommandMenu/OrgProjectSwitcher.tsxindex a0244db8bb1..71a891f3921 100644--- a/apps/studio/components/interfaces/App/CommandMenu/OrgProjectSwitcher.tsx+++ b/apps/studio/components/interfaces/App/CommandMenu/OrgProjectSwitcher.tsx@@ -45,7 +45,7 @@ export function useProjectSwitchCommand() {[{id: 'switch-project',- name: 'Switch project',+ name: 'Switch project...',value: 'Switch project, Change project, Select project',action: () => setPage(PROJECT_SWITCHER_PAGE_NAME),icon: () => <Wrench />,@@ -87,7 +87,7 @@ export function useConfigureOrganizationCommand() {[{id: 'configure-organization',- name: 'Configure organization',+ name: 'Configure organization...',value: 'Configure organization, Change organization, Select organization',action: () => setPage(ORGANIZATION_SWITCHER_PAGE_NAME),icon: () => <Building />,diff --git a/apps/studio/components/interfaces/Auth/OAuthApps/OAuthAppsList.tsx b/apps/studio/components/interfaces/Auth/OAuthApps/OAuthAppsList.tsxindex 7a0fc73afa8..73be6ff767d 100644--- a/apps/studio/components/interfaces/Auth/OAuthApps/OAuthAppsList.tsx+++ b/apps/studio/components/interfaces/Auth/OAuthApps/OAuthAppsList.tsx@@ -2,7 +2,7 @@ import type { OAuthClient } from '@supabase/supabase-js'import { Edit, MoreVertical, Plus, RotateCw, Search, Trash, X } from 'lucide-react'import Link from 'next/link'import { parseAsBoolean, parseAsStringLiteral, useQueryState } from 'nuqs'-import { useMemo, useRef, useState } from 'react'+import { useEffect, useMemo, useRef, useState } from 'react'import { toast } from 'sonner'import { useParams } from 'common'@@ -96,6 +96,13 @@ export const OAuthAppsList = () => {parseAsBoolean.withDefault(false).withOptions({ history: 'push', clearOnDefault: true }))+ // Prevent opening the create sheet if OAuth Server is disabled+ useEffect(() => {+ if (!isOAuthServerEnabled && showCreateSheet) {+ setShowCreateSheet(false)+ }+ }, [isOAuthServerEnabled, showCreateSheet, setShowCreateSheet])+const { setValue: setSelectedAppToEdit, value: appToEdit } = useQueryStateWithSelect({urlKey: 'edit',select: (client_id: string) =>@@ -188,6 +195,10 @@ export const OAuthAppsList = () => {}}+ const isCreateMode = showCreateSheet && isOAuthServerEnabled+ const isEditMode = !!appToEdit+ const isCreateOrUpdateSheetVisible = isCreateMode || isEditMode+if (isAuthConfigLoading || (isOAuthServerEnabled && isLoading)) {return <GenericSkeletonLoader />}@@ -404,7 +415,7 @@ export const OAuthAppsList = () => {</div><CreateOrUpdateOAuthAppSheet- visible={showCreateSheet || !!appToEdit}+ visible={isCreateOrUpdateSheetVisible}appToEdit={appToEdit}onSuccess={(app) => {const isCreating = !appToEditdiff --git a/apps/studio/components/interfaces/EdgeFunctions/DeployEdgeFunctionButton.tsx b/apps/studio/components/interfaces/EdgeFunctions/DeployEdgeFunctionButton.tsxindex d591e1cb74d..c33b20001ad 100644--- a/apps/studio/components/interfaces/EdgeFunctions/DeployEdgeFunctionButton.tsx+++ b/apps/studio/components/interfaces/EdgeFunctions/DeployEdgeFunctionButton.tsx@@ -1,19 +1,14 @@import { ChevronDown, Code, Terminal } from 'lucide-react'+import { parseAsString, useQueryState } from 'nuqs'import { useRouter } from 'next/router'import { useParams } from 'common'-import { TerminalInstructions } from 'components/interfaces/Functions/TerminalInstructions'import { useSendEventMutation } from 'data/telemetry/send-event-mutation'import { useSelectedOrganizationQuery } from 'hooks/misc/useSelectedOrganization'import { useAiAssistantStateSnapshot } from 'state/ai-assistant-state'import {AiIconAnimation,Button,- Dialog,- DialogContent,- DialogSection,- DialogTitle,- DialogTrigger,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -29,6 +24,7 @@ export const DeployEdgeFunctionButton = () => {const snap = useAiAssistantStateSnapshot()const { openSidebar } = useSidebarManagerSnapshot()const { mutate: sendEvent } = useSendEventMutation()+ const [, setCreateMethod] = useQueryState('create', parseAsString)return (<DropdownMenu>@@ -55,35 +51,23 @@ export const DeployEdgeFunctionButton = () => {<p>Write and deploy in the browser</p></div></DropdownMenuItem>- <Dialog>- <DialogTrigger asChild>- <DropdownMenuItem- className="gap-4"- onSelect={(e) => {- e.preventDefault()- sendEvent({- action: 'edge_function_via_cli_button_clicked',- properties: { origin: 'secondary_action' },- groups: { project: ref ?? 'Unknown', organization: org?.slug ?? 'Unknown' },- })- }}- >- <Terminal className="shrink-0" size={16} strokeWidth={1.5} />- <div>- <span className="text-foreground">Via CLI</span>- <p>Write locally, deploy with the CLI</p>- </div>- </DropdownMenuItem>- </DialogTrigger>- <DialogContent size="large">- <DialogTitle className="sr-only">- Create your first Edge Function via the CLI- </DialogTitle>- <DialogSection padding="small">- <TerminalInstructions />- </DialogSection>- </DialogContent>- </Dialog>+ <DropdownMenuItem+ className="gap-4"+ onSelect={() => {+ setCreateMethod('cli')+ sendEvent({+ action: 'edge_function_via_cli_button_clicked',+ properties: { origin: 'secondary_action' },+ groups: { project: ref ?? 'Unknown', organization: org?.slug ?? 'Unknown' },+ })+ }}+ >+ <Terminal className="shrink-0" size={16} strokeWidth={1.5} />+ <div>+ <span className="text-foreground">Via CLI</span>+ <p>Write locally, deploy with the CLI</p>+ </div>+ </DropdownMenuItem><DropdownMenuItemclassName="gap-4"onSelect={() => {diff --git a/apps/studio/components/interfaces/Functions/FunctionsEmptyState.tsx b/apps/studio/components/interfaces/Functions/FunctionsEmptyState.tsxindex fec77905062..caee9cf88b8 100644--- a/apps/studio/components/interfaces/Functions/FunctionsEmptyState.tsx+++ b/apps/studio/components/interfaces/Functions/FunctionsEmptyState.tsx@@ -1,4 +1,5 @@import { Code, Github, Lock, Play, Server, Terminal } from 'lucide-react'+import { parseAsString, useQueryState } from 'nuqs'import Link from 'next/link'import { useRouter } from 'next/router'import { useMemo } from 'react'@@ -34,7 +35,6 @@ import {Separator,} from 'ui'import { EDGE_FUNCTION_TEMPLATES } from './Functions.templates'-import { TerminalInstructions } from './TerminalInstructions'export const FunctionsEmptyState = () => {const { ref } = useParams()@@ -44,6 +44,7 @@ export const FunctionsEmptyState = () => {const { mutate: sendEvent } = useSendEventMutation()const { data: org } = useSelectedOrganizationQuery()+ const [, setCreateMethod] = useQueryState('create', parseAsString)const showStripeExample = useIsFeatureEnabled('edge_functions:show_stripe_example')const templates = useMemo(() => {@@ -145,27 +146,19 @@ export const FunctionsEmptyState = () => {version control.</p>- <Dialog>- <DialogTrigger asChild>- <Button- type="default"- onClick={() =>- sendEvent({- action: 'edge_function_via_cli_button_clicked',- properties: { origin: 'no_functions_block' },- groups: { project: ref ?? 'Unknown', organization: org?.slug ?? 'Unknown' },- })- }- >- View CLI Instructions- </Button>- </DialogTrigger>- <DialogContent size="large">- <DialogSection padding="small">- <TerminalInstructions />- </DialogSection>- </DialogContent>- </Dialog>+ <Button+ type="default"+ onClick={() => {+ setCreateMethod('cli')+ sendEvent({+ action: 'edge_function_via_cli_button_clicked',+ properties: { origin: 'no_functions_block' },+ groups: { project: ref ?? 'Unknown', organization: org?.slug ?? 'Unknown' },+ })+ }}+ >+ View CLI Instructions+ </Button></div></CardContent></Card>diff --git a/apps/studio/components/interfaces/Functions/TerminalInstructions.tsx b/apps/studio/components/interfaces/Functions/TerminalInstructions.tsxindex 648dca7ecc6..79e77e112b0 100644--- a/apps/studio/components/interfaces/Functions/TerminalInstructions.tsx+++ b/apps/studio/components/interfaces/Functions/TerminalInstructions.tsx@@ -124,7 +124,7 @@ export const TerminalInstructions = forwardRef<<CollapsibleContent_Shadcn_ className="w-full transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down"><CommandRender commands={commands} className="my-4" />{tokens && tokens.length === 0 ? (- <div className="px-8 py-4 space-y-3 border-t">+ <div className="py-4 space-y-3 border-t"><div><p className="text-sm text-foreground">You may need to create an access token</p><p className="text-sm text-foreground-light">diff --git a/apps/studio/components/interfaces/Functions/TerminalInstructionsDialog.tsx b/apps/studio/components/interfaces/Functions/TerminalInstructionsDialog.tsxnew file mode 100644index 00000000000..86ac53cd7e7--- /dev/null+++ b/apps/studio/components/interfaces/Functions/TerminalInstructionsDialog.tsx@@ -0,0 +1,25 @@+import { parseAsString, useQueryState } from 'nuqs'++import { Dialog, DialogContent, DialogSection, DialogTitle } from 'ui'+import { TerminalInstructions } from './TerminalInstructions'++export const TerminalInstructionsDialog = () => {+ const [createMethod, setCreateMethod] = useQueryState('create', parseAsString)++ const isOpen = createMethod === 'cli'++ const handleClose = () => {+ setCreateMethod(null)+ }++ return (+ <Dialog open={isOpen} onOpenChange={(open) => !open && handleClose()}>+ <DialogContent size="large">+ <DialogTitle className="sr-only">Create your first Edge Function via the CLI</DialogTitle>+ <DialogSection padding="small">+ <TerminalInstructions closable={false} />+ </DialogSection>+ </DialogContent>+ </Dialog>+ )+}diff --git a/apps/studio/components/layouts/AuthLayout/Auth.Commands.tsx b/apps/studio/components/layouts/AuthLayout/Auth.Commands.tsxindex df1a3f24087..0e11c0742ab 100644--- a/apps/studio/components/layouts/AuthLayout/Auth.Commands.tsx+++ b/apps/studio/components/layouts/AuthLayout/Auth.Commands.tsx@@ -1,8 +1,5 @@-import { Lock } from 'lucide-react'-import { useParams } from 'common'import { COMMAND_MENU_SECTIONS } from 'components/interfaces/App/CommandMenu/CommandMenu.utils'-import { orderCommandSectionsByPriority } from 'components/interfaces/App/CommandMenu/ordering'import { useIsFeatureEnabled } from 'hooks/misc/useIsFeatureEnabled'import type { CommandOptions } from 'ui-patterns/CommandMenu'import { useRegisterCommands } from 'ui-patterns/CommandMenu'@@ -30,26 +27,6 @@ export function useAuthGotoCommands(options?: CommandOptions) {'authentication:performance',])- useRegisterCommands(- 'Actions',- [- {- id: 'create-rls-policy',- name: 'Create RLS policy',- value: 'Create RLS (Row Level Security) policy',- route: `/project/${ref}/auth/policies`,- icon: () => <Lock />,- },- ],- {- ...options,- deps: [ref],- enabled: (options?.enabled ?? true) && ref !== '_',- orderSection: orderCommandSectionsByPriority,- sectionMeta: { priority: 3 },- }- )-useRegisterCommands(COMMAND_MENU_SECTIONS.NAVIGATE,[diff --git a/apps/studio/components/layouts/ObservabilityLayout/ObservabilityMenu.tsx b/apps/studio/components/layouts/ObservabilityLayout/ObservabilityMenu.tsxindex 49ea48661b3..7f6296f9473 100644--- a/apps/studio/components/layouts/ObservabilityLayout/ObservabilityMenu.tsx+++ b/apps/studio/components/layouts/ObservabilityLayout/ObservabilityMenu.tsx@@ -19,6 +19,7 @@ import { InnerSideBarEmptyPanel } from 'ui-patterns'import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal'import { ShimmeringLoader } from 'ui-patterns/ShimmeringLoader'import { ObservabilityMenuItem } from './ObservabilityMenuItem'+import { useQueryState, parseAsBoolean } from 'nuqs'const ObservabilityMenu = () => {const router = useRouter()@@ -74,7 +75,10 @@ const ObservabilityMenu = () => {})const [deleteModalOpen, setDeleteModalOpen] = useState(false)- const [showNewReportModal, setShowNewReportModal] = useState(false)+ const [showNewReportModal, setShowNewReportModal] = useQueryState(+ 'newReport',+ parseAsBoolean.withDefault(false).withOptions({ history: 'push', clearOnDefault: true })+ )const [selectedReportToDelete, setSelectedReportToDelete] = useState<Content>()const [selectedReportToUpdate, setSelectedReportToUpdate] = useState<Content>()diff --git a/apps/studio/components/layouts/ProjectLayout/ProjectContext.tsx b/apps/studio/components/layouts/ProjectLayout/ProjectContext.tsxindex 93626e0d1a0..b17237bc37e 100644--- a/apps/studio/components/layouts/ProjectLayout/ProjectContext.tsx+++ b/apps/studio/components/layouts/ProjectLayout/ProjectContext.tsx@@ -2,7 +2,6 @@ import { PropsWithChildren } from 'react'import { useSelectedProjectQuery } from 'hooks/misc/useSelectedProject'import { PROJECT_STATUS } from 'lib/constants'-import { AiAssistantStateContextProvider } from 'state/ai-assistant-state'import { DatabaseSelectorStateContextProvider } from 'state/database-selector'import { RoleImpersonationStateContextProvider } from 'state/role-impersonation-state'import { StorageExplorerStateContextProvider } from 'state/storage-explorer'@@ -20,15 +19,13 @@ export const ProjectContextProvider = ({return (<TableEditorStateContextProvider key={`table-editor-state-${projectRef}`}><TabsStateContextProvider key={`tabs-state-${projectRef}`}>- <AiAssistantStateContextProvider key={`ai-assistant-state-${projectRef}`}>- <StorageExplorerStateContextProvider key={`storage-explorer-state-${projectRef}`}>- <DatabaseSelectorStateContextProvider key={`database-selector-state-${projectRef}`}>- <RoleImpersonationStateContextProvider key={`role-impersonation-state-${projectRef}`}>- {children}- </RoleImpersonationStateContextProvider>- </DatabaseSelectorStateContextProvider>- </StorageExplorerStateContextProvider>- </AiAssistantStateContextProvider>+ <StorageExplorerStateContextProvider key={`storage-explorer-state-${projectRef}`}>+ <DatabaseSelectorStateContextProvider key={`database-selector-state-${projectRef}`}>+ <RoleImpersonationStateContextProvider key={`role-impersonation-state-${projectRef}`}>+ {children}+ </RoleImpersonationStateContextProvider>+ </DatabaseSelectorStateContextProvider>+ </StorageExplorerStateContextProvider></TabsStateContextProvider></TableEditorStateContextProvider>)diff --git a/apps/studio/components/layouts/ReportsLayout/ReportsMenu.tsx b/apps/studio/components/layouts/ReportsLayout/ReportsMenu.tsxindex 8a4010e2183..6d4f00599ac 100644--- a/apps/studio/components/layouts/ReportsLayout/ReportsMenu.tsx+++ b/apps/studio/components/layouts/ReportsLayout/ReportsMenu.tsx@@ -18,6 +18,7 @@ import { Menu, cn } from 'ui'import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal'import { ShimmeringLoader } from 'ui-patterns/ShimmeringLoader'import { ReportMenuItem } from './ReportMenuItem'+import { useQueryState, parseAsBoolean } from 'nuqs'const ReportsMenu = () => {const router = useRouter()@@ -73,7 +74,10 @@ const ReportsMenu = () => {})const [deleteModalOpen, setDeleteModalOpen] = useState(false)- const [showNewReportModal, setShowNewReportModal] = useState(false)+ const [showNewReportModal, setShowNewReportModal] = useQueryState(+ 'newReport',+ parseAsBoolean.withDefault(false).withOptions({ history: 'push', clearOnDefault: true })+ )const [selectedReportToDelete, setSelectedReportToDelete] = useState<Content>()const [selectedReportToUpdate, setSelectedReportToUpdate] = useState<Content>()diff --git a/apps/studio/components/layouts/SQLEditorLayout/SqlEditor.Commands.tsx b/apps/studio/components/layouts/SQLEditorLayout/SqlEditor.Commands.tsxindex ce4fdd73fd2..198d79e4ee8 100644--- a/apps/studio/components/layouts/SQLEditorLayout/SqlEditor.Commands.tsx+++ b/apps/studio/components/layouts/SQLEditorLayout/SqlEditor.Commands.tsx@@ -76,7 +76,7 @@ export function useSnippetCommands() {[{id: 'run-snippet',- name: 'Run snippet',+ name: 'Run snippet...',icon: () => <Code />,action: () => setPage(SNIPPET_PAGE_NAME),},@@ -287,7 +287,7 @@ export function useQueryTableCommands(options?: CommandOptions) {[{id: 'query-table',- name: 'Query a table',+ name: 'Query a table...',icon: () => <Table2 />,action: () => setPage(QUERY_TABLE_PAGE_NAME),},diff --git a/apps/studio/pages/_app.tsx b/apps/studio/pages/_app.tsxindex fad0d708fa8..47f66371bd9 100644--- a/apps/studio/pages/_app.tsx+++ b/apps/studio/pages/_app.tsx@@ -58,6 +58,7 @@ import { AuthProvider } from 'lib/auth'import { API_URL, BASE_PATH, IS_PLATFORM, useDefaultProvider } from 'lib/constants'import { ProfileProvider } from 'lib/profile'import { Telemetry } from 'lib/telemetry'+import { AiAssistantStateContextProvider } from 'state/ai-assistant-state'import type { AppPropsWithLayout } from 'types'import { SonnerToaster, TooltipProvider } from 'ui'@@ -160,17 +161,19 @@ function CustomApp({ Component, pageProps }: AppPropsWithLayout) {disableTransitionOnChange><AppBannerContextProvider>- <CommandProvider>- <FeaturePreviewContextProvider>- <MainScrollContainerProvider>- {getLayout(<Component {...pageProps} />)}- </MainScrollContainerProvider>- <StudioCommandMenu />- <FeaturePreviewModal />- </FeaturePreviewContextProvider>- <SonnerToaster position="top-right" />- <MonacoThemeProvider />- </CommandProvider>+ <AiAssistantStateContextProvider>+ <CommandProvider>+ <FeaturePreviewContextProvider>+ <MainScrollContainerProvider>+ {getLayout(<Component {...pageProps} />)}+ </MainScrollContainerProvider>+ <StudioCommandMenu />+ <FeaturePreviewModal />+ </FeaturePreviewContextProvider>+ <SonnerToaster position="top-right" />+ <MonacoThemeProvider />+ </CommandProvider>+ </AiAssistantStateContextProvider></AppBannerContextProvider></ThemeProvider></RouteValidationWrapper>diff --git a/apps/studio/pages/project/[ref]/functions/index.tsx b/apps/studio/pages/project/[ref]/functions/index.tsxindex 12b93f1d7f1..1e97837f39d 100644--- a/apps/studio/pages/project/[ref]/functions/index.tsx+++ b/apps/studio/pages/project/[ref]/functions/index.tsx@@ -16,6 +16,7 @@ import {FunctionsEmptyState,FunctionsEmptyStateLocal,} from 'components/interfaces/Functions/FunctionsEmptyState'+import { TerminalInstructionsDialog } from 'components/interfaces/Functions/TerminalInstructionsDialog'import DefaultLayout from 'components/layouts/DefaultLayout'import EdgeFunctionsLayout from 'components/layouts/EdgeFunctionsLayout/EdgeFunctionsLayout'import AlertError from 'components/ui/AlertError'@@ -199,6 +200,7 @@ EdgeFunctionsPage.getLayout = (page: React.ReactElement) => {{page}</div></EdgeFunctionsLayout>+ <TerminalInstructionsDialog /></DefaultLayout>)}diff --git a/apps/studio/pages/project/[ref]/observability/index.tsx b/apps/studio/pages/project/[ref]/observability/index.tsxindex f261b1f754b..b911059e054 100644--- a/apps/studio/pages/project/[ref]/observability/index.tsx+++ b/apps/studio/pages/project/[ref]/observability/index.tsx@@ -12,13 +12,17 @@ import { useAsyncCheckPermissions } from 'hooks/misc/useCheckPermissions'import { useProfile } from 'lib/profile'import type { NextPageWithLayout } from 'types'import { LogoLoader } from 'ui'+import { parseAsBoolean, useQueryState } from 'nuqs'export const UserReportPage: NextPageWithLayout = () => {const router = useRouter()const { ref } = useParams()const { profile } = useProfile()- const [showCreateReportModal, setShowCreateReportModal] = useState(false)+ const [showCreateReportModal, setShowCreateReportModal] = useQueryState(+ 'newReport',+ parseAsBoolean.withDefault(false).withOptions({ history: 'push', clearOnDefault: true })+ )const {isPending: isLoading,diff --git a/packages/icons/__registry__/index.tsx b/packages/icons/__registry__/index.tsxindex 2a4a047dbc5..6deb26dfce8 100644--- a/packages/icons/__registry__/index.tsx+++ b/packages/icons/__registry__/index.tsx@@ -134,6 +134,16 @@ export const Index: Record<string, any> = [svg: "<svg\n stroke=\"currentColor\"\n fill=\"currentColor\"\n stroke-width=\"0\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n height=\"24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M23.02 10.59a8.578 8.578 0 0 0-.862-3.034 8.911 8.911 0 0 0-1.789-2.445c.337-1.342-.413-2.505-.413-2.505-1.292-.08-2.113.4-2.416.62-.052-.02-.102-.044-.154-.064-.22-.089-.446-.172-.677-.247-.231-.073-.47-.14-.711-.197a9.867 9.867 0 0 0-.875-.161C14.557.753 12.94 0 12.94 0c-1.804 1.145-2.147 2.744-2.147 2.744l-.018.093c-.098.029-.2.057-.298.088-.138.042-.275.094-.413.143-.138.055-.275.107-.41.166a8.869 8.869 0 0 0-1.557.87l-.063-.029c-2.497-.955-4.716.195-4.716.195-.203 2.658.996 4.33 1.235 4.636a11.608 11.608 0 0 0-.607 2.635C1.636 12.677.953 15.014.953 15.014c1.926 2.214 4.171 2.351 4.171 2.351.003-.002.006-.002.006-.005.285.509.615.994.986 1.446.156.19.32.371.488.548-.704 2.009.099 3.68.099 3.68 2.144.08 3.553-.937 3.849-1.173a9.784 9.784 0 0 0 3.164.501h.08l.055-.003.107-.002.103-.005.003.002c1.01 1.44 2.788 1.646 2.788 1.646 1.264-1.332 1.337-2.653 1.337-2.94v-.058c0-.02-.003-.039-.003-.06.265-.187.52-.387.758-.6a7.875 7.875 0 0 0 1.415-1.7c1.43.083 2.437-.885 2.437-.885-.236-1.49-1.085-2.216-1.264-2.354l-.018-.013-.016-.013a.217.217 0 0 1-.031-.02c.008-.092.016-.18.02-.27.011-.162.016-.323.016-.48v-.253l-.005-.098-.008-.135a1.891 1.891 0 0 0-.01-.13c-.003-.042-.008-.083-.013-.125l-.016-.124-.018-.122a6.215 6.215 0 0 0-2.032-3.73 6.015 6.015 0 0 0-3.222-1.46 6.292 6.292 0 0 0-.85-.048l-.107.002h-.063l-.044.003-.104.008a4.777 4.777 0 0 0-3.335 1.695c-.332.4-.592.84-.768 1.297a4.594 4.594 0 0 0-.312 1.817l.003.091c.005.055.007.11.013.164a3.615 3.615 0 0 0 .698 1.82 3.53 3.53 0 0 0 1.827 1.282c.33.098.66.14.971.137.039 0 .078 0 .114-.002l.063-.003c.02 0 .041-.003.062-.003.034-.002.065-.007.099-.01.007 0 .018-.003.028-.003l.031-.005.06-.008a1.18 1.18 0 0 0 .112-.02c.036-.008.072-.013.109-.024a2.634 2.634 0 0 0 .914-.415c.028-.02.056-.041.085-.065a.248.248 0 0 0 .039-.35.244.244 0 0 0-.309-.06l-.078.042c-.09.044-.184.083-.283.116a2.476 2.476 0 0 1-.475.096c-.028.003-.054.006-.083.006l-.083.002c-.026 0-.054 0-.08-.002l-.102-.006h-.012l-.024.006c-.016-.003-.031-.003-.044-.006-.031-.002-.06-.007-.091-.01a2.59 2.59 0 0 1-.724-.213 2.557 2.557 0 0 1-.667-.438 2.52 2.52 0 0 1-.805-1.475 2.306 2.306 0 0 1-.029-.444l.006-.122v-.023l.002-.031c.003-.021.003-.04.005-.06a3.163 3.163 0 0 1 1.352-2.29 3.12 3.12 0 0 1 .937-.43 2.946 2.946 0 0 1 .776-.101h.06l.07.002.045.003h.026l.07.005a4.041 4.041 0 0 1 1.635.49 3.94 3.94 0 0 1 1.602 1.662 3.77 3.77 0 0 1 .397 1.414l.005.076.003.075c.002.026.002.05.002.075 0 .024.003.052 0 .07v.065l-.002.073-.008.174a6.195 6.195 0 0 1-.08.639 5.1 5.1 0 0 1-.267.927 5.31 5.31 0 0 1-.624 1.13 5.052 5.052 0 0 1-3.237 2.014 4.82 4.82 0 0 1-.649.066l-.039.003h-.287a6.607 6.607 0 0 1-1.716-.265 6.776 6.776 0 0 1-3.4-2.274 6.75 6.75 0 0 1-.746-1.15 6.616 6.616 0 0 1-.714-2.596l-.005-.083-.002-.02v-.056l-.003-.073v-.096l-.003-.104v-.07l.003-.163c.008-.22.026-.45.054-.678a8.707 8.707 0 0 1 .28-1.355c.128-.444.286-.872.473-1.277a7.04 7.04 0 0 1 1.456-2.1 5.925 5.925 0 0 1 .953-.763c.169-.111.343-.213.524-.306.089-.05.182-.091.273-.135.047-.02.093-.042.138-.062a7.177 7.177 0 0 1 .714-.267l.145-.045c.049-.015.098-.026.148-.041.098-.029.197-.052.296-.076.049-.013.1-.02.15-.033l.15-.032.151-.028.076-.013.075-.01.153-.024c.057-.01.114-.013.171-.023l.169-.021c.036-.003.073-.008.106-.01l.073-.008.036-.003.042-.002c.057-.003.114-.008.171-.01l.086-.006h.023l.037-.003.145-.007a7.999 7.999 0 0 1 1.708.125 7.917 7.917 0 0 1 2.048.68 8.253 8.253 0 0 1 1.672 1.09l.09.077.089.078c.06.052.114.107.171.159.057.052.112.106.166.16.052.055.107.107.159.164a8.671 8.671 0 0 1 1.41 1.978c.012.026.028.052.04.078l.04.078.075.156c.023.051.05.1.07.153l.065.15a8.848 8.848 0 0 1 .45 1.34.19.19 0 0 0 .201.142.186.186 0 0 0 .172-.184c.01-.246.002-.532-.024-.856z\"></path>\n </svg>",jsx: "import { Grafana } from \"icons\"\n <Grafana/>\n "},+{+ name: "graphql",+ componentName: "Graphql",+ deprecated: false,+ raw: "import createSupabaseIcon from '../createSupabaseIcon';\n\n/**\n * @component @name Graphql\n * @description Supabase SVG icon component, renders SVG Element with children.\n *\n * @preview \n *\n * @param {Object} props - Supabase icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Graphql = createSupabaseIcon('Graphql', [\n [\n 'path',\n {\n d: 'M11.9007 3.76857L19.0007 7.86775V16.0661M11.9007 3.76857L4.80072 7.86775V16.0661M11.9007 3.76857L19.0007 16.0661M11.9007 3.76857L4.80072 16.0661M19.0007 16.0661L11.9007 20.1653L4.80072 16.0661M19.0007 16.0661H4.80072M6.0164 16.1322C6.0164 16.7895 5.48358 17.3223 4.82631 17.3223C4.16905 17.3223 3.63623 16.7895 3.63623 16.1322C3.63623 15.4749 4.16905 14.9421 4.82631 14.9421C5.48358 14.9421 6.0164 15.4749 6.0164 16.1322ZM5.28912 16.1322C5.28912 16.3878 5.08192 16.595 4.82631 16.595C4.57071 16.595 4.3635 16.3878 4.3635 16.1322C4.3635 15.8766 4.57071 15.6694 4.82631 15.6694C5.08192 15.6694 5.28912 15.8766 5.28912 16.1322ZM20.2974 16.1322C20.2974 16.7895 19.7646 17.3223 19.1073 17.3223C18.45 17.3223 17.9172 16.7895 17.9172 16.1322C17.9172 15.4749 18.45 14.9421 19.1073 14.9421C19.7646 14.9421 20.2974 15.4749 20.2974 16.1322ZM19.5701 16.1322C19.5701 16.3878 19.3629 16.595 19.1073 16.595C18.8517 16.595 18.6445 16.3878 18.6445 16.1322C18.6445 15.8766 18.8517 15.6694 19.1073 15.6694C19.3629 15.6694 19.5701 15.8766 19.5701 16.1322ZM6.0164 7.86775C6.0164 8.52501 5.48358 9.05783 4.82631 9.05783C4.16905 9.05783 3.63623 8.52501 3.63623 7.86775C3.63623 7.21048 4.16905 6.67766 4.82631 6.67766C5.48358 6.67766 6.0164 7.21048 6.0164 7.86775ZM5.28912 7.86775C5.28912 8.12335 5.08192 8.33056 4.82631 8.33056C4.57071 8.33056 4.3635 8.12335 4.3635 7.86775C4.3635 7.61214 4.57071 7.40494 4.82631 7.40494C5.08192 7.40494 5.28912 7.61214 5.28912 7.86775ZM20.2974 7.86775C20.2974 8.52501 19.7646 9.05783 19.1073 9.05783C18.45 9.05783 17.9172 8.52501 17.9172 7.86775C17.9172 7.21048 18.45 6.67766 19.1073 6.67766C19.7646 6.67766 20.2974 7.21048 20.2974 7.86775ZM19.5701 7.86775C19.5701 8.12335 19.3629 8.33056 19.1073 8.33056C18.8517 8.33056 18.6445 8.12335 18.6445 7.86775C18.6445 7.61214 18.8517 7.40494 19.1073 7.40494C19.3629 7.40494 19.5701 7.61214 19.5701 7.86775ZM13.1569 3.76857C13.1569 4.42584 12.6241 4.95866 11.9668 4.95866C11.3095 4.95866 10.7767 4.42584 10.7767 3.76857C10.7767 3.11131 11.3095 2.57849 11.9668 2.57849C12.6241 2.57849 13.1569 3.11131 13.1569 3.76857ZM12.4296 3.76857C12.4296 4.02418 12.2224 4.23138 11.9668 4.23138C11.7112 4.23138 11.504 4.02418 11.504 3.76857C11.504 3.51297 11.7112 3.30576 11.9668 3.30576C12.2224 3.30576 12.4296 3.51297 12.4296 3.76857ZM13.1569 20.1653C13.1569 20.8225 12.6241 21.3553 11.9668 21.3553C11.3095 21.3553 10.7767 20.8225 10.7767 20.1653C10.7767 19.508 11.3095 18.9752 11.9668 18.9752C12.6241 18.9752 13.1569 19.508 13.1569 20.1653ZM12.4296 20.1653C12.4296 20.4209 12.2224 20.6281 11.9668 20.6281C11.7112 20.6281 11.504 20.4209 11.504 20.1653C11.504 19.9097 11.7112 19.7025 11.9668 19.7025C12.2224 19.7025 12.4296 19.9097 12.4296 20.1653Z',\n stroke: 'black',\n 'stroke-width': '0.859504',\n key: 'vs46h6',\n },\n ],\n]);\n\nexport default Graphql;\n",+ component: React.lazy(() => import('icons/src/icons/graphql')),+ import: "import { Graphql } from 'icons'",+ svg: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M11.9007 3.76857L19.0007 7.86775V16.0661M11.9007 3.76857L4.80072 7.86775V16.0661M11.9007 3.76857L19.0007 16.0661M11.9007 3.76857L4.80072 16.0661M19.0007 16.0661L11.9007 20.1653L4.80072 16.0661M19.0007 16.0661H4.80072M6.0164 16.1322C6.0164 16.7895 5.48358 17.3223 4.82631 17.3223C4.16905 17.3223 3.63623 16.7895 3.63623 16.1322C3.63623 15.4749 4.16905 14.9421 4.82631 14.9421C5.48358 14.9421 6.0164 15.4749 6.0164 16.1322ZM5.28912 16.1322C5.28912 16.3878 5.08192 16.595 4.82631 16.595C4.57071 16.595 4.3635 16.3878 4.3635 16.1322C4.3635 15.8766 4.57071 15.6694 4.82631 15.6694C5.08192 15.6694 5.28912 15.8766 5.28912 16.1322ZM20.2974 16.1322C20.2974 16.7895 19.7646 17.3223 19.1073 17.3223C18.45 17.3223 17.9172 16.7895 17.9172 16.1322C17.9172 15.4749 18.45 14.9421 19.1073 14.9421C19.7646 14.9421 20.2974 15.4749 20.2974 16.1322ZM19.5701 16.1322C19.5701 16.3878 19.3629 16.595 19.1073 16.595C18.8517 16.595 18.6445 16.3878 18.6445 16.1322C18.6445 15.8766 18.8517 15.6694 19.1073 15.6694C19.3629 15.6694 19.5701 15.8766 19.5701 16.1322ZM6.0164 7.86775C6.0164 8.52501 5.48358 9.05783 4.82631 9.05783C4.16905 9.05783 3.63623 8.52501 3.63623 7.86775C3.63623 7.21048 4.16905 6.67766 4.82631 6.67766C5.48358 6.67766 6.0164 7.21048 6.0164 7.86775ZM5.28912 7.86775C5.28912 8.12335 5.08192 8.33056 4.82631 8.33056C4.57071 8.33056 4.3635 8.12335 4.3635 7.86775C4.3635 7.61214 4.57071 7.40494 4.82631 7.40494C5.08192 7.40494 5.28912 7.61214 5.28912 7.86775ZM20.2974 7.86775C20.2974 8.52501 19.7646 9.05783 19.1073 9.05783C18.45 9.05783 17.9172 8.52501 17.9172 7.86775C17.9172 7.21048 18.45 6.67766 19.1073 6.67766C19.7646 6.67766 20.2974 7.21048 20.2974 7.86775ZM19.5701 7.86775C19.5701 8.12335 19.3629 8.33056 19.1073 8.33056C18.8517 8.33056 18.6445 8.12335 18.6445 7.86775C18.6445 7.61214 18.8517 7.40494 19.1073 7.40494C19.3629 7.40494 19.5701 7.61214 19.5701 7.86775ZM13.1569 3.76857C13.1569 4.42584 12.6241 4.95866 11.9668 4.95866C11.3095 4.95866 10.7767 4.42584 10.7767 3.76857C10.7767 3.11131 11.3095 2.57849 11.9668 2.57849C12.6241 2.57849 13.1569 3.11131 13.1569 3.76857ZM12.4296 3.76857C12.4296 4.02418 12.2224 4.23138 11.9668 4.23138C11.7112 4.23138 11.504 4.02418 11.504 3.76857C11.504 3.51297 11.7112 3.30576 11.9668 3.30576C12.2224 3.30576 12.4296 3.51297 12.4296 3.76857ZM13.1569 20.1653C13.1569 20.8225 12.6241 21.3553 11.9668 21.3553C11.3095 21.3553 10.7767 20.8225 10.7767 20.1653C10.7767 19.508 11.3095 18.9752 11.9668 18.9752C12.6241 18.9752 13.1569 19.508 13.1569 20.1653ZM12.4296 20.1653C12.4296 20.4209 12.2224 20.6281 11.9668 20.6281C11.7112 20.6281 11.504 20.4209 11.504 20.1653C11.504 19.9097 11.7112 19.7025 11.9668 19.7025C12.2224 19.7025 12.4296 19.9097 12.4296 20.1653Z\" stroke=\"black\" stroke-width=\"0.859504\"/>\n</svg>\n",+ jsx: "import { Graphql } from \"icons\"\n <Graphql/>\n "+},{name: "home",componentName: "Home",diff --git a/packages/icons/src/icons/big-query.ts b/packages/icons/src/icons/big-query.tsindex 8a727618635..ec357b7c495 100644--- a/packages/icons/src/icons/big-query.ts+++ b/packages/icons/src/icons/big-query.ts@@ -15,7 +15,6 @@ const BigQuery = createSupabaseIcon('BigQuery', ['path',{d: 'M7.48981 17.898L7.48981 9.65308M10.8368 18.7552L10.8368 7.53063M14.1837 18.0205V12.0204M21 21.0817L16.4286 16.5103M18.7552 10.8776C18.7552 15.2282 15.2282 18.7552 10.8776 18.7552C6.52691 18.7552 3 15.2282 3 10.8776C3 6.52691 6.52691 3 10.8776 3C15.2282 3 18.7552 6.52691 18.7552 10.8776Z',- stroke: 'currentColor','stroke-width': '1.5','stroke-linecap': 'round',key: 't3k65m',diff --git a/packages/icons/src/icons/graphql.ts b/packages/icons/src/icons/graphql.tsnew file mode 100644index 00000000000..bfffb61d892--- /dev/null+++ b/packages/icons/src/icons/graphql.ts@@ -0,0 +1,23 @@+import createSupabaseIcon from '../createSupabaseIcon';++/**+ * @component @name Graphql+ * @description Supabase SVG icon component, renders SVG Element with children.+ *+ * @preview + *+ * @param {Object} props - Supabase icons props and any valid SVG attribute+ * @returns {JSX.Element} JSX Element+ *+ */+const Graphql = createSupabaseIcon('Graphql', [+ [+ 'path',+ {+ d: 'M11.9007 3.76857L19.0007 7.86775V16.0661M11.9007 3.76857L4.80072 7.86775V16.0661M11.9007 3.76857L19.0007 16.0661M11.9007 3.76857L4.80072 16.0661M19.0007 16.0661L11.9007 20.1653L4.80072 16.0661M19.0007 16.0661H4.80072M6.0164 16.1322C6.0164 16.7895 5.48358 17.3223 4.82631 17.3223C4.16905 17.3223 3.63623 16.7895 3.63623 16.1322C3.63623 15.4749 4.16905 14.9421 4.82631 14.9421C5.48358 14.9421 6.0164 15.4749 6.0164 16.1322ZM5.28912 16.1322C5.28912 16.3878 5.08192 16.595 4.82631 16.595C4.57071 16.595 4.3635 16.3878 4.3635 16.1322C4.3635 15.8766 4.57071 15.6694 4.82631 15.6694C5.08192 15.6694 5.28912 15.8766 5.28912 16.1322ZM20.2974 16.1322C20.2974 16.7895 19.7646 17.3223 19.1073 17.3223C18.45 17.3223 17.9172 16.7895 17.9172 16.1322C17.9172 15.4749 18.45 14.9421 19.1073 14.9421C19.7646 14.9421 20.2974 15.4749 20.2974 16.1322ZM19.5701 16.1322C19.5701 16.3878 19.3629 16.595 19.1073 16.595C18.8517 16.595 18.6445 16.3878 18.6445 16.1322C18.6445 15.8766 18.8517 15.6694 19.1073 15.6694C19.3629 15.6694 19.5701 15.8766 19.5701 16.1322ZM6.0164 7.86775C6.0164 8.52501 5.48358 9.05783 4.82631 9.05783C4.16905 9.05783 3.63623 8.52501 3.63623 7.86775C3.63623 7.21048 4.16905 6.67766 4.82631 6.67766C5.48358 6.67766 6.0164 7.21048 6.0164 7.86775ZM5.28912 7.86775C5.28912 8.12335 5.08192 8.33056 4.82631 8.33056C4.57071 8.33056 4.3635 8.12335 4.3635 7.86775C4.3635 7.61214 4.57071 7.40494 4.82631 7.40494C5.08192 7.40494 5.28912 7.61214 5.28912 7.86775ZM20.2974 7.86775C20.2974 8.52501 19.7646 9.05783 19.1073 9.05783C18.45 9.05783 17.9172 8.52501 17.9172 7.86775C17.9172 7.21048 18.45 6.67766 19.1073 6.67766C19.7646 6.67766 20.2974 7.21048 20.2974 7.86775ZM19.5701 7.86775C19.5701 8.12335 19.3629 8.33056 19.1073 8.33056C18.8517 8.33056 18.6445 8.12335 18.6445 7.86775C18.6445 7.61214 18.8517 7.40494 19.1073 7.40494C19.3629 7.40494 19.5701 7.61214 19.5701 7.86775ZM13.1569 3.76857C13.1569 4.42584 12.6241 4.95866 11.9668 4.95866C11.3095 4.95866 10.7767 4.42584 10.7767 3.76857C10.7767 3.11131 11.3095 2.57849 11.9668 2.57849C12.6241 2.57849 13.1569 3.11131 13.1569 3.76857ZM12.4296 3.76857C12.4296 4.02418 12.2224 4.23138 11.9668 4.23138C11.7112 4.23138 11.504 4.02418 11.504 3.76857C11.504 3.51297 11.7112 3.30576 11.9668 3.30576C12.2224 3.30576 12.4296 3.51297 12.4296 3.76857ZM13.1569 20.1653C13.1569 20.8225 12.6241 21.3553 11.9668 21.3553C11.3095 21.3553 10.7767 20.8225 10.7767 20.1653C10.7767 19.508 11.3095 18.9752 11.9668 18.9752C12.6241 18.9752 13.1569 19.508 13.1569 20.1653ZM12.4296 20.1653C12.4296 20.4209 12.2224 20.6281 11.9668 20.6281C11.7112 20.6281 11.504 20.4209 11.504 20.1653C11.504 19.9097 11.7112 19.7025 11.9668 19.7025C12.2224 19.7025 12.4296 19.9097 12.4296 20.1653Z',+ key: 'vs46h6',+ },+ ],+]);++export default Graphql;diff --git a/packages/icons/src/icons/index.ts b/packages/icons/src/icons/index.tsindex 3be645e1043..c396be56570 100644--- a/packages/icons/src/icons/index.ts+++ b/packages/icons/src/icons/index.ts@@ -11,6 +11,7 @@ export { default as Datadog } from './datadog';export { default as EdgeFunctions } from './edge-functions';export { default as FilesBucket } from './files-bucket';export { default as Grafana } from './grafana';+export { default as Graphql } from './graphql';export { default as Home } from './home';export { default as InsertCode } from './insert-code';export { default as Integrations } from './integrations';diff --git a/packages/icons/src/raw-icons/graphql.svg b/packages/icons/src/raw-icons/graphql.svgnew file mode 100644index 00000000000..0b710c2436b--- /dev/null+++ b/packages/icons/src/raw-icons/graphql.svg@@ -0,0 +1,3 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M11.9007 3.76857L19.0007 7.86775V16.0661M11.9007 3.76857L4.80072 7.86775V16.0661M11.9007 3.76857L19.0007 16.0661M11.9007 3.76857L4.80072 16.0661M19.0007 16.0661L11.9007 20.1653L4.80072 16.0661M19.0007 16.0661H4.80072M6.0164 16.1322C6.0164 16.7895 5.48358 17.3223 4.82631 17.3223C4.16905 17.3223 3.63623 16.7895 3.63623 16.1322C3.63623 15.4749 4.16905 14.9421 4.82631 14.9421C5.48358 14.9421 6.0164 15.4749 6.0164 16.1322ZM5.28912 16.1322C5.28912 16.3878 5.08192 16.595 4.82631 16.595C4.57071 16.595 4.3635 16.3878 4.3635 16.1322C4.3635 15.8766 4.57071 15.6694 4.82631 15.6694C5.08192 15.6694 5.28912 15.8766 5.28912 16.1322ZM20.2974 16.1322C20.2974 16.7895 19.7646 17.3223 19.1073 17.3223C18.45 17.3223 17.9172 16.7895 17.9172 16.1322C17.9172 15.4749 18.45 14.9421 19.1073 14.9421C19.7646 14.9421 20.2974 15.4749 20.2974 16.1322ZM19.5701 16.1322C19.5701 16.3878 19.3629 16.595 19.1073 16.595C18.8517 16.595 18.6445 16.3878 18.6445 16.1322C18.6445 15.8766 18.8517 15.6694 19.1073 15.6694C19.3629 15.6694 19.5701 15.8766 19.5701 16.1322ZM6.0164 7.86775C6.0164 8.52501 5.48358 9.05783 4.82631 9.05783C4.16905 9.05783 3.63623 8.52501 3.63623 7.86775C3.63623 7.21048 4.16905 6.67766 4.82631 6.67766C5.48358 6.67766 6.0164 7.21048 6.0164 7.86775ZM5.28912 7.86775C5.28912 8.12335 5.08192 8.33056 4.82631 8.33056C4.57071 8.33056 4.3635 8.12335 4.3635 7.86775C4.3635 7.61214 4.57071 7.40494 4.82631 7.40494C5.08192 7.40494 5.28912 7.61214 5.28912 7.86775ZM20.2974 7.86775C20.2974 8.52501 19.7646 9.05783 19.1073 9.05783C18.45 9.05783 17.9172 8.52501 17.9172 7.86775C17.9172 7.21048 18.45 6.67766 19.1073 6.67766C19.7646 6.67766 20.2974 7.21048 20.2974 7.86775ZM19.5701 7.86775C19.5701 8.12335 19.3629 8.33056 19.1073 8.33056C18.8517 8.33056 18.6445 8.12335 18.6445 7.86775C18.6445 7.61214 18.8517 7.40494 19.1073 7.40494C19.3629 7.40494 19.5701 7.61214 19.5701 7.86775ZM13.1569 3.76857C13.1569 4.42584 12.6241 4.95866 11.9668 4.95866C11.3095 4.95866 10.7767 4.42584 10.7767 3.76857C10.7767 3.11131 11.3095 2.57849 11.9668 2.57849C12.6241 2.57849 13.1569 3.11131 13.1569 3.76857ZM12.4296 3.76857C12.4296 4.02418 12.2224 4.23138 11.9668 4.23138C11.7112 4.23138 11.504 4.02418 11.504 3.76857C11.504 3.51297 11.7112 3.30576 11.9668 3.30576C12.2224 3.30576 12.4296 3.51297 12.4296 3.76857ZM13.1569 20.1653C13.1569 20.8225 12.6241 21.3553 11.9668 21.3553C11.3095 21.3553 10.7767 20.8225 10.7767 20.1653C10.7767 19.508 11.3095 18.9752 11.9668 18.9752C12.6241 18.9752 13.1569 19.508 13.1569 20.1653ZM12.4296 20.1653C12.4296 20.4209 12.2224 20.6281 11.9668 20.6281C11.7112 20.6281 11.504 20.4209 11.504 20.1653C11.504 19.9097 11.7112 19.7025 11.9668 19.7025C12.2224 19.7025 12.4296 19.9097 12.4296 20.1653Z" stroke="black" stroke-width="0.859504"/>+</svg>diff --git a/packages/ui-patterns/src/CommandMenu/internal/CommandGroup.tsx b/packages/ui-patterns/src/CommandMenu/internal/CommandGroup.tsxindex fc2cc297995..bf19502a512 100644--- a/packages/ui-patterns/src/CommandMenu/internal/CommandGroup.tsx+++ b/packages/ui-patterns/src/CommandMenu/internal/CommandGroup.tsx@@ -12,7 +12,7 @@ const CommandGroup = forwardRef<<CommandGroup_Shadcn_ref={ref}className={cn(- 'overflow-hidden py-3 px-2 text-foreground-muted [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:pb-1.5 [&_[cmdk-group-heading]]:text-sm [&_[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-muted',+ 'overflow-hidden py-3 px-2 text-foreground-lighter/60 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:pb-1.5 [&_[cmdk-group-heading]]:text-sm [&_[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-lighter/60',className)}{...props}diff --git a/packages/ui-patterns/src/CommandMenu/prepackaged/ThemeSwitcher.tsx b/packages/ui-patterns/src/CommandMenu/prepackaged/ThemeSwitcher.tsxindex 85a77c5571a..0458cbe8c6b 100644--- a/packages/ui-patterns/src/CommandMenu/prepackaged/ThemeSwitcher.tsx+++ b/packages/ui-patterns/src/CommandMenu/prepackaged/ThemeSwitcher.tsx@@ -47,7 +47,7 @@ const useThemeSwitcherCommands = ({ options }: { options?: CommandOptions } = {}[{id: 'switch-theme',- name: 'Switch theme',+ name: 'Switch theme...',action: () => setPage(THEME_SWITCHER_PAGE_NAME),defaultHidden: true,icon: () => <MonitorDot />,