Skip to content

Commit

Permalink
fix: command palette commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-chaturvedi committed Nov 5, 2024
1 parent 5a8e2f5 commit 7c7304c
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions frontend/components/common/CommandPalette.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
FaMoon,
FaPlus,
FaProjectDiagram,
FaRobot,
FaSearch,
FaSun,
FaUserPlus,
Expand Down Expand Up @@ -96,6 +97,13 @@ const CommandPalette: React.FC = () => {
icon: <FaUsersCog />,
action: () => handleNavigation(`/${activeOrganisation?.name}/access/members`),
},
{
id: 'go-members',
name: 'Go to Service Accounts',
description: 'Manage organization service accounts',
icon: <FaRobot />,
action: () => handleNavigation(`/${activeOrganisation?.name}/access/service-accounts`),
},
{
id: 'go-integrations',
name: 'Go to Integrations',
Expand Down Expand Up @@ -207,14 +215,24 @@ const CommandPalette: React.FC = () => {
name: `Service tokens`,
description: `Manage service tokens for ${app.name}`,
icon: <FaKey />,
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: <FaUsers />,
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: <FaRobot />,
action: () =>
handleNavigation(`/${activeOrganisation?.name}/apps/${app.id}/access/service-accounts`),
},
{
id: `${app.id}-syncing`,
Expand Down

0 comments on commit 7c7304c

Please sign in to comment.