[Feature]: Automatically close tray menu after successful VPN connection

Offen
#1,332 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust
Bereich
desktop, networking

Rechercherichtung

Start by locating the tray menu and Preferences implementations, then trace how the client reports VPN connection success, failure, and in-progress status. Check how settings are stored and how the tray menu is dismissed; done means the menu closes after the selected delay only on success, stays open on failure or while connecting, and the option works across its enabled and disabled states.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

feature
Problem description

Add an option to automatically close the Defguard Client tray menu a few seconds after a VPN connection has been successfully established.

Expected Behaviour

Successful connection: Automatically close the tray menu after a configurable delay (e.g. 3–5 seconds).

Failed connection: Keep the tray menu open so the user can immediately see the error and retry.

While connecting: Keep the tray menu open until the connection status is confirmed.

Proposed solution

Add a setting under Preferences:

Automatically close tray menu after successful connection

Enabled / Disabled

Delay: 3 / 5 / 10 seconds

Benefit

This would improve the user experience by eliminating the need to manually dismiss the tray menu after every successful connection, while ensuring that connection errors remain visible.

Alternatives considered

No response

Impact

Nice to have

Vorherrschende Sprache
Rust
Sterne
373
Forks
42
Ø Merge
21 Std. 18 Min.
Gemergte PRs (30 T.)
50

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DefGuard/client

Alle Issues in DefGuard/client

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.