Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Let the candidate undo Continue without camera in the preflight

オープン
#327 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@HALA1028 がすでに取り組んでいます。

2026年10月16日 から。

評価

この issue はまだ評価されていません。

説明

Observed behavior

In the media preflight of an unrecorded interview, clicking "Continue without camera" marks the camera step as done ("Not used (no_device)" or "Not used (denied)") and hides the button. Nothing on the page brings the camera back before the interview starts. A candidate who clicks it by mistake, or who plugs in or frees a camera afterwards, can only reload the page or go back to the lobby and start over.

Expected behavior

Until "Start interview" is pressed, the candidate can switch back to using the camera, and the camera step returns to its normal check.

Reproduction
  1. Run codetrial web and start an unrecorded interview.
  2. In the media preflight, click "Continue without camera".
  3. Look for a way to use the camera again before starting.
Environment

OS: Windows 10
Browser: Google Chrome 152

Initial analysis

The skip handler in web/interview.js sets cameraSkipped, calls pool.disable("video") and writes the Meet presentation choice back to off. refresh() then keeps #camera-skip hidden with recordingEnabled || cameraSkipped, a line tests/browser/dom-contract.test.js pins. createDevicePool in web/devices.js has disable(kind) but no counterpart, so a disabled device is never requested again. The skip is only read when the preflight resolves, so undoing it before Start would not affect any report.

Proposed change

Turn the skip button into a toggle ("Use camera" once skipped), add an enable(kind) to the device pool that clears disabled and requests the device again, and restart the face check when the new track arrives. The Meet presentation box stays unchecked after an undo rather than restoring a choice the candidate never made again. Tests: a device pool test that a re-enabled device is requested again, and a preflight test that skipping and then undoing leaves the camera step pending until a live track arrives. I would like to work on this if the direction looks right.

主要言語
Rust
スター
160
フォーク
64
平均マージ
1日 10時間
マージ済み PR(30日)
116

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sysprog21/codetrial のほかの issue

sysprog21/codetrial の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。