Let the candidate undo Continue without camera in the preflight
维护者通常 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
- Run
codetrial weband start an unrecorded interview. - In the media preflight, click "Continue without camera".
- 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 小时
- 30 天内合并 PR
- 116
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sysprog21/codetrial 的其他 Issue
-
Four problem loader browser tests fail on Windows可能已有人在做 @Patriciaath999 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
sysprog21/codetrial#322 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
sysprog21/codetrial#318 · 2 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
Show local time in past attempt labels可能已有人在做 @jin11109 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
sysprog21/codetrial#317 · 2 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
Highlight the active line in the code editor可能已有人在做 @ArthurArthurArthur0817 于 9 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
sysprog21/codetrial#247 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Share the RoomService transport and add DeleteRoom可能已有人在做 @dges5202 今天认领。 未关闭
难度 3/5 1-2 天 新手友好度 35/100
维护者通常 1 天内回复
查看 sysprog21/codetrial 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
needs: triage type: bug
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
area:docs documentation P3
难度 1/5 1 小时以内 新手友好度 88/100
Raaif-Yousuf/Wingman#837 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
-
priority: medium
难度 2/5 1-3 小时 新手友好度 68/100
storytold/photocraft#6759 ·
维护者通常 1 天内回复