* fix: re-assert always-on-top for overlay on Windows
On Windows, the recording/transcribing overlay can lose its topmost
Z-order and fall behind other windows during certain window manager
events (e.g., dragging windows, alt-tabbing, or other apps asserting
focus).
This fix uses the Win32 SetWindowPos API directly with HWND_TOPMOST
to aggressively re-assert the overlay's Z-order immediately after
showing it. Key implementation details:
- Uses Tauri 2's WebviewWindow::hwnd() to get the native handle
- Calls SetWindowPos on the main UI thread via run_on_main_thread
- Applies flags: SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE | SWP_SHOWWINDOW
- SWP_NOACTIVATE prevents stealing focus from the active window
- SWP_SHOWWINDOW reinforces the topmost state during the show
The fix is called after .show() in both show_recording_overlay and
show_transcribing_overlay, which is more reliable than setting it
before the window is visible.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* keep the fix to windows only
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: CJ Pais <cj@cjpais.com>
* initial specta commands
* refactor to use the bindings in the ui
* merge fixes
* remove unused commands
* add clamshell to lib
* Remove Invoke from everything.
* fix settings not being loaded properly
* fix settings being overwritten due to deserialization failure + remove
provider kind
* fix model loading text bug
* feat: add conversion between Simplified and Traditional Chinese. If the selected language is Simplified or Traditional Chinese, it will convert the text to the selected variant(Simplified or Traditional) after been recognized, depends on opencc, if it is not installed, the conversion will skip.
* Adopting ferrous-opencc makes cross-platform packaging easier.
* feat: add sound duration retrieval for audio feedback
* Trim trailing silence from pop_start.wav and pop_stop.wav
* refactor: simplify sound file and base directory retrieval
* feat: only delay mute if audio feedback is enabled
* change the logic
* simplify new logic
* simplify get_sound_path and get_sound_base_dir, reorder functions
* add implicit blocking to playTestSound
* modify to my pref style
---------
Co-authored-by: CJ Pais <cj@cjpais.com>
* feat: add more options for deleting recordings automatically and added button to open the folder that olds the recordings
- deleting automatically options: after certain time, never or preserving certain number of recordings
- new button "Open Recordings Folder" located on History page
* refactor: moved "Delete Recordings" selector to Debug settings
* refactor: simplify opening recordings folder logic by using tauri's opener plugin
* clean up ui and code a bit
---------
Co-authored-by: CJ Pais <cj@cjpais.com>
* feat: add fallback microphone for clamshell/desktop mode
* refactor: moved "Closed Laptop Microphone" setting to Debug
* cleanup
* run format
* add check back
---------
Co-authored-by: CJ Pais <cj@cjpais.com>
* Fix unstable mute implementation on Windows/Linux
* add some delay before the mute so the audio feedback plays
---------
Co-authored-by: CJ Pais <cj@cjpais.com>
* Add LLM post-processing feature with settings management and UI integration
* Refactor LLM post-processing settings and prompt selection logic
* Rename CLAUDE.md to more standard AGENTS.md
* Replace Open Router with OpenAI Compatible endpoints for post-processing
* Fix post processing settings api styles
* refactor or something
* simplify
* cleanup a bit?
* remove useless code
* minor improvements
* fix laggy textarea
* Store post-processing results in db
* fix text color
* new default prompt
---------
Co-authored-by: CJ Pais <cj@cjpais.com>
* windows paste shift+ins instead of ctrl+v
Shift+Insert is older and more universal than Ctrl+V on windows. For example SSH terminal software often will not permit ctrl+v.
* add option for shift+ins on windows/linux
---------
Co-authored-by: CJ Pais <cj@cjpais.com>
The plugin-store 2.4.1 requires the 'defaults' property in StoreOptions.
Previously, only 'autoSave: false' was provided, causing a TypeScript error.
Now passing DEFAULT_SETTINGS as the defaults value.
* fix: tooltip overflow
* Adds more responsive Css
* StartHidden has tooltip bottom
* in debug setting too
---------
Co-authored-by: CJ Pais <cj@cjpais.com>
* feat: disable Translate to English switch for the whisper turbo
* add parakeet-tdt-0.6b-v2 to unsupportedTranslationModels
* disable language selector for parakeet v2
---------
Co-authored-by: CJ Pais <cj@cjpais.com>