feat: show installed badge and version in agent dropdown menus

This commit is contained in:
Nathan Flurry 2026-01-27 20:34:10 -08:00
parent f452b46b94
commit c498aeba28
4 changed files with 70 additions and 19 deletions

View file

@ -482,6 +482,10 @@
font-size: 12px;
cursor: pointer;
transition: all var(--transition);
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.sidebar-add-option:hover {
@ -489,6 +493,42 @@
color: #fff;
}
.sidebar-add-option:hover .agent-badge {
background: rgba(255, 255, 255, 0.2);
color: #fff;
}
.agent-option-name {
flex: 1;
min-width: 0;
}
.agent-option-badges {
display: flex;
align-items: center;
gap: 4px;
flex-shrink: 0;
}
.agent-badge {
padding: 2px 6px;
border-radius: 4px;
font-size: 10px;
font-weight: 500;
white-space: nowrap;
transition: all var(--transition);
}
.agent-badge.installed {
background: rgba(48, 209, 88, 0.15);
color: var(--success);
}
.agent-badge.version {
background: var(--border-2);
color: var(--muted);
}
.sidebar-add-status {
padding: 6px 8px;
font-size: 11px;