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

Đang mở
#1,332 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
desktop, networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
373
Fork
42
Merge trung bình
21 giờ 18 phút
Pull request đã merge (30 ngày)
50

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DefGuard/client

Tất cả issue của DefGuard/client

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.