Skip to content

Add 2h/6h/12h auto-update intervals and update UI/docs#104

Merged
dimitar-radenkov merged 1 commit into
masterfrom
feat/update-check-hourly-intervals
May 16, 2026
Merged

Add 2h/6h/12h auto-update intervals and update UI/docs#104
dimitar-radenkov merged 1 commit into
masterfrom
feat/update-check-hourly-intervals

Conversation

@dimitar-radenkov
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 16, 2026 05:42
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

Adds three sub-daily auto-update check intervals (2h, 6h, 12h) to the existing UpdateCheckInterval enum, exposes them in the Settings UI, wires them into AutoUpdateService.GetTimerInterval, updates tests to assert in hours, updates README, and changes the default AutoUpdateCheckInterval from EveryDay to EveryTwoHours.

Changes:

  • New EveryTwoHours/EverySixHours/EveryTwelveHours enum members mapped to TimeSpan.FromHours in the timer interval switch.
  • Settings ComboBox lists the new options; README documents them.
  • Default auto-update interval changed to EveryTwoHours; tests reworked to compare hours.

Reviewed changes

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

Show a summary per file
File Description
README.md Documents the new hourly intervals in the Settings table.
Pointframe/Views/SettingsWindow.xaml Adds three ComboBoxItems for the new intervals.
Pointframe/Services/Update/AutoUpdateService.cs Maps the new enum values to TimeSpan.FromHours(2/6/12).
Pointframe/Models/UserSettings.cs Changes default AutoUpdateCheckInterval to EveryTwoHours.
Pointframe/Models/UpdateCheckInterval.cs Adds three new enum members (values 4/5/6).
Pointframe.Tests/Services/AutoUpdateServiceTests.cs Switches the mapping test to hours and covers all new values.

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

@codecov-commenter
Copy link
Copy Markdown

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

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@dimitar-radenkov dimitar-radenkov merged commit 0ca107b into master May 16, 2026
5 checks passed
@dimitar-radenkov dimitar-radenkov deleted the feat/update-check-hourly-intervals branch May 16, 2026 05:47
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