Skip to content

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

Open
rishavvrajj wants to merge 3 commits into
alphaonelabs:mainfrom
rishavvrajj:feat/classroom-ux-shortcuts-and-toast-cleanup
Open

rishavvrajj wants to merge 3 commits into
alphaonelabs:mainfrom
rishavvrajj:feat/classroom-ux-shortcuts-and-toast-cleanup

Conversation

@rishavvrajj

Copy link
Copy Markdown
Contributor

Summary

This PR enhances the Virtual Classroom POC (/classroom_poc) with UX improvements, keyboard navigation, and UI cleanups.

Changes

  • Toast Notification Removal: Removed the redundant connection toast on WebSocket open / auto-join; the persistent header connection status remains the source of truth.
  • Keyboard Shortcuts:
    • T: Toggle thumbs-up reaction (👍)
    • R: Toggle raised hand (✋)
    • Guarded against input fields (isTypingInInput) and browser modifier keys (Ctrl + R / Cmd + R refresh).
    • Added <kbd>T</kbd> and <kbd>R</kbd> visual hints to the control buttons.
  • Button Highlight Cleanup: Removed active-state background/border color toggling when reactions or raised hands are enabled.

Screen Recording

Recording.2026-10-16.200332.mp4

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.
  • Checked that the header connection status still updates correctly.

Close #124 Assisted by AI using automatic multi-model routing, primarily Ollama.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 71f772ad-333d-4895-9762-df076b867bbd
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Add keyboard shortcuts and clean up interaction controls

1 participant