feat(web): add GitHub dashboard shortcut to command panel (#721)
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
IconFolder,
|
||||
IconMessageCircle,
|
||||
IconSparkles,
|
||||
IconBrandGithub,
|
||||
} from "@tabler/icons-react";
|
||||
import { useRegisterCommands } from "@/hooks/use-register-commands";
|
||||
import { useKeyboardShortcut } from "@/hooks/use-keyboard-shortcut";
|
||||
@@ -59,6 +60,14 @@ function buildNavigationCommands(push: PushFn): CommandItem[] {
|
||||
keywords: ["stats", "analytics", "metrics"],
|
||||
action: () => push("/stats"),
|
||||
},
|
||||
{
|
||||
id: "nav-github",
|
||||
label: "Go to GitHub Dashboard",
|
||||
group: "Navigation",
|
||||
icon: <IconBrandGithub className="size-3.5" />,
|
||||
keywords: ["github", "dashboard", "pr", "pull request", "review"],
|
||||
action: () => push("/github"),
|
||||
},
|
||||
{
|
||||
id: "settings-agents",
|
||||
label: "Agents Settings",
|
||||
|
||||
Reference in New Issue
Block a user