Skip to content

Feature/auto update - #5

Merged
CodeDead merged 5 commits into
developmentfrom
feature/auto-update
Mar 3, 2026
Merged

Feature/auto update#5
CodeDead merged 5 commits into
developmentfrom
feature/auto-update

Conversation

@CodeDead

@CodeDead CodeDead commented Mar 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

@CodeDead CodeDead self-assigned this Mar 3, 2026
@CodeDead CodeDead added the enhancement New feature or request label Mar 3, 2026

This comment was marked as outdated.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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


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

Comment thread src/components/app.rs
Comment thread src/views/update_view.rs
Comment thread src/views/main_view.rs
Comment thread src/components/app.rs
Comment thread src/components/app.rs
Comment on lines +154 to +161
let update_server = state.settings.update_server.clone();
let (_, open) = window::open(settings);
(
Self {
windows: BTreeMap::new(),
state: State::default(),
state,
image_service: ImageService::new(),
update_service: UpdateService::new(update_server),

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

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

The update_service field is initialized once in App::new() using the update_server URL from the loaded settings. If the update_server setting is ever changed at runtime and saved (even though no UI currently exposes this field), the update_service will continue to use the original URL because it is never re-created. Consider re-creating the UpdateService from the current settings whenever CheckForUpdates is triggered, or store only the URL and create a fresh client each time.

Copilot uses AI. Check for mistakes.
Comment thread src/views/update_view.rs
@CodeDead
CodeDead merged commit d0d8c07 into development Mar 3, 2026
1 check passed
@CodeDead
CodeDead deleted the feature/auto-update branch March 9, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants