Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Cmd K remove duplicate results for project integrations (#52208)

Joshen Limea3d522cbf64
diff --git a/apps/studio/components/layouts/IntegrationsLayout/Integrations.Commands.tsx b/apps/studio/components/layouts/IntegrationsLayout/Integrations.Commands.tsx
index 452476f67c4..25fca3db73b 100644
--- a/apps/studio/components/layouts/IntegrationsLayout/Integrations.Commands.tsx
+++ b/apps/studio/components/layouts/IntegrationsLayout/Integrations.Commands.tsx
@@ -23,30 +23,16 @@ export function useIntegrationsGotoCommands(options?: CommandOptions) {
const getName = (integration: IntegrationDefinition) => {
switch (integration.id) {
case 'cron':
- return 'View and manage your Cron Jobs'
+ return 'Manage Cron Jobs'
case 'graphiql':
return 'Query database using GraphQL'
case 'vault':
- return 'View and manage your keys and secrets via Vault'
+ return 'Manage keys and secrets via Vault'
default:
- return `View and manage your ${integration.name}${integration.type === 'wrapper' ? 's' : ''}`
+ return `Manage ${integration.name}${integration.type === 'wrapper' ? 's' : ''}`
}
}
- useRegisterCommands(
- COMMAND_MENU_SECTIONS.NAVIGATE,
- allIntegrations.map((x) => {
- return {
- id: `nav-integrations-${x.id}`,
- name: x.name,
- value: `Integrations: ${x.name}`,
- route: `/project/${ref}/integrations/${x.id}/overview`,
- defaultHidden: true,
- }
- }),
- { ...options, deps: [ref] }
- )
-
useRegisterCommands(
COMMAND_MENU_SECTIONS.INTEGRATIONS,
allIntegrations.map((x) => {