feat: dictionary quick-add shortcut + prompt/VAD bug fixes#38
Open
sk8ersquare wants to merge 5 commits intopoodle64:mainfrom
Open
feat: dictionary quick-add shortcut + prompt/VAD bug fixes#38sk8ersquare wants to merge 5 commits intopoodle64:mainfrom
sk8ersquare wants to merge 5 commits intopoodle64:mainfrom
Conversation
added 5 commits
March 23, 2026 16:41
…2.18) Dictionary quick-add shortcut: - add_to_dictionary shortcut in ShortcutConfig (default: unset) - Appears in Settings alongside toggle_recording, copy_last, etc. - Copy a word → press shortcut → prompted for replacement → added to dictionary - Toast notification on success - Works via clipboard read + window.prompt dialog Updater signing: - Regenerated signing keypair with working password - Updated pubkey in tauri.conf.json - latest.json hosted at releases/latest/download/latest.json
…e modal (v2026.2.19) window.prompt/confirm/alert are silently swallowed by WKWebView on macOS. Replace with a proper in-app Svelte modal (DictionaryAddModal.svelte): - Listens for 'show-dictionary-add' event emitted by the shortcut handler - Pre-fills 'Replace' field from clipboard content - Text input auto-focused, Enter to save, Escape to cancel - Toast on success/failure - Wired into App.svelte alongside existing event listeners
configStore.enhancement was a stale reference — should be configStore.config.enhancement. The JS error was caught and swallowed, making the delete appear to do nothing. The backend delete actually succeeded but the UI never refreshed.
Prompt delete fixes: - Fixed IPC parameter name: prompt_id (not promptId) - Added confirmation dialog before deletion - Added toast feedback for success/error (not silent) - User sees clear error if delete fails VAD improvements: - Reduced no-input grace period from 5s to 3s before red pulse starts Update source configuration: - Added updateEndpointOverride to GeneralConfig (default: null) - Check for Updates button now has ⋯ menu to configure custom repo URL - Can override endpoint per-session (saves to config) - Shows current endpoint when override is active - Passes override to check() when checking for updates - After update: tauri-plugin-updater downloads + installs silently, then prompts to relaunch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a keyboard shortcut to quickly add words to the dictionary mid-session, plus several bug fixes.
New feature: Dictionary quick-add shortcut
Users can press a configurable shortcut to instantly add a word or phrase to their dictionary. Instead of going through Settings → Dictionary, they can hit the shortcut and get a native modal dialog.
window.prompt()(broken in Tauri v2) with a proper native modalDictionaryAddModal.svelte— new componentBug fixes
fix: delete prompt invoke uses camelCase promptId (Tauri v2)— Tauri v2 serializes Rust snake_case to camelCase by default. The delete prompt command was passingprompt_idbut the frontend was sendingpromptId. Fixes prompt deletion silently doing nothing.fix: custom prompt delete button silently failing— related frontend fix for the same issue.fix: prompt delete + VAD 3s + update endpoint override— increases default VAD silence timeout from 1.5s to 3s (reduces mid-sentence cutoffs), adds an update endpoint override field in Settings for self-hosted update servers.