Allow candidates to toggle avatar visibility back on (Show/Hide Avatar)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/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ệ
- rust, web-dev
- Lĩnh vực
- accessibility, frontend
Hướng nghiên cứu
Start by locating the #hide-avatar button, startAvatar(), attachAvatarAnalyser, and the avatarDisabled state mentioned in the issue. Trace the hide and stopped flows, then check how jimTrack is managed and how the interface announces toggle changes. Done means candidates can hide and restore the avatar without refreshing, with teardown preserved and keyboard focus and announcements handled.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem / Motivation
Currently, clicking the "Hide avatar" button permanently disables the avatar for the remainder of the session, destroys the WebGL/AudioContext resources, and hides the button itself.
If a candidate accidentally clicks "Hide avatar" or decides later in the interview that they would like to bring Jim’s avatar back, there is currently no way to re-enable it without refreshing the page.
Proposed Solution
Transform the single-use "Hide avatar" button into a toggle button ("Hide avatar" / "Show avatar"):
Button State Management: Instead of hiding #hide-avatar on stopped state, keep the button visible and update its text content to "Show avatar".
Re-initialization Flow: When clicked while hidden, clear the avatarDisabled lock and invoke startAvatar(). Re-attach the audio analyser (attachAvatarAnalyser) if jimTrack exists.
Resource Efficiency & Accessibility: Maintain full WebGL/analyser teardown on hide to preserve performance benefits, while maintaining proper keyboard focus and accessibility announcements when toggled.
If this issue is accepted I would like to deal with it.
- Ngôn ngữ chính
- Rust
- Star
- 160
- Fork
- 64
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 103
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 sysprog21/codetrial
-
Progress difficulty filter lists Hard before MediumCó thể đã có người làm @Pandamachi đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
sysprog21/codetrial#281 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Highlight the active line in the code editorCó thể đã có người làm @ArthurArthurArthur0817 đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
sysprog21/codetrial#247 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Visualize attempt score trends in the progress viewCó thể đã có người làm @onepch đã nhận 2 ngày trước. Đang mở
sysprog21/codetrial#275 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Adopt a frontend frameworkĐang mởenhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
sysprog21/codetrial#270 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của sysprog21/codetrial
Issue tương tự
-
Trash, bin or rubbish?Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 63/100
pop-os/cosmic-files#2117 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
L: java:gradle L: java:maven L: ruby:bundler T: bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
dependabot/dependabot-core#16547 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug status:ready-for-test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
UniClipboard/UniClipboard#1985 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
RustCrypto/SSH#596 ·
-
area:breg rust
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
registrystack/registry-stack#2034 ·
Maintainer thường phản hồi trong vòng 1 ngày