[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 摘要。