mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-05 10:51:12 -07:00
chore(ui): optimize AgentsStatus layout with dense list style and group separation (#16545)
This commit is contained in:
@@ -363,7 +363,6 @@ Remote Agents
|
||||
|
||||
- remote_agent
|
||||
Remote agent description.
|
||||
|
||||
"
|
||||
`;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ export const AgentsStatus: React.FC<AgentsStatusProps> = ({
|
||||
|
||||
if (agents.length === 0) {
|
||||
return (
|
||||
<Box flexDirection="column">
|
||||
<Box flexDirection="column" marginBottom={1}>
|
||||
<Text>No agents available.</Text>
|
||||
</Box>
|
||||
);
|
||||
@@ -34,7 +34,7 @@ export const AgentsStatus: React.FC<AgentsStatusProps> = ({
|
||||
if (agentList.length === 0) return null;
|
||||
|
||||
return (
|
||||
<Box flexDirection="column" marginBottom={1}>
|
||||
<Box flexDirection="column">
|
||||
<Text bold color={theme.text.primary}>
|
||||
{title}
|
||||
</Text>
|
||||
@@ -66,6 +66,7 @@ export const AgentsStatus: React.FC<AgentsStatusProps> = ({
|
||||
return (
|
||||
<Box flexDirection="column" marginBottom={1}>
|
||||
{renderAgentList('Local Agents', localAgents)}
|
||||
{localAgents.length > 0 && remoteAgents.length > 0 && <Box height={1} />}
|
||||
{renderAgentList('Remote Agents', remoteAgents)}
|
||||
</Box>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user