Refactor config history management to enforce byte size limit and optimize item prepending; improve hotkey listener synchronization to prevent deadlocks; enhance transcriber error handling to avoid leaking sensitive information; address multiple race conditions and potential crashes in audio processing; implement logging improvements and fix resource leaks; add comprehensive issue tracking documentation.

This commit is contained in:
Your Name
2026-06-09 09:16:55 -07:00
parent 05c8fbc474
commit 52bb65f3a0
14 changed files with 410 additions and 85 deletions
+20 -1
View File
@@ -36,7 +36,21 @@
<button onclick="saveApiKey()">Save</button>
</div>
</div>
<p class="hint">Get your free key at <a href="https://console.groq.com/keys" target="_blank" style="color: var(--accent);">console.groq.com/keys</a></p>
<p class="hint">Get your free key at <a href="#" onclick="window.runtime.BrowserOpenURL('https://console.groq.com/keys'); return false;" style="color: var(--accent);">console.groq.com/keys</a></p>
</div>
<!-- Global Hotkey -->
<div class="section" id="shortcutSection">
<label>Global Hotkey</label>
<div class="form-control">
<div class="flex-row">
<div class="input-wrapper">
<input type="text" id="shortcutInput" readonly placeholder="Click Record then press a key combo">
</div>
<button id="recordBtn" onclick="recordShortcut()">Record</button>
</div>
</div>
<p class="hint">Press the key combination you want to use to start/stop recording (e.g. alt+z, ctrl+shift+space). Modifier-only combos like ctrl+alt are also supported on Windows.</p>
</div>
<div class="section-group-label">Input</div>
@@ -611,6 +625,11 @@
window.runtime.EventsOn('history:updated', function () {
refreshHistoryFromBackend();
});
// Keep the startup checkbox in sync when toggled from the tray menu
window.runtime.EventsOn('startup:changed', function (enabled) {
document.getElementById('startupToggle').checked = enabled;
});
}
// If Linux, ensure Local Whisper option is removed