feat(classroom): add keyboard shortcuts and clean up interaction controls
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- html, javascript
- Lĩnh vực
- frontend
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
- Joining or auto-joining
/classroom_poctriggers 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
Tfor thumbs-up 👍 andRfor 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
TandRto trigger thumbs-up and raise-hand reactions. - Verified that
Ctrl + R/Cmd + Rstill refreshes the page. - Confirmed that typing in inputs does not trigger shortcuts.
- Ngôn ngữ chính
- HTML
- Star
- 3
- Fork
- 28
- Merge trung bình
- 17 giờ 41 phút
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của alphaonelabs/learn
-
Active Navigation State Is Not Highlighted in the NavbarCó thể đã có người làm @Taha254511 đã nhận 4 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
alphaonelabs/learn#91 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a "Resend verification email" option on the login pageCó thể đã có người làm @gopikrishna-20 đã nhận 2 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
alphaonelabs/learn#131 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Security] Use random salts for new password hashes, with backward-compatible migrationCó thể đã có người làm @Taha254511 đã nhận 3 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
alphaonelabs/learn#130 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add Google Sign-In AuthenticationCó thể đã có người làm @gopikrishna-20 đã nhận 3 ngày trước. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
alphaonelabs/learn#126 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(classroom): add seated arrow-key desk navigation and improve seating user experienceCó thể đã có người làm @rishavvrajj đã nhận 4 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
alphaonelabs/learn#121 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của alphaonelabs/learn
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:desktop priority:p2 type:chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: right sidebar
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
zulip/zulip#40449 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày