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

Audio output can be confirmed without playing a test sound

Đang mở Phù hợp với người mới
#359 0 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
62/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu tại web/interview.js, ở confirmOutput(), và theo dõi cách các thao tác phát âm báo kiểm tra và giọng nói kiểm tra được ghi lại. Kiểm tra cấu hình kiểm thử trình duyệt để xác định nơi thêm kiểm thử hồi quy: không thể xác nhận trước khi một trong hai lượt phát bắt đầu, và có thể xác nhận sau đó. Issue chưa nêu rõ thay đổi hành vi này có phải là chủ ý hay không, vì vậy hãy xác nhận kỳ vọng đó trước khi triển khai.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

During the media preflight, users can click "I heard it" without playing either the test tone or the test voice. The Sound status immediately changes to "Confirmed", even though no audio playback has been attempted.

Steps to reproduce

  1. Start a CodeTrial interview and open the "Check your setup" dialog.
  2. Do not click "Play test tone" or "Can't hear the tone?".
  3. Click "I heard it".
  4. Observe that the Sound status changes to "Confirmed".

Actual behavior

The audio output check can be confirmed without attempting either playback test.

Expected behavior

Ideally, users should attempt audio playback before confirming that they heard the sound.

Investigation

In web/interview.js, confirmOutput() sets outputConfirmed = true without checking whether either playback action has occurred.

Proposed improvement

Consider allowing users to confirm audio output only after successfully starting either the test tone or test voice playback.

A browser regression test could verify that confirmation is unavailable before playback and becomes available afterward.

Question

Is allowing audio confirmation before playback intentional, or should users first attempt one of the audio tests?

I would be happy to work on this improvement if the proposed behavior is acceptable.

Ngôn ngữ chính
Rust
Star
160
Fork
64
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
132

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.