feat(update): automatic update check with a top-area notification - #180
Merged
Conversation
FR-UI-UPD-02, implementing the requirement recorded in the previous commit. A default-on preference (opt-out under Settings) runs one update check at start-up, off the UI thread, reusing the operator-initiated path (update::check_now) - so the whole never-spurious numeric comparison from FR-UI-UPD-01 comes for free. When a substantiated newer release is found, a clickable "● update <version>" link appears in the top status bar beside the connection indicator, opening the release page. It is silent otherwise: checking, up-to-date and failed show nothing. The metered-link caution that made FR-UI-UPD-01 manual-only is honoured by construction rather than overridden - one request per launch, opt-out, and nothing shown unless there is a real update. Tested at the config layer (default-on preference that survives a save/load round-trip) and verified on screen: the header link renders for an Available status, the Settings toggle is present, and the start-up check was seen overwriting a seeded status - confirming it actually runs. 327 tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KiAgfnGv746wwVBSfFkoRY
Merged
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.
Implements
FR-UI-UPD-02(recorded in #179).What it does
auto_update_checkpreference, opt-out under Settings.update::check_now— soFR-UI-UPD-01's never-spurious numeric comparison comes for free.● update <version>link appears in the top status bar beside the connection indicator, opening the release page.The metered-link concern, honoured not overridden
FR-UI-UPD-01was deliberately manual-only because a radio-control app shouldn't make unannounced outbound connections on a possibly-metered link. This feature respects that by construction: one request per launch, opt-out, and nothing shown unless there's a real update.Verification
auto_update_checkdefaults on and survives a save/load round-trip (test).is_newer(no spurious update).Availablestatus; the Settings toggle is present ("Update check: ON"); and the start-up check was observed overwriting a seeded status, confirming it runs.CONNECTED ● update v0.9.0 DEMO MODE…Update check: ON — check GitHub for a newer release at start-up327 tests, clippy/fmt clean, gate green.
Branches from
main(v0.8.0).🤖 Generated with Claude Code
https://claude.ai/code/session_01KiAgfnGv746wwVBSfFkoRY