Skip to content

Update notification: show message box only at startup#108

Merged
dimitar-radenkov merged 3 commits into
masterfrom
fix/startup-update-notification
May 29, 2026
Merged

Update notification: show message box only at startup#108
dimitar-radenkov merged 3 commits into
masterfrom
fix/startup-update-notification

Conversation

@dimitar-radenkov
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 29, 2026 12:06
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 29, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 72.22222% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
Pointframe/App.xaml.cs 60.00% 4 Missing ⚠️
Pointframe/Services/Update/AutoUpdateService.cs 85.71% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the auto-update notification flow so only the startup update check shows the modal update message box, while periodic checks continue to use tray notifications.

Changes:

  • Adds IsStartupCheck metadata to UpdateAvailableMessage.
  • Passes startup vs periodic context from AutoUpdateService.
  • Updates App handling to show the message box only for startup checks and adds tests for both paths.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Pointframe/Services/Update/AutoUpdateService.cs Passes startup/periodic context when publishing update notifications.
Pointframe/Services/Messaging/UpdateAvailableMessage.cs Adds the IsStartupCheck flag to update notifications.
Pointframe/App.xaml.cs Dispatches update UI work to the WPF dispatcher and gates the modal message box to startup checks.
Pointframe.Tests/Services/AutoUpdateServiceTests.cs Verifies startup update messages are marked as startup checks.
Pointframe.Tests/AppTests.cs Adds tests for startup and periodic update notification UI behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dimitar-radenkov dimitar-radenkov merged commit a4e4522 into master May 29, 2026
5 checks passed
@dimitar-radenkov dimitar-radenkov deleted the fix/startup-update-notification branch May 29, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants