Skip to content

[client] Fix UI new version notifier #3845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 20, 2025
Merged

[client] Fix UI new version notifier #3845

merged 2 commits into from
May 20, 2025

Conversation

lixmal
Copy link
Contributor

@lixmal lixmal commented May 19, 2025

Describe your changes

Issue ticket number and link

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@Copilot Copilot AI review requested due to automatic review settings May 19, 2025 18:53
Copy link
Contributor

@Copilot 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 fixes the UI new version notifier by refining the update mechanism and ensuring proper log initialization.

  • Refactored conditional assignments in version/update.go to improve readability.
  • Added debug logging for version fetching in version/update.go.
  • Updated client UI (client_ui.go) to initialize logging to console when no log file is provided.

Reviewed Changes

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

File Description
version/update.go Uses inline assignment for cleaner conditional logic and adds debug logging.
client/ui/client_ui.go Adds fallback log initialization to console when a log file is not provided.

hakansa
hakansa previously approved these changes May 19, 2025
Copy link

@lixmal lixmal merged commit 1d4cfb8 into main May 20, 2025
32 checks passed
@lixmal lixmal deleted the fix-ui-updater branch May 20, 2025 08:39
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.

2 participants