[BUG]: Inverted Mic icon causes input confusion in Bot Debate Room
Maintainers usually reply within 20 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- react, typescript, vite
- Domain
- accessibility, frontend
Research direction
Start in frontend/src/Pages/DebateRoom.tsx and read how isRecognizing controls the microphone button and textarea. Check the existing speech recognition behavior, then make the icon and a written listening message match the recognition state. Done when idle and active states are visually clear and the textarea behavior is no longer surprising; the issue does not name a test to run.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 266
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/DebateAI
-
[BUG]: Comment, reply and team-join notifications link to wrong or non-existent frontend routesMay be free again @unnati-jaiswal24 claimed this 7 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/DebateAI#811 · 2 comments ·
Maintainers usually reply within 20 days
-
[BUG]: Comment, reply and team-join notifications link to wrong or non-existent frontend routesPossibly taken @mithunkc017-ship-it claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
AOSSIE-Org/DebateAI#810 · 1 comment ·
Maintainers usually reply within 20 days
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument pagePossibly taken @sujitkr268 claimed this 6 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AOSSIE-Org/DebateAI#801 · 2 comments ·
Maintainers usually reply within 20 days
-
[BUG]: Singleton state leak in matchmaking tests causes non-deterministic failuresPossibly taken @mithunkc017-ship-it claimed this 15 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/DebateAI#798 · 3 comments ·
Maintainers usually reply within 20 days
-
[BUG]: Live Debate Rooms page overflows horizontally on mobile screensMay be free again @SYED-IRTEZA-HUSSAIN-RIZVI claimed this 14 days ago, and no pull request is open. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
AOSSIE-Org/DebateAI#797 · 4 comments ·
Maintainers usually reply within 20 days
All issues in AOSSIE-Org/DebateAI
Similar issues
-
enhancement status:needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
dongdongbh/Mindwtr#1625 ·
Maintainers usually reply within 1 day
-
area/ui-schema good first issue type/bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 1/5 Under an hour Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
duckdb/duckdb-wasm#2335 ·
Maintainers usually reply within 1 day