From ea3d522cbf64c3078301678a9c640bd576dc1cfb Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Fri, 23 Oct 2026 21:25:33 +0800 Subject: [PATCH] Cmd K remove duplicate results for project integrations (#52208) ## Context Searching for project integrations currently returns "duplicate" results as such image Am opting to remove the "navigate" section as "Integrations" seem more appropriate + also tighten the copy a little image --- .../Integrations.Commands.tsx | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) 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) => {