Skip to content

Commit 77958d2

Browse files
committed
Update hover styles for selected items and simplify the model selection placeholder text
1 parent 7e06b49 commit 77958d2

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

‎apps/editor/src/views/utils/config-editing.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const initial_select_model = async (
100100
const quick_pick = vscode.window.createQuickPick()
101101
quick_pick.items = model_items
102102
quick_pick.title = 'Create New Configuration'
103-
quick_pick.placeholder = 'Choose an AI model'
103+
quick_pick.placeholder = 'Choose a model'
104104
quick_pick.buttons = [vscode.QuickInputButtons.Back]
105105
if (provider.name) {
106106
// Currently initial_select_model doesn't take a previous selection,

‎packages/ui/src/components/editor/panel/Configurations/Configurations.module.scss‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232

3333
&--highlighted {
3434
background-color: var(--vscode-list-inactiveSelectionBackground);
35+
36+
&:hover {
37+
background-color: var(--vscode-list-inactiveSelectionBackground);
38+
}
3539
}
3640

3741
&__left {

‎packages/ui/src/components/editor/panel/Presets/Presets.module.scss‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060

6161
&--highlighted {
6262
background-color: var(--vscode-list-inactiveSelectionBackground);
63+
64+
&:hover {
65+
background-color: var(--vscode-list-inactiveSelectionBackground);
66+
}
6367
}
6468

6569
&__left {

‎packages/ui/src/components/editor/panel/ResponsePreview/components/FileItem/FileItem.module.scss‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747

4848
&--selected {
4949
background-color: var(--vscode-list-inactiveSelectionBackground);
50+
51+
&:hover {
52+
background-color: var(--vscode-list-inactiveSelectionBackground);
53+
}
5054
}
5155

5256
&--deleted {

0 commit comments

Comments
 (0)