Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

feat(settings): add Remove button to agent hotkey (#824)

Gabriel Steinbe1234bd4fd3
diff --git a/src/components/SettingsPage.tsx b/src/components/SettingsPage.tsx
index d06c2388d..a2a652342 100644
--- a/src/components/SettingsPage.tsx
+++ b/src/components/SettingsPage.tsx
@@ -3191,6 +3191,14 @@ EOF`,
onChange={setChatAgentKey}
validate={validateAgentHotkey}
/>
+ {chatAgentKey && (
+ <button
+ onClick={() => setChatAgentKey("")}
+ className="mt-2 text-xs text-muted-foreground/70 hover:text-foreground transition-colors"
+ >
+ {t("agentMode.settings.clearHotkey")}
+ </button>
+ )}
</SettingsPanelRow>
</SettingsPanel>
</div>
diff --git a/src/locales/de/translation.json b/src/locales/de/translation.json
index c6a7a44fd..dfadc9ef8 100644
--- a/src/locales/de/translation.json
+++ b/src/locales/de/translation.json
@@ -2280,6 +2280,7 @@
"settings": {
"hotkey": "Agent-Tastenkombination",
"hotkeyDescription": "Tastenkombination zum Umschalten des Agent-Overlays",
+ "clearHotkey": "Hotkey entfernen",
"model": "Agent-Modell",
"modelDescription": "KI-Modell für Agent-Unterhaltungen",
"systemPrompt": "System-Prompt",
diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json
index d932b3ce8..3904f1971 100644
--- a/src/locales/en/translation.json
+++ b/src/locales/en/translation.json
@@ -2424,6 +2424,7 @@
"settings": {
"hotkey": "Agent Hotkey",
"hotkeyDescription": "Hotkey to toggle the agent overlay",
+ "clearHotkey": "Remove hotkey",
"model": "Agent Model",
"modelDescription": "AI model used for agent conversations",
"systemPrompt": "System Prompt",
diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json
index 345bfc894..17568c558 100644
--- a/src/locales/es/translation.json
+++ b/src/locales/es/translation.json
@@ -2328,6 +2328,7 @@
"settings": {
"hotkey": "Tecla del Agente",
"hotkeyDescription": "Tecla de acceso rápido para alternar la superposición del agente",
+ "clearHotkey": "Eliminar atajo",
"model": "Modelo del Agente",
"modelDescription": "Modelo de IA utilizado para conversaciones del agente",
"systemPrompt": "Prompt del Sistema",
diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json
index fcdc41cd5..8b1152000 100644
--- a/src/locales/fr/translation.json
+++ b/src/locales/fr/translation.json
@@ -2328,6 +2328,7 @@
"settings": {
"hotkey": "Raccourci Agent",
"hotkeyDescription": "Raccourci clavier pour basculer la fenêtre agent",
+ "clearHotkey": "Supprimer le raccourci",
"model": "Modèle Agent",
"modelDescription": "Modèle IA utilisé pour les conversations agent",
"systemPrompt": "Prompt système",
diff --git a/src/locales/it/translation.json b/src/locales/it/translation.json
index b022947bd..6e32ed96a 100644
--- a/src/locales/it/translation.json
+++ b/src/locales/it/translation.json
@@ -2280,6 +2280,7 @@
"settings": {
"hotkey": "Tasto Agente",
"hotkeyDescription": "Tasto di scelta rapida per alternare l'overlay agente",
+ "clearHotkey": "Rimuovi scorciatoia",
"model": "Modello Agente",
"modelDescription": "Modello IA utilizzato per le conversazioni agente",
"systemPrompt": "Prompt di Sistema",
diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.json
index 1c6b7be7c..599c96785 100644
--- a/src/locales/ja/translation.json
+++ b/src/locales/ja/translation.json
@@ -2280,6 +2280,7 @@
"settings": {
"hotkey": "エージェントホットキー",
"hotkeyDescription": "エージェントオーバーレイを切り替えるホットキー",
+ "clearHotkey": "ホットキーを削除",
"model": "エージェントモデル",
"modelDescription": "エージェント会話に使用するAIモデル",
"systemPrompt": "システムプロンプト",
diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json
index cf4ee2fc3..a660ff660 100644
--- a/src/locales/pt/translation.json
+++ b/src/locales/pt/translation.json
@@ -2280,6 +2280,7 @@
"settings": {
"hotkey": "Tecla do Agente",
"hotkeyDescription": "Tecla de atalho para alternar a sobreposição do agente",
+ "clearHotkey": "Remover atalho",
"model": "Modelo do Agente",
"modelDescription": "Modelo de IA usado para conversas do agente",
"systemPrompt": "Prompt do Sistema",
diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.json
index fb80337c3..10ab9d9c5 100644
--- a/src/locales/ru/translation.json
+++ b/src/locales/ru/translation.json
@@ -2282,6 +2282,7 @@
"settings": {
"hotkey": "Горячая клавиша агента",
"hotkeyDescription": "Горячая клавиша для переключения наложения агента",
+ "clearHotkey": "Удалить горячую клавишу",
"model": "Модель агента",
"modelDescription": "Модель ИИ для разговоров с агентом",
"systemPrompt": "Системный промпт",
diff --git a/src/locales/zh-CN/translation.json b/src/locales/zh-CN/translation.json
index a17d0a96f..eb7683415 100644
--- a/src/locales/zh-CN/translation.json
+++ b/src/locales/zh-CN/translation.json
@@ -2280,6 +2280,7 @@
"settings": {
"hotkey": "助手热键",
"hotkeyDescription": "切换助手覆盖层的热键",
+ "clearHotkey": "移除快捷键",
"model": "助手模型",
"modelDescription": "用于助手对话的AI模型",
"systemPrompt": "系统提示词",
diff --git a/src/locales/zh-TW/translation.json b/src/locales/zh-TW/translation.json
index 8f30c7a23..942f1cc59 100644
--- a/src/locales/zh-TW/translation.json
+++ b/src/locales/zh-TW/translation.json
@@ -2280,6 +2280,7 @@
"settings": {
"hotkey": "助手熱鍵",
"hotkeyDescription": "切換助手覆蓋層的熱鍵",
+ "clearHotkey": "移除快捷鍵",
"model": "助手模型",
"modelDescription": "用於助手對話的AI模型",
"systemPrompt": "系統提示詞",