feat: Network-change auto-trigger — test when joining new Wi-Fi

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Lĩnh vực
networking

Hướng nghiên cứu

Start by locating the browser extension's service worker and the existing connectivity and speed test entry points; the issue does not name their files. Check whether the proposed navigator.connection change event is available in the target browser contexts, then trace how test results are stored in history. Done means a new network triggers a lightweight test, reports its result, and stores a network profile; the optional open-network warning can be assessed separately.

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

Mô tả

enhancement UX

Summary

Automatically run a quick diagnostic test when the user connects to a new Wi-Fi network (hotel, airport, coffee shop, office).

Behavior
  1. Detect network change via navigator.connection API or periodic connectivity checks
  2. Show notification: "Connected to 'Starbucks Guest' — checking speed..."
  3. Run a lightweight ping + mini download test (not full 8-second saturation)
  4. Report: "Starbucks Guest: 8.5 Mbps down, 140ms ping ⚠️ Fair"
  5. Optional: warn about open/unencrypted networks
Why
  • Hotel/airport Wi-Fi quality is a universal pain point
  • Users always want to know "how fast is this Wi-Fi?" when connecting somewhere new
  • Proactive testing without requiring the user to remember to test
Implementation
  • Use navigator.connection.addEventListener('change', ...) in service worker
  • Detect SSID change (limited in browser context, but can detect IP/connection type changes)
  • Run lightweight test variant (2-second duration, single stream)
  • Store network profiles in history with network identifiers
Ngôn ngữ chính
TypeScript
Star
1
Fork
0
Merge trung bình
15 ngày 20 giờ
Pull request đã merge (30 ngày)
3

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

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 ajithakdev/meterx

Tất cả issue của ajithakdev/meterx

Issue tương tự

Thêm issue về TypeScript

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.