From 7c7304cdf5814b4cc5d8e7086065850f453b8785 Mon Sep 17 00:00:00 2001 From: Rohan Date: Tue, 5 Nov 2024 15:11:23 +0530 Subject: [PATCH] fix: command palette commands --- frontend/components/common/CommandPalette.tsx | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/frontend/components/common/CommandPalette.tsx b/frontend/components/common/CommandPalette.tsx index afb496a64..4e51c19da 100644 --- a/frontend/components/common/CommandPalette.tsx +++ b/frontend/components/common/CommandPalette.tsx @@ -14,6 +14,7 @@ import { FaMoon, FaPlus, FaProjectDiagram, + FaRobot, FaSearch, FaSun, FaUserPlus, @@ -96,6 +97,13 @@ const CommandPalette: React.FC = () => { icon: , action: () => handleNavigation(`/${activeOrganisation?.name}/access/members`), }, + { + id: 'go-members', + name: 'Go to Service Accounts', + description: 'Manage organization service accounts', + icon: , + action: () => handleNavigation(`/${activeOrganisation?.name}/access/service-accounts`), + }, { id: 'go-integrations', name: 'Go to Integrations', @@ -207,14 +215,24 @@ const CommandPalette: React.FC = () => { name: `Service tokens`, description: `Manage service tokens for ${app.name}`, icon: , - action: () => handleNavigation(`/${activeOrganisation?.name}/apps/${app.id}/tokens`), + action: () => + handleNavigation(`/${activeOrganisation?.name}/apps/${app.id}/access/tokens`), }, { id: `${app.id}-members`, name: `Members`, description: `Manage members in ${app.name}`, icon: , - action: () => handleNavigation(`/${activeOrganisation?.name}/apps/${app.id}/members`), + action: () => + handleNavigation(`/${activeOrganisation?.name}/apps/${app.id}/access/members`), + }, + { + id: `${app.id}-service-accounts`, + name: `Service Accounts`, + description: `Manage service accounts in ${app.name}`, + icon: , + action: () => + handleNavigation(`/${activeOrganisation?.name}/apps/${app.id}/access/service-accounts`), }, { id: `${app.id}-syncing`,