Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Let the candidate undo Continue without camera in the preflight

Open
#327 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@HALA1028 is already working on this.

Since Oct 16, 2026.

  • #342 by @HALA1028 — open

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
Rust
Stars
160
Forks
64
Avg merge
1d 12h
Merged PRs (30d)
124

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sysprog21/codetrial

All issues in sysprog21/codetrial

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.