feat(settings): Eugeny/tabby#8680 configurable priotity on quick connect profile selector option

This commit is contained in:
Clem
2023-07-18 14:10:31 +02:00
parent aba773b546
commit d36b2b21c9
4 changed files with 20 additions and 0 deletions

View File

@@ -54,3 +54,4 @@ hacks:
disableVibrancyWhileDragging: false
enableFluentBackground: false
language: null
defaultQuickConnectProvider: "ssh"

View File

@@ -183,6 +183,7 @@ export class ProfilesService {
freeInputPattern: this.translate.instant('Connect to "%s"...'),
description: `(${provider.name.toUpperCase()})`,
icon: 'fas fa-arrow-right',
weight: provider.id !== this.config.store.defaultQuickConnectProvider ? 1 : 0,
callback: query => {
const profile = provider.quickConnect(query)
resolve(profile)