Skip to content

Commit 2ee3b4c

Browse files
committed
Enable ignoreFocusOut for provider selection quick picks
- on the providers quick pick, ignore focus out └── apps └── editor └── src ├── constants │ └── providers.ts ├── i18n │ └── translations │ └── views │ └── shared │ └── actions │ └── api │ ├── common.ts │ ├── create │ │ ├── create.ts │ │ ├── index.ts │ │ └── interactions │ │ ├── index.ts │ │ ├── initial-select-model.ts │ │ ├── initial-select-provider.ts │ │ └── verify-model.ts │ ├── delete.ts │ ├── index.ts │ ├── pick-extended-provider.ts │ ├── pick-reasoning-effort.ts │ ├── update │ │ ├── index.ts │ │ └── interactions │ │ ├── edit-model-for-api-config.ts │ │ ├── edit-reasoning-effort-for-api-config.ts │ │ └── index.ts │ └── upsert-provider.ts └── views ├── prompt │ └── backend │ └── message-handlers │ └── handle-pick-reasoning-effort.ts ├── settings │ └── backend │ └── message-handlers │ ├── handle-add-provider.ts │ └── handle-pick-reasoning-effort.ts └── shared └── actions └── api ├── create │ ├── create.ts │ └── interactions │ ├── index.ts │ ├── initial-select-model.ts │ ├── initial-select-provider.ts │ ├── verify-model.ts │ └── verify-reasoning-effort.ts ├── delete.ts ├── pick-extended-provider.ts ├── pick-provider-source.ts ├── pick-reasoning-effort.ts ├── reorder.ts ├── update │ ├── interactions │ │ ├── edit-model-for-api-config.ts │ │ ├── edit-provider-for-api-config.ts │ │ ├── edit-reasoning-effort-for-api-config.ts │ │ └── index.ts │ └── update.ts └── upsert-provider.ts
1 parent 9b1ae29 commit 2ee3b4c

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎apps/editor/src/views/shared/actions/api/create/interactions/initial-select-provider.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const initial_select_provider = async (
4040
label: string
4141
provider?: Provider
4242
}>()
43+
quick_pick.ignoreFocusOut = true
4344
quick_pick.items = [
4445
add_new_item,
4546
{

‎apps/editor/src/views/shared/actions/api/pick-provider-source.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const pick_provider_source = async (params?: {
4545
]
4646

4747
const quick_pick = vscode.window.createQuickPick()
48+
quick_pick.ignoreFocusOut = true
4849
quick_pick.items = items
4950
quick_pick.title = t(
5051
'views.shared.actions.api.upsert-provider.options.title'

‎apps/editor/src/views/shared/actions/api/update/interactions/edit-provider-for-api-config.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const edit_provider_for_api_configuration = async (
1616
>((resolve) => {
1717
const quick_pick =
1818
vscode.window.createQuickPick<(typeof provider_items)[0]>()
19+
quick_pick.ignoreFocusOut = true
1920
quick_pick.items = provider_items
2021
quick_pick.title = t(
2122
'views.shared.actions.api.upsert-provider.options.title'

0 commit comments

Comments
 (0)