Skip to content

Commit f937422

Browse files
committed
Changes Ask AI shortcut to CMD+I
1 parent 2f8faee commit f937422

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

apps/webapp/app/components/AskAI.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function AskAIProvider({ websiteId, isCollapsed = false }: AskAIProviderProps) {
123123
<Button
124124
variant="small-menu-item"
125125
data-action="ask-ai"
126-
shortcut={{ modifiers: ["mod"], key: "/", enabledOnInputElements: true }}
126+
shortcut={{ modifiers: ["mod"], key: "i", enabledOnInputElements: true }}
127127
hideShortcutKey
128128
data-modal-override-open-class-ask-ai="true"
129129
onClick={() => openAskAI()}
@@ -142,7 +142,7 @@ function AskAIProvider({ websiteId, isCollapsed = false }: AskAIProviderProps) {
142142
Ask AI
143143
<span className="flex items-center">
144144
<ShortcutKey shortcut={{ modifiers: ["mod"] }} variant="medium/bright" />
145-
<ShortcutKey shortcut={{ key: "/" }} variant="medium/bright" />
145+
<ShortcutKey shortcut={{ key: "i" }} variant="medium/bright" />
146146
</span>
147147
</TooltipContent>
148148
</Tooltip>

apps/webapp/app/components/Shortcuts.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ function ShortcutContent() {
7676
<ShortcutKey shortcut={{ key: "enter" }} variant="medium/bright" />
7777
</Shortcut>
7878
<Shortcut name="Ask AI">
79-
<ShortcutKey shortcut={{ modifiers: ["mod"], key: "/" }} variant="medium/bright" />
79+
<ShortcutKey shortcut={{ modifiers: ["mod"] }} variant="medium/bright" />
80+
<ShortcutKey shortcut={{ key: "i" }} variant="medium/bright" />
8081
</Shortcut>
8182
<Shortcut name="Filter">
8283
<ShortcutKey shortcut={{ key: "f" }} variant="medium/bright" />

0 commit comments

Comments
 (0)