diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-17 21:43:52 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-17 21:43:52 +0300 |
| commit | 915e435679a5539a75acaffe1324dc45f0f76364 (patch) | |
| tree | bfc256ea61751f7d01397dadf350b40398c43138 /internal/image | |
| parent | f6477f82dc79d17e9ee3193c81dca2db884a7119 (diff) | |
fix: prevent UI element mix-ups during concurrent processing and rapid navigation
- Fixed one-way translation bug: English to Bulgarian no longer triggers reverse translation
- Prevent mix-ups when rapidly entering new words while previous words are processing
- Ensure all UI elements update only for their associated job:
* Bulgarian/English text fields protected by job ID checks
* Phonetic info saved to disk immediately and UI updates restricted
* Audio file associations protected from background job interference
* Image prompts saved immediately and UI updates controlled
- Add mutex protection for thread-safe UI updates
- Disconnect from background jobs when user starts typing new input
- Save all generated data to disk immediately, not just on UI update
- Improve navigation to properly load all associated data from disk
This ensures correct flashcard generation even with rapid word entry and navigation.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/image')
0 files changed, 0 insertions, 0 deletions
