Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Allow candidates to toggle avatar visibility back on (Show/Hide Avatar)

Đang mở
#291 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sysprog21/codetrial

Tất cả issue của sysprog21/codetrial

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.