mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-18 06:39:54 +00:00
[client/ui] Add coloured status dot to tray menu
Show a small dot next to the first menu entry that reflects the daemon state: green for Connected, yellow for Connecting, blue for NeedsLogin/SessionExpired, red for LoginFailed/Error, grey for Idle/Disconnected and dark grey for DaemonUnavailable. PNGs are 24x24 with a pHYs chunk declaring 144 DPI so NSImage renders them at 12 pt while keeping retina-sharp pixel data; circles are supersampled 8x for smooth edges. Idle now surfaces as "Disconnected" in the menu label, daemon-status literals moved to status* constants, and Exit Node / Resources are gated on the Connected state instead of just daemon availability.
This commit is contained in:
BIN
client/ui/assets/netbird-menu-dot-connected.png
Normal file
BIN
client/ui/assets/netbird-menu-dot-connected.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 452 B |
BIN
client/ui/assets/netbird-menu-dot-connecting.png
Normal file
BIN
client/ui/assets/netbird-menu-dot-connecting.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 452 B |
BIN
client/ui/assets/netbird-menu-dot-error.png
Normal file
BIN
client/ui/assets/netbird-menu-dot-error.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 433 B |
BIN
client/ui/assets/netbird-menu-dot-idle.png
Normal file
BIN
client/ui/assets/netbird-menu-dot-idle.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 483 B |
BIN
client/ui/assets/netbird-menu-dot-login.png
Normal file
BIN
client/ui/assets/netbird-menu-dot-login.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 475 B |
BIN
client/ui/assets/netbird-menu-dot-offline.png
Normal file
BIN
client/ui/assets/netbird-menu-dot-offline.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 456 B |
Reference in New Issue
Block a user