feat: Device check suite (camera, mic, speakers, keyboard, screen)

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript, vite

Direzione di ricerca

Start with “Adding a tool” in docs/CODEMAP.md, then inspect src/tools/catalog.ts, src/tools/registry.tsx, and the existing keycode logic for the required registration and component patterns. Build a suite covering camera, microphone, speakers, keyboard, and screen checks using the listed browser APIs, with logic under src/tools/<slug>/<slug>.ts and Vitest coverage. Done means the tool is registered, works offline after loading, stays client-side, and supports light and dark mode at phone width without layout shifts.

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

Descrizione

enhancement new tool wave-4

Why

The Media & Device category promises device checks, but there are none yet. "Webcam test" and "mic test" are huge searches, usually right before a job interview or a class.

Replaces: webcamtests.com, onlinemictest.com, keyboard tester sites.

Scope

  • Camera: pick a camera, live preview, resolution and frame rate.
  • Microphone: live level meter, record 5 s and play back.
  • Speakers: left, right, both, a frequency sweep.
  • Keyboard: on-screen layout that lights up keys as you press them (reuse keycode logic).
  • Screen: dead pixel and backlight bleed test with full-screen solid colours.
  • One page with tabs or five small tools; decide in the PR.

Dependency

None. Web APIs only (getUserMedia, enumerateDevices, Web Audio, Fullscreen API).

Done when

  • Logic lives in src/tools/<slug>/<slug>.ts with a Vitest test; the component only renders it.
  • One entry in src/tools/catalog.ts (category, audience, keywords, replaces) and one in src/tools/registry.tsx. See "Adding a tool" in docs/CODEMAP.md.
  • Nothing leaves the browser. It works offline once the page has loaded.
  • Works in light and dark mode and at phone width, with no layout shift when its state changes.
Lingua principale
TypeScript
Stelle
2
Fork
1
Merge medio
2g 21h
PR unite (30g)
7

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/toolglass

Tutte le issue di ajithakdev/toolglass

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.