[PR #1615] [MERGED] Combine update-available and connected/disconnected tray icon states #14045

Closed
opened 2026-08-05 02:09:22 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1615
Author: @lixmal
Created: 2/23/2024
Status: Merged
Merged: 2/26/2024
Merged by: @mlsmaycon

Base: mainHead: fix/combine-trayicon-states


📝 Commits (4)

  • de4c477 Combine update-available and connected/disconnected tray icon states
  • 379ac9e Removed unused icons
  • 0dc37e5 Update goreleaser paths
  • 533d970 Make icons less opaque

📊 Changes

14 files changed (+38 additions, -19 deletions)

View changed files

📝 .goreleaser_ui.yaml (+2 -2)
📝 client/ui/client_ui.go (+36 -17)
📝 client/ui/netbird-systemtray-connected.ico (+0 -0)
📝 client/ui/netbird-systemtray-connected.png (+0 -0)
client/ui/netbird-systemtray-default.ico (+0 -0)
client/ui/netbird-systemtray-default.png (+0 -0)
client/ui/netbird-systemtray-disconnected.ico (+0 -0)
client/ui/netbird-systemtray-disconnected.png (+0 -0)
client/ui/netbird-systemtray-update-connected.ico (+0 -0)
client/ui/netbird-systemtray-update-connected.png (+0 -0)
client/ui/netbird-systemtray-update-disconnected.ico (+0 -0)
client/ui/netbird-systemtray-update-disconnected.png (+0 -0)
client/ui/netbird-systemtray-update.ico (+0 -0)
client/ui/netbird-systemtray-update.png (+0 -0)

📄 Description

Describe your changes

This PR updates the system tray icons to reflect both connection status and availability of updates. Now, the tray will show distinct icons for the following states: connected, disconnected, update available while connected, and update available while disconnected. This change improves user experience by providing a clear visual status indicator.

  • Add new icons for connected and disconnected states with update available.
  • Implement logic to switch icons based on connection status and update availability.
  • Remove old icon references for default and update states.

Tested on:

  • Windows
  • Linux
  • macOS

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/1615 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 2/23/2024 **Status:** ✅ Merged **Merged:** 2/26/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/combine-trayicon-states` --- ### 📝 Commits (4) - [`de4c477`](https://github.com/netbirdio/netbird/commit/de4c4779923258a638fc78b0b2823ca9f7376dc2) Combine update-available and connected/disconnected tray icon states - [`379ac9e`](https://github.com/netbirdio/netbird/commit/379ac9e83a50cd7e292704edea492a90ee61b4fc) Removed unused icons - [`0dc37e5`](https://github.com/netbirdio/netbird/commit/0dc37e582988e9f578f56f634f16b4f19651d73b) Update goreleaser paths - [`533d970`](https://github.com/netbirdio/netbird/commit/533d970c893b818bb7400d5eacb9b6dcfb869004) Make icons less opaque ### 📊 Changes **14 files changed** (+38 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `.goreleaser_ui.yaml` (+2 -2) 📝 `client/ui/client_ui.go` (+36 -17) 📝 `client/ui/netbird-systemtray-connected.ico` (+0 -0) 📝 `client/ui/netbird-systemtray-connected.png` (+0 -0) ➖ `client/ui/netbird-systemtray-default.ico` (+0 -0) ➖ `client/ui/netbird-systemtray-default.png` (+0 -0) ➕ `client/ui/netbird-systemtray-disconnected.ico` (+0 -0) ➕ `client/ui/netbird-systemtray-disconnected.png` (+0 -0) ➕ `client/ui/netbird-systemtray-update-connected.ico` (+0 -0) ➕ `client/ui/netbird-systemtray-update-connected.png` (+0 -0) ➕ `client/ui/netbird-systemtray-update-disconnected.ico` (+0 -0) ➕ `client/ui/netbird-systemtray-update-disconnected.png` (+0 -0) ➖ `client/ui/netbird-systemtray-update.ico` (+0 -0) ➖ `client/ui/netbird-systemtray-update.png` (+0 -0) </details> ### 📄 Description ## Describe your changes This PR updates the system tray icons to reflect both connection status and availability of updates. Now, the tray will show distinct icons for the following states: connected, disconnected, update available while connected, and update available while disconnected. This change improves user experience by providing a clear visual status indicator. - Add new icons for connected and disconnected states with update available. - Implement logic to switch icons based on connection status and update availability. - Remove old icon references for default and update states. <img src="https://github.com/netbirdio/netbird/assets/17948409/56842102-e0ee-4cab-8a35-3a15bae1fe3a" width="100"> <img src="https://github.com/netbirdio/netbird/assets/17948409/99b00866-3672-419f-b159-5ea328a832b6" width="100"> <img src="https://github.com/netbirdio/netbird/assets/17948409/18f56110-00df-488a-8754-afeb9db7b059" width="100"> <img src="https://github.com/netbirdio/netbird/assets/17948409/c440fd8f-d278-4c5f-943f-1f0efbfbe2d9" width="100"> Tested on: - Windows - Linux - macOS ## Issue ticket number and link ### Checklist - [x] 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:09:22 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#14045