Home / Function/ StudioCommandMenu() — supabase Function Reference

StudioCommandMenu() — supabase Function Reference

Architecture documentation for the StudioCommandMenu() function in CommandMenu.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  7902296a_39c1_2b01_0b22_d5c1b0ad688b["StudioCommandMenu()"]
  f2f18bd7_7eb5_c968_b16a_ee126487d30b["useApiKeysCommands()"]
  7902296a_39c1_2b01_0b22_d5c1b0ad688b -->|calls| f2f18bd7_7eb5_c968_b16a_ee126487d30b
  9c79d11a_a820_f4ea_7377_ede35f51376c["useApiUrlCommand()"]
  7902296a_39c1_2b01_0b22_d5c1b0ad688b -->|calls| 9c79d11a_a820_f4ea_7377_ede35f51376c
  5992b451_4264_933c_0f67_9fe2377d5db4["useProjectSwitchCommand()"]
  7902296a_39c1_2b01_0b22_d5c1b0ad688b -->|calls| 5992b451_4264_933c_0f67_9fe2377d5db4
  a9d33395_a898_1775_a16c_7fcd0da125db["useConfigureOrganizationCommand()"]
  7902296a_39c1_2b01_0b22_d5c1b0ad688b -->|calls| a9d33395_a898_1775_a16c_7fcd0da125db
  7a61c2c9_b57a_e734_a33a_21438f4f637d["useSupportCommands()"]
  7902296a_39c1_2b01_0b22_d5c1b0ad688b -->|calls| 7a61c2c9_b57a_e734_a33a_21438f4f637d
  7691c069_7dea_faac_d384_4e20dfcccdcd["useCreateCommands()"]
  7902296a_39c1_2b01_0b22_d5c1b0ad688b -->|calls| 7691c069_7dea_faac_d384_4e20dfcccdcd
  35e23075_6462_5656_5e49_24665c0bc1d4["useContextSearchCommands()"]
  7902296a_39c1_2b01_0b22_d5c1b0ad688b -->|calls| 35e23075_6462_5656_5e49_24665c0bc1d4
  style 7902296a_39c1_2b01_0b22_d5c1b0ad688b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/App/CommandMenu/CommandMenu.tsx lines 24–55

export default function StudioCommandMenu() {
  useApiKeysCommands()
  useApiUrlCommand()
  useConnectCommands()
  useProjectLevelTableEditorCommands()
  useProjectSwitchCommand()
  useConfigureOrganizationCommand()
  useQueryTableCommands()
  useBranchCommands()
  useSnippetCommands()
  useLayoutNavCommands()
  useDocsSearchCommands({
    options: { orderSection: orderCommandSectionsByPriority, sectionMeta: { priority: 3 } },
  })
  useDocsAiCommands({
    options: { orderSection: orderCommandSectionsByPriority, sectionMeta: { priority: 3 } },
  })
  useSupportCommands()
  useChangelogCommand({ enabled: IS_PLATFORM })
  useThemeSwitcherCommands()
  useCreateCommands()
  useContextSearchCommands()

  return (
    <CommandMenu>
      <CommandHeader>
        <CommandInput />
      </CommandHeader>
      <CommandList />
    </CommandMenu>
  )
}

Subdomains

Frequently Asked Questions

What does StudioCommandMenu() do?
StudioCommandMenu() is a function in the supabase codebase.
What does StudioCommandMenu() call?
StudioCommandMenu() calls 7 function(s): useApiKeysCommands, useApiUrlCommand, useConfigureOrganizationCommand, useContextSearchCommands, useCreateCommands, useProjectSwitchCommand, useSupportCommands.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free