Skip to content

fix(ui): hide voice-only controls in text-only mode - #8

Open
swsarancodes wants to merge 1 commit into
open-gitagent:mainfrom
swsarancodes:fix/text-only-hide-voice-controls
Open

swsarancodes wants to merge 1 commit into
open-gitagent:mainfrom
swsarancodes:fix/text-only-hide-voice-controls

Conversation

@swsarancodes

Copy link
Copy Markdown

Fixes #6.

Summary

When no voice API key is configured, GitAgent correctly displays the text-only warning but still showed Camera Flip and Speaker controls.

This change hides those remaining voice-only controls, while keeping text chat available.

Before

Screenshot 2026-09-17 at 11 45 10 AM

Camera Flip and Speaker were still visible even though voice mode was unavailable.

After

Screenshot 2026-09-17 at 11 47 26 AM

Camera Flip and Speaker are hidden. The warning, Camera off state, and text chat remain available.

Verification

  • Ran npm run build
  • Verified locally at http://localhost:3333 without a voice API key
  • Confirmed Camera Flip and Speaker are absent in text-only mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: text-only mode leaves speaker and camera-flip controls visible

1 participant