File tree Expand file tree Collapse file tree
panel/backend/message-handlers
settings/backend/message-handlers
packages/ui/src/components/editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ export const handle_create_preset_group_or_separator = async (
138138 ( resolve ) => {
139139 const quick_pick = vscode . window . createQuickPick ( )
140140 quick_pick . items = [
141- { label : 'Insert above' } ,
142- { label : 'Insert below' }
141+ { label : 'Insert new item above' } ,
142+ { label : 'Insert new item below' }
143143 ]
144144 quick_pick . title = 'Placement'
145145 quick_pick . placeholder = 'Where to insert?'
@@ -175,7 +175,7 @@ export const handle_create_preset_group_or_separator = async (
175175 if ( ! position_quick_pick ) return
176176
177177 insertion_index =
178- position_quick_pick == 'Insert above'
178+ position_quick_pick == 'Insert new item above'
179179 ? message . reference_index
180180 : message . reference_index + 1
181181 } else if ( message . placement == 'top' ) {
Original file line number Diff line number Diff line change @@ -311,8 +311,8 @@ export const handle_upsert_model_provider = async (params: {
311311 ( resolve ) => {
312312 const quick_pick = vscode . window . createQuickPick ( )
313313 quick_pick . items = [
314- { label : 'Insert above' } ,
315- { label : 'Insert below' }
314+ { label : 'Insert new provider above' } ,
315+ { label : 'Insert new provider below' }
316316 ]
317317 quick_pick . title = 'Placement'
318318 quick_pick . placeholder = 'Where to insert?'
@@ -348,7 +348,7 @@ export const handle_upsert_model_provider = async (params: {
348348 if ( ! position_quick_pick ) return
349349
350350 actual_insertion_index =
351- position_quick_pick == 'Insert above'
351+ position_quick_pick == 'Insert new provider above'
352352 ? insertion_index
353353 : insertion_index + 1
354354 }
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ export const upsert_configuration = async (params: {
8282 ( resolve ) => {
8383 const quick_pick = vscode . window . createQuickPick ( )
8484 quick_pick . items = [
85- { label : 'Insert above' } ,
86- { label : 'Insert below' }
85+ { label : 'Insert new configuration above' } ,
86+ { label : 'Insert new configuration below' }
8787 ]
8888 quick_pick . title = 'Placement'
8989 quick_pick . placeholder = 'Where to insert?'
@@ -119,7 +119,7 @@ export const upsert_configuration = async (params: {
119119 if ( ! position_quick_pick ) return
120120
121121 actual_insertion_index =
122- position_quick_pick == 'Insert above'
122+ position_quick_pick == 'Insert new configuration above'
123123 ? params . insertion_index
124124 : params . insertion_index + 1
125125 }
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export const Configurations: React.FC<Configurations.Props> = (props) => {
9797 { ! is_dragging_disabled && (
9898 < IconButton
9999 codicon_icon = "insert"
100- title = "Insert below/above"
100+ title = "Insert new configuration below/above"
101101 on_click = { ( e ) => {
102102 e . stopPropagation ( )
103103 props . on_create ( { insertion_index : index_for_insertion } )
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ export const Presets: React.FC<Presets.Props> = (props) => {
344344 />
345345 < IconButton
346346 codicon_icon = "insert"
347- title = "Insert below/above"
347+ title = "Insert new item below/above"
348348 on_click = { ( e ) => {
349349 e . stopPropagation ( )
350350 props . on_create ( undefined , preset . original_index ! )
@@ -549,7 +549,7 @@ export const Presets: React.FC<Presets.Props> = (props) => {
549549 />
550550 < IconButton
551551 codicon_icon = "insert"
552- title = "Insert below/above"
552+ title = "Insert new item below/above"
553553 on_click = { ( e ) => {
554554 e . stopPropagation ( )
555555 props . on_create ( undefined , preset . original_index ! )
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export const ConfigurationsList: React.FC<ConfigurationsList.Props> = (
5858 { sortable && (
5959 < IconButton
6060 codicon_icon = "insert"
61- title = "Insert below/above"
61+ title = "Insert new configuration below/above"
6262 on_click = { ( ) => props . on_add ( { insertion_index : index } ) }
6363 />
6464 ) }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export const ModelProviders: React.FC<ModelProviders.Props> = (props) => {
4545 < div className = { styles [ 'col-actions' ] } >
4646 < IconButton
4747 codicon_icon = "insert"
48- title = "Insert below/above"
48+ title = "Insert new provider below/above"
4949 on_click = { ( ) => props . on_add_provider ( { insertion_index : index } ) }
5050 />
5151 { provider . type == 'custom' && (
You can’t perform that action at this time.
0 commit comments