Audio output can be confirmed without playing a test sound
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 62/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript
- 领域
- frontend
调研方向
从 web/interview.js 中的 confirmOutput() 开始,追踪测试音调和测试语音的播放操作是如何记录的。检查浏览器测试设置,确定应在哪里添加回归测试:在任一播放开始前,确认操作应不可用;播放开始后,确认操作应可用。Issue 没有明确说明这一行为变更是否符合预期,因此在实现之前请先确认这一预期。
由索引模型根据 Issue 内容生成。
描述
Problem
During the media preflight, users can click "I heard it" without playing either the test tone or the test voice. The Sound status immediately changes to "Confirmed", even though no audio playback has been attempted.
Steps to reproduce
- Start a CodeTrial interview and open the "Check your setup" dialog.
- Do not click "Play test tone" or "Can't hear the tone?".
- Click "I heard it".
- Observe that the Sound status changes to "Confirmed".
Actual behavior
The audio output check can be confirmed without attempting either playback test.
Expected behavior
Ideally, users should attempt audio playback before confirming that they heard the sound.
Investigation
In web/interview.js, confirmOutput() sets outputConfirmed = true without checking whether either playback action has occurred.
Proposed improvement
Consider allowing users to confirm audio output only after successfully starting either the test tone or test voice playback.
A browser regression test could verify that confirmation is unavailable before playback and becomes available afterward.
Question
Is allowing audio confirmation before playback intentional, or should users first attempt one of the audio tests?
I would be happy to work on this improvement if the proposed behavior is acceptable.
- 主要语言
- Rust
- 星标
- 160
- 派生
- 64
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 132
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sysprog21/codetrial 的其他 Issue
-
Add a Copy code button to the final report可能已有人在做 @yansawu 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
sysprog21/codetrial#318 · 5 条评论 · 2 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
Show problem difficulty in past attempt labels可能已有人在做 @yuen0428 今天认领。 未关闭
sysprog21/codetrial#357 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add keyboard undo and redo to whiteboard interviews可能已有人在做 @xuntla 今天认领。 未关闭
sysprog21/codetrial#352 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Let the candidate restore the starter code可能已有人在做 @RWong04 今天认领。 未关闭
sysprog21/codetrial#348 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Run the live interviewer on a local speech pipeline可能已有人在做 @alanhc 于 1 天前认领。 未关闭
sysprog21/codetrial#330 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 sysprog21/codetrial 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
yologdev/yoyo-evolve#1053 ·
-
bug lompi security sev-9
难度 2/5 1-3 小时 新手友好度 68/100
-
area:config area:security bug good first issue platform:linux platform:windows priority:medium
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 67/100
niravpatidar37/mcpsum#80 ·
维护者通常 1 天内回复