mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-17 20:19:55 +00:00
Layout changes: - Drop "Debug Bundle" row; reach the flow via the in-window Settings UI. - Move the brand-mark icon from the About row to "Open NetBird". - Collapse Settings / Exit Node / About into a single block, with the Settings → Exit Node order swap to put the configuration entry first. - Relocate Connect / Disconnect to the bottom block, sharing its separator with Quit. Drops the connectSeparator field + lastMenuItem helper that only existed to suppress the daemon-unavailable double separator in the old position. Countdown freshness: the daemon's Status snapshots arrive too coarse to keep a minute-grained "Expires in …" row honest while the menu is closed. Wails v3 alpha 95 does not expose a public NSMenu needsUpdate hook, so the tray binds OnClick / OnRightClick and recomputes the label from cached sessionExpiresAt just before the menu paints. macOS and Windows right-click additionally call OpenMenu() to restore the native auto-show that binding the handler suppresses; Linux's dbusmenu host paints the menu itself.