Media preflight cannot be closed or cancelled

Open
#75 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
76/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
html, javascript
Domain
frontend

Research direction

Start with the preflight UI in web/interview.html:132-205 and the check flow around web/interview.js:352 and 623-631. Trace how runAudioCheck() resolves and identify where a cancel action can stop pending checks and clean up. Done means users can leave the preflight or return to the lobby, while media checks remain required for starting an interview.

Written by the indexing model from the issue text.

Description

Description

The Media preflight has no way to cancel or return to the lobby. If users deny camera or microphone permission, encounter an unavailable device, or decide not to continue, they must use browser navigation or close the tab.

The media checks should remain required for starting an interview. This issue only concerns leaving the preflight.

Relevant code

  • web/interview.html:132-205: preflight UI has no cancel control.
  • web/interview.js:352: waits for runAudioCheck().
  • web/interview.js:623-631: resolves only after the required checks pass.

There is currently no cancellation or cleanup path.

Dominant language
Rust
Stars
54
Forks
8
Avg merge
11h 57m
Merged PRs (30d)
44

Contributor guide

No contributing guide indexed for this repository

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.