[BUG]: Inverted Mic icon causes input confusion in Bot Debate Room
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 70/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- react, typescript, vite
調査の方向性
frontend/src/Pages/DebateRoom.tsxから始めて、isRecognizingがマイクボタンとテキストエリアをどのように制御しているかを読みます。既存の音声認識の動作を確認し、アイコンと、聞き取り中であることを示すテキストメッセージが認識状態に一致するようにします。待機中と認識中の状態が視覚的に明確で、テキストエリアの動作が意外に感じられなくなれば完了です。issueには実行するテストが指定されていません。
索引モデルが issue の本文から書いたものです。
説明
Bug Description
Bug Description :
In the Bot Debate Room (/debate/:roomId), inverted mic icon creates confusion to user :
-
Inverted Mic Iconography
Infrontend/src/Pages/DebateRoom.tsx, the voice toggle button is currently implemented as:<Button onClick={isRecognizing ? stopRecognition : startRecognition}> {isRecognizing ? <MicOff className="w-5 h-5" /> : <Mic className="w-5 h-5" />} </Button>- When speech recognition is active (
isRecognizing === true), it renders<MicOff />, which visually means the microphone is muted for the user. - When speech recognition is idle, it displays
<Mic />, meaning users to think that the app is already listening and mic is active.
- When speech recognition is active (
-
Confusion with
readOnlyInput Locking
The textarea is set toreadOnly={isRecognizing}while speech recognition is active to prevent keyboard conflicts with incoming voice transcripts. But when the user tries to type in when<MicOff />(appearing muted), he gets to know that input is locked, which shows unsynchronized UI defect.
Proposed Solution :
Make the microphone button’s icon match the actual speech‑recognition state and give users a clear written msg that the app is listening, eliminating the confusing read‑only textarea situation.
Steps to Reproduce
- Navigate to Practice with Bot (
/bot-selection) and enter a debate room. - Observe the microphone button before clicking: it shows an active
<Mic />icon even though recognition is idle. - Click the button to start voice recognition: the icon flips to
<MicOff />while the input becomes locked (readOnly). - Attempt to type: input is disabled while the UI appears to show a muted microphone.
Logs and Screenshots
No response
Environment Details
- OS: macOS
- Browser: Chrome (Web Speech API)
- Frontend: React 18, Vite
- Branch:
main(no local modifications aside from temporary dev config)
Impact
Medium - Feature works but has issues
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- 主要言語
- TypeScript
- スター
- 108
- フォーク
- 264
- 平均マージ
- 6時間 53分
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/DebateAI のほかの issue
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument page対応中かも @sujitkr268 が 4 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AOSSIE-Org/DebateAI#801 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Singleton state leak in matchmaking tests causes non-deterministic failures対応中かも @mithunkc017-ship-it が 8 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AOSSIE-Org/DebateAI#798 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Live Debate Rooms page overflows horizontally on mobile screens再び着手できるかも @SYED-IRTEZA-HUSSAIN-RIZVI が 8 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
AOSSIE-Org/DebateAI#797 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Inconsistent branding on authentication page (Arguehub vs DebateAI)再び着手できるかも @SYED-IRTEZA-HUSSAIN-RIZVI が 8 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
AOSSIE-Org/DebateAI#784 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Coach Service Updates Non-Existent Field (total_points vs score)再び着手できるかも @Basharkhan7776 が 27 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
AOSSIE-Org/DebateAI#773 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
AOSSIE-Org/DebateAI の issue をすべて見る
似ている issue
-
ready-for-agent
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
LucasSantana-Dev/Lucky#3257 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
XiaomiMiMo/MiMo-Code#2849 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
danielmiessler/LifeOS#2894 ·
メンテナーはふだん 5 日以内に返信
-
enhancement frontend good first issue help wanted testing-infrastructure
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
enhancement follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信