You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/k8s/build.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ export class Build {
76
76
}else{
77
77
constbuildConfig=awaitcommon.selectResourceByName(Build.getBuildConfigNames("You have no BuildConfigs available"),"Select a BuildConfig to see the builds");
Copy file name to clipboardExpand all lines: src/k8s/deployment.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ export class DeploymentConfig {
100
100
}else{
101
101
constdeploymentConfig=awaitcommon.selectResourceByName(this.getDeploymentConfigNames("You have no DeploymentConfigs available"),"Select a DeploymentConfig to see the Replica");
constchoice=awaitwindow.showQuickPick([addUser, ...users],{placeHolder: "Select username for basic authentication to the API server"});
151
+
constchoice=awaitwindow.showQuickPick([addUser, ...users],{placeHolder: "Select username for basic authentication to the API server",ignoreFocusOut: true});
if(componentPresent.length===1)throwError('You have no Components available to link, please create new OpenShift Component and try again.');
216
-
constcomponentToLink=awaitwindow.showQuickPick(componentPresent.filter((comp)=>comp.getName()!==component.getName()),{placeHolder: "Select a Component to link"});
217
+
constcomponentToLink=awaitwindow.showQuickPick(componentPresent.filter((comp)=>comp.getName()!==component.getName()),{placeHolder: "Select a Component to link",ignoreFocusOut: true});
constserviceToLink: OpenShiftObject=awaitwindow.showQuickPick(Component.getServiceNames(component.getParent()),{placeHolder: "Select the service to link"});
248
+
constserviceToLink: OpenShiftObject=awaitwindow.showQuickPick(Component.getServiceNames(component.getParent()),{placeHolder: "Select the service to link",ignoreFocusOut: true});
248
249
if(!serviceToLink)returnnull;
249
250
250
251
returnProgress.execFunctionWithProgress(`Link Service '${serviceToLink.getName()}' with Component '${component.getName()}'`,
@@ -349,7 +350,7 @@ export class Component extends OpenShiftItem {
349
350
if(pushedUrl.length>0){
350
351
consthostName: QuickPickItem[]=pushedUrl.map((value)=>({label: `${value.spec.protocol}://${value.spec.host}`,description: `Target Port is ${value.spec.port}`}));
351
352
if(hostName.length>1){
352
-
selectRoute=awaitwindow.showQuickPick(hostName,{placeHolder: "This Component has multiple URLs. Select the desired URL to open in browser."});
353
+
selectRoute=awaitwindow.showQuickPick(hostName,{placeHolder: "This Component has multiple URLs. Select the desired URL to open in browser.",ignoreFocusOut: true});
constcomponentTypeVersion=awaitwindow.showQuickPick(Component.odo.getComponentTypeVersions(componentTypeName),{placeHolder: "Component type version"});
387
+
constcomponentTypeVersion=awaitwindow.showQuickPick(Component.odo.getComponentTypeVersions(componentTypeName),{placeHolder: "Component type version",ignoreFocusOut: true});
387
388
388
389
if(!componentTypeVersion)returnnull;
389
390
awaitProgress.execFunctionWithProgress(`Creating new Component '${componentName}'`,()=>Component.odo.createComponentFromFolder(application,componentTypeName,componentTypeVersion,componentName,workspacePath));
@@ -401,11 +402,11 @@ export class Component extends OpenShiftItem {
constcomponentTypeVersion=awaitwindow.showQuickPick(Component.odo.getComponentTypeVersions(componentTypeName),{placeHolder: "Component type version"});
409
+
constcomponentTypeVersion=awaitwindow.showQuickPick(Component.odo.getComponentTypeVersions(componentTypeName),{placeHolder: "Component type version",ignoreFocusOut: true});
409
410
410
411
if(!componentTypeVersion)returnnull;
411
412
@@ -423,6 +424,7 @@ export class Component extends OpenShiftItem {
constcomponentTypeVersion=awaitwindow.showQuickPick(Component.odo.getComponentTypeVersions(componentTypeName),{placeHolder: "Component type version"});
454
+
constcomponentTypeVersion=awaitwindow.showQuickPick(Component.odo.getComponentTypeVersions(componentTypeName),{placeHolder: "Component type version",ignoreFocusOut: true});
453
455
454
456
if(!componentTypeVersion)returnnull;
455
457
@@ -478,7 +480,7 @@ export class Component extends OpenShiftItem {
constcomponentTypeVersion=awaitwindow.showQuickPick(Component.odo.getComponentTypeVersions(componentTypeName),{placeHolder: "Component type version"});
496
+
constcomponentTypeVersion=awaitwindow.showQuickPick(Component.odo.getComponentTypeVersions(componentTypeName),{placeHolder: "Component type version",ignoreFocusOut: true});
if(!validationMessage)validationMessage=OpenShiftItem.validateMatches(`Not a valid ${message}. Please use lower case alphanumeric characters or "-", start with an alphabetic character, and end with an alphanumeric character`,value);
@@ -128,10 +129,10 @@ export abstract class OpenShiftItem {
0 commit comments