fix(terminal): improve terminal work surface and rename Gemini to Antigravity - #536
Draft
catomean wants to merge 3 commits into
Draft
fix(terminal): improve terminal work surface and rename Gemini to Antigravity#536catomean wants to merge 3 commits into
catomean wants to merge 3 commits into
Conversation
- Update agent label from 'Gemini' to 'Antigravity' in both agent-labels.ts and gemini adapter - Replace native select dropdowns in TerminalLaunch with design-system Picker component - Picker uses ui-chip-toggle styling for consistency with terminal mode bar - Improves visual hierarchy and touch targets for mobile - Agent lists already come from adapter registry (no consolidation needed) Co-authored-by: Cato <catomean@users.noreply.github.com>
- Source bar now shows even with single source (users need to know WHERE they're looking) - Added better visual separation between controls and terminal - Tab strip only shows when tabs exist (clearer hierarchy) - Added comments for session control sections - Increased gap between sections from 2 to 3 for better breathing room The terminal is now a clearer work surface: pick a project tab, see which source (cloud/local), switch agents, and watch the live session.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the FleetCrown terminal page to be a proper work surface where users can:
Changes
1. Agent Labels: Gemini → Antigravity
AGENT_LABELSinsrc/lib/agent-labels.tsto show "Antigravity"geminiAdapter.labelinsrc/lib/agents/gemini.tsto "Antigravity"gemini(for process matching, CLI commands)2. Terminal Launch UI
<select>elements with customPickercomponentui-chip-togglestyling for consistency with terminal mode bar3. Source Bar Visibility (The Key Fix)
Before: Source bar disappeared when only one builder was available
After: Always shows which source you're on (cloud/local), even with single source
This was the main usability issue - users need to know WHERE their sessions are running, regardless of whether they have one or two builders online. The bar now:
4. Improved Visual Hierarchy
What Works Now
When Sessions Are Running
When Nothing Is Running
Verification
Type Safety & Linting
Architecture Verified
buildSwitchableAgentCatalog()/api/control/open-tabsTesting Notes
The terminal page functionality verified at component level:
Manual testing path (requires running app + auth):
/terminalFiles Changed
src/lib/agent-labels.ts- Updated AGENT_LABELS mappingsrc/lib/agents/gemini.ts- Updated adapter labelsrc/components/terminal/TerminalLaunch.tsx- Replaced native selects with Pickersrc/components/terminal/TerminalModeBar.tsx- Source bar always shows active sourcesrc/components/terminal/TerminalSurface.tsx- Improved visual hierarchy and spacing