You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Desktop app, when a user clicks "Check for Updates" it should always check and display the prompt.
Sometimes the update prompt shows up and I accidentally dismiss it. Then I click on "Check for Updates" and nothing happens. I think it is because when I accidentally dismissed the prompt it told the app to ignore that version number.
@claude could you check the tauri app logic in the rust code? I know there is background processing for updates and we dismiss the popup if we check in the background multiple times. However, whenever the user manually "Checks for Updates" we should actually ignore the popup dismissal flag for the next run. Maybe just clear that flag at the start whenever the user clicks on that menu item. Be sure to the the github commit MCP tool when you're done so I can create a PR
Fixed the "Check for Updates" dismissal flag issue in the Tauri app logic.
Todo List:
Analyze codebase structure and find Tauri/Rust update logic
Locate dismissal flag implementation
Find manual "Check for Updates" trigger mechanism
Implement flag clearing on manual update checks
Run format, lint, and build commands
Commit and push changes
Provide PR creation link
Analysis & Implementation:
Found the issue in frontend/src-tauri/src/lib.rs:
Problem: The dismissal flag logic uses:
UPDATE_DOWNLOADED: AtomicBool that prevents showing duplicate dialogs (line 235)
CURRENT_VERSION: Tracks the version that was already downloaded (line 237)
Manual "Check for Updates" menu calls the same check_for_updates() function that respects these flags (lines 312-317)
Solution: Clear these flags when the user manually clicks "Check for Updates" so they always get prompted, even if they previously dismissed the update.
Implementation: Modified the menu event handler (lines 163-189) to:
Clear UPDATE_DOWNLOADED flag to false
Clear CURRENT_VERSION string
Add logging to confirm flags are cleared
Then proceed with the normal update check
This ensures that when users manually click "Check for Updates", they will always be prompted with the update dialog even if they previously dismissed it.
Results:
✅ Code formatting: All files already properly formatted
✅ Linting: Passed with only minor warnings (no errors)
✅ Build: Successful production build completed
✅ Changes committed and pushed to branch claude/issue-146-20250715_023716
Activity
AnthonyRonning commentedon Jul 15, 2025
@claude could you check the tauri app logic in the rust code? I know there is background processing for updates and we dismiss the popup if we check in the background multiple times. However, whenever the user manually "Checks for Updates" we should actually ignore the popup dismissal flag for the next run. Maybe just clear that flag at the start whenever the user clicks on that menu item. Be sure to the the github commit MCP tool when you're done so I can create a PR
claude commentedon Jul 15, 2025
Claude finished @AnthonyRonning's task —— View job •
claude/issue-146-20250715_023716• Create PR ➔Tauri Update Logic Fix Complete ✅
Fixed the "Check for Updates" dismissal flag issue in the Tauri app logic.
Todo List:
Analysis & Implementation:
Found the issue in
frontend/src-tauri/src/lib.rs:Problem: The dismissal flag logic uses:
UPDATE_DOWNLOADED: AtomicBool that prevents showing duplicate dialogs (line 235)CURRENT_VERSION: Tracks the version that was already downloaded (line 237)check_for_updates()function that respects these flags (lines 312-317)Solution: Clear these flags when the user manually clicks "Check for Updates" so they always get prompted, even if they previously dismissed the update.
Implementation: Modified the menu event handler (lines 163-189) to:
UPDATE_DOWNLOADEDflag tofalseCURRENT_VERSIONstringThis ensures that when users manually click "Check for Updates", they will always be prompted with the update dialog even if they previously dismissed it.
Results:
claude/issue-146-20250715_023716