Skip to content

fix: render the no-voice-API-key warning as a strip, not a full-height column - #5

Open
kon-foo wants to merge 1 commit into
open-gitagent:mainfrom
kon-foo:fix/voice-warning-panel-placement
Open

fix: render the no-voice-API-key warning as a strip, not a full-height column#5
kon-foo wants to merge 1 commit into
open-gitagent:mainfrom
kon-foo:fix/voice-warning-panel-placement

Conversation

@kon-foo

@kon-foo kon-foo commented Aug 31, 2026

Copy link
Copy Markdown

Current Behaviour: When running without a voice API key #voiceWarning is unhidden, and above 700px it covers well over a third of the chat view instead of being a small warning.

Screenshot from 2026-08-31 09-18-55

Root Cause: #voiceWarning is a direct child of .chat-view, which is a flex row. With no width set it becomes a flex item at content width, stretched to full height by the row's default align-items: stretch — so it takes a column of its own beside the camera and conversation panels.

Fix: Moving it into .panel-right, which is already a flex column, renders it as a strip above the conversation.

Screenshot from 2026-08-31 13-56-49

Note: As in PR #4 I couldn't run a build to verify. npm ci and npm install both fail on a clean clone — package-lock.json resolves @open-gitagent/gitagent to file:core.tgz, which isn't in the repo.

…t column

#voiceWarning was a direct child of .chat-view, a flex row, so unhiding it
made it a flex item: content width, stretched to full height, taking a column
of its own beside the camera and conversation panels. Move it into
.panel-right, an existing flex column, where it lays out as the strip its
styling describes and .conversation absorbs the height.
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.

1 participant