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

未關閉
#1,332 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
48/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
rust

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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

主要語言
Rust
星號
373
分支
42
平均合併
21 小時 18 分鐘
30 天內合併 PR
50

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

DefGuard/client 的其他 Issue

查看 DefGuard/client 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。