feat(overlay): text diff animation, auto-dismiss, and settings fixes#76
Merged
Conversation
…ition After text is pasted into the target app, pressing any key (except 1-9 template shortcuts) now immediately dismisses the overlay instead of waiting for the linger timer. Also adds a 0.25s crossfade animation when display text changes (ASR → LLM corrected text). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add character-level diff animation showing what changed between ASR and LLM-corrected text: deleted chars fade out in soft red, inserted chars highlight in blue-lavender, adjacent delete+insert pairs merge into clean replacements. Animation plays over 0.8s then crossfades to final. Also fix two settings bugs: - Test result label now appears inline next to the Test button instead of being hidden behind configuration fields - Save no longer closes the settings window, letting users continue editing other tabs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1. Diff animation: add 500-char threshold, beyond which falls back to simple crossfade. Fix O(n²) backtracking by appending forward then reversing once instead of insertObject:atIndex:0. 2. Overlay click-through: main pill panel stays ignoresMouseEvents=YES during linger and diff animation. Only the template button bar (separate panel) accepts mouse events. Prevents blocking clicks on the app underneath. 3. Template system_prompt_path: when a template references an external file and the user edits its content, write changes back to the file instead of silently converting to an inline prompt. Preserves the file-backed relationship. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace all Chinese test result messages with English to match the overall English UI. Update overlay preview sample text to a more natural conversational example. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Rebased on latest
main(includes LLM invert modifier, multi-profile, contributor avatars). Supersedes #75.ignoresMouseEvents=YESduring linger/dismiss — no longer blocks clicks on the app underneath.system_prompt_path) now writes changes back to the file instead of silently converting to inline.Test plan
🤖 Generated with Claude Code