We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 156bf12 commit fced8f1Copy full SHA for fced8f1
1 file changed
apps/webapp/app/components/navigation/SideMenu.tsx
@@ -300,8 +300,12 @@ export function SideMenu({
300
ref={buttonRef}
301
variant="small-menu-item"
302
data-action="ask-ai"
303
+ shortcut={{ modifiers: ["mod"], key: "/" }}
304
+ data-modal-override-open-class-ask-ai="true"
305
onClick={() => {
- // TODO: sort action
306
+ if (typeof window.Kapa === "function") {
307
+ window.Kapa("open");
308
+ }
309
}}
310
>
311
<AISparkleIcon className="size-5" />
@@ -313,7 +317,6 @@ export function SideMenu({
313
317
className="flex items-center gap-1 py-1.5 pl-2.5 pr-2 text-xs"
314
318
315
319
Ask AI
316
- <ShortcutKey shortcut={{ key: "/", modifiers: ["mod"] }} variant="small" />
320
</TooltipContent>
321
</Tooltip>
322
</TooltipProvider>
0 commit comments