feat: Data cap guardian — limit monthly test data usage

Đang mở
#33 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ó
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
Ít trao đổi
Công nghệ
express, typescript
Lĩnh vực
full-stack

Hướng nghiên cứu

Start by reading the browser extension’s options page, side panel, test history, and scheduling code to find where settings are saved and test data is recorded. The issue calls for tracking bytes per test, storing monthly limits and usage, resetting usage each month, and changing scheduled tests as the budget approaches or is exceeded. Done means users can configure a cap, see usage, and scheduled tests respond to the stated thresholds.

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

Mô tả

enhancement UX

Summary

Allow users to set a monthly speed test data budget to prevent bill shock on metered connections (mobile hotspots, ISPs with data caps).

Feature
  • User sets monthly limit in options (e.g., 500 MB/month for speed tests)
  • Extension tracks cumulative data used by all tests this month
  • When approaching limit: switch to micro-tests (HEAD pings only, no bandwidth saturation)
  • When exceeded: pause scheduled tests, show warning
  • Display usage meter in side panel: "Test data used: 120 MB / 500 MB"
Why
  • Many ISPs (Comcast/Xfinity) have 1.2 TB monthly caps
  • Mobile hotspot users have strict data limits
  • A full MeterX test downloads ~200 MB (4 streams × 25 MB × 8 seconds). Running hourly tests = 4.8 GB/day!
  • Being respectful of data usage builds trust with all users
Implementation
  • Track bytes transferred per test in history entries
  • Add dataCapMb and dataUsedMb to chrome.storage.sync
  • Reset counter on 1st of each month
  • Add data budget configuration to options page
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.