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

Aperta
#32 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
express, javascript, typescript
Ambito
networking

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
1
Fork
0
Merge medio
15g 20h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ajithakdev/meterx

Tutte le issue di ajithakdev/meterx

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.