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

Ouverte
#32 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Calme
Domaine
networking

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
TypeScript
Étoiles
1
Forks
0
Merge moyen
15 j 20 h
PR mergées (30 j)
3

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de ajithakdev/meterx

Toutes les issues de ajithakdev/meterx

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.