Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(classroom): add keyboard shortcuts and clean up interaction controls

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

I maintainer di solito rispondono entro 1 giorno

@rishavvrajj ci sta già lavorando.

Dal 16/10/2026.

  • #125 di @rishavvrajj — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html, javascript
Ambito
frontend

Direzione di ricerca

The payload names no files. Start from the /classroom_poc page: find where the connection toast fires on WebSocket connect and auto-join, where a global keydown listener would go for T and R, and where the presence buttons get their active styling. Done when the toast no longer appears, T and R trigger the reactions, Ctrl/Cmd+R still reloads, typing in inputs is unaffected, and the buttons lose the teal highlight. The issue text describes the change as already made, so confirm with a maintainer what remains before starting.

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

Descrizione

Problem

  • Joining or auto-joining /classroom_poc triggers a redundant “Connected to classroom” / “Viewing classroom” toast notification, even though the top navigation bar already shows the live connection status.
  • Thumbs-up and raise-hand actions were only available through on-screen mouse clicks.
  • Presence reaction buttons were highlighted in teal when active, creating unnecessary visual noise.

Solution

  • Toast removal: Removed the redundant connection toast on WebSocket connection and auto-join.
  • Keyboard shortcuts: Added T for thumbs-up 👍 and R for raise-hand ✋, with modifier-key guards (!e.ctrlKey && !e.metaKey) so browser refresh and text input are not affected.
  • Visual polish: Removed active-state highlighting from presence control buttons.

Testing

  • Joined and auto-joined a classroom; no redundant toast appears.
  • Pressed T and R to trigger thumbs-up and raise-hand reactions.
  • Verified that Ctrl + R / Cmd + R still refreshes the page.
  • Confirmed that typing in inputs does not trigger shortcuts.
Lingua principale
HTML
Stelle
3
Fork
28
Merge medio
17h 41m
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 alphaonelabs/learn

Tutte le issue di alphaonelabs/learn

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.