[Feature]: Automatically close tray menu after successful VPN connection
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- desktop, networking
调研方向
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 内容生成。
描述
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 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DefGuard/client 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 52/100
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
macOS: Inform user that Network Extension is not enabled可能已有人在做 @moubctez 于 1 天前认领。 未关闭enhancement
难度 3/5 1-2 天 新手友好度 55/100
DefGuard/client#1327 · 4 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
RustCrypto/utils#1597 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
max-sixty/worktrunk#4727 · 7 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
follow-up
难度 2/5 1-3 小时 新手友好度 73/100
carrick-sh/carrick#1859 ·
维护者通常 1 天内回复