mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 14:07:20 +08:00
feat(vscode): show match dot on collapsed model picker groups during search
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user