import { Command } from "cmdk"; import { FileText, GithubIcon, MessageSquare, Rocket } from "lucide-react"; // mobx store import { useMobxStore } from "lib/mobx/store-provider"; // ui import { DiscordIcon } from "@plane/ui"; type Props = { closePalette: () => void; }; export const CommandPaletteHelpActions: React.FC = (props) => { const { closePalette } = props; const { commandPalette: { toggleShortcutModal }, } = useMobxStore(); return ( { closePalette(); toggleShortcutModal(true); }} className="focus:outline-none" >
Open keyboard shortcuts
{ closePalette(); window.open("https://docs.plane.so/", "_blank"); }} className="focus:outline-none" >
Open Plane documentation
{ closePalette(); window.open("https://discord.com/invite/A92xrEGCge", "_blank"); }} className="focus:outline-none" >
Join our Discord
{ closePalette(); window.open("https://github.com/makeplane/plane/issues/new/choose", "_blank"); }} className="focus:outline-none" >
Report a bug
{ closePalette(); (window as any)?.$crisp.push(["do", "chat:open"]); }} className="focus:outline-none" >
Chat with us
); };