Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Let the candidate undo Continue without camera in the preflight

Aperta
#327 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@HALA1028 ci sta già lavorando.

Dal 16/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Rust
Stelle
160
Fork
64
Merge medio
1g 10h
PR unite (30g)
116

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sysprog21/codetrial

Tutte le issue di sysprog21/codetrial

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.