feat(vscode): show match dot on collapsed model picker groups during search

This commit is contained in:
kiloconnect[bot]
2026-05-19 10:49:24 +00:00
parent 24454bf796
commit 522c5b50a5
2 changed files with 13 additions and 0 deletions
@@ -675,6 +675,9 @@ export const ModelSelectorBase: Component<ModelSelectorBaseProps> = (props) => {
<path d="M4 6l4 5 4-5H4z" />
</svg>
<span>{group.label}</span>
<Show when={!shown() && !!debouncedSearch()}>
<span class="model-selector-group-match-dot" aria-hidden="true" />
</Show>
</button>
<Show when={shown()}>
<For each={group.rows}>
@@ -295,6 +295,16 @@
transform: rotate(-90deg);
}
.model-selector-group-match-dot {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--vscode-list-highlightForeground, var(--vscode-focusBorder));
flex-shrink: 0;
margin-left: 2px;
}
.model-selector-item {
display: flex;
align-items: center;