feat: Data cap guardian — limit monthly test data usage

Abierto
#33 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
express, typescript
Área
full-stack

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
TypeScript
Estrellas
1
Forks
0
Merge medio
15 d 20 h
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ajithakdev/meterx

Todos los issues de ajithakdev/meterx

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.