@@ -80,14 +80,12 @@ export class Component extends OpenShiftItem {
8080
8181 static async getOpenshiftData ( context : OpenShiftObject ) : Promise < OpenShiftObject > {
8282 return Component . getOpenShiftCmdData ( context ,
83- "In which Project you want to create a Component" ,
8483 "In which Application you want to create a Component"
8584 ) ;
8685 }
8786
8887 @vsCommand ( 'openshift.component.create' )
8988 @selectTargetApplication (
90- "In which Project you want to create a Component" ,
9189 "In which Application you want to create a Component"
9290 )
9391 static async create ( application : OpenShiftObject ) : Promise < string > {
@@ -125,7 +123,6 @@ export class Component extends OpenShiftItem {
125123
126124 @vsCommand ( 'openshift.component.delete' , true )
127125 @selectTargetComponent (
128- "From which Project do you want to delete Component" ,
129126 "From which Application you want to delete Component" ,
130127 "Select Component to delete"
131128 )
@@ -150,7 +147,6 @@ export class Component extends OpenShiftItem {
150147
151148 @vsCommand ( 'openshift.component.undeploy' , true )
152149 @selectTargetComponent (
153- "From which Project do you want to undeploy Component" ,
154150 "From which Application you want to undeploy Component" ,
155151 "Select Component to undeploy" ,
156152 ( target ) => target . contextValue === ContextType . COMPONENT_PUSHED
@@ -202,7 +198,6 @@ export class Component extends OpenShiftItem {
202198
203199 @vsCommand ( 'openshift.component.describe' , true )
204200 @selectTargetComponent (
205- "From which Project you want to describe Component" ,
206201 "From which Application you want to describe Component" ,
207202 "Select Component you want to describe"
208203 )
@@ -223,7 +218,6 @@ export class Component extends OpenShiftItem {
223218
224219 @vsCommand ( 'openshift.component.log' , true )
225220 @selectTargetComponent (
226- "In which Project you want to see Log" ,
227221 "In which Application you want to see Log" ,
228222 "For which Component you want to see Log" ,
229223 ( value : OpenShiftObject ) => value . contextValue === ContextType . COMPONENT_PUSHED
@@ -242,7 +236,6 @@ export class Component extends OpenShiftItem {
242236
243237 @vsCommand ( 'openshift.component.followLog' , true )
244238 @selectTargetComponent (
245- "In which Project you want to follow Log" ,
246239 "In which Application you want to follow Log" ,
247240 "For which Component you want to follow Log" ,
248241 ( value : OpenShiftObject ) => value . contextValue === ContextType . COMPONENT_PUSHED
@@ -291,7 +284,6 @@ export class Component extends OpenShiftItem {
291284
292285 @vsCommand ( 'openshift.component.unlinkComponent.palette' )
293286 @selectTargetComponent (
294- 'Select a Project' ,
295287 'Select an Application' ,
296288 'Select a Component' ,
297289 ( value : OpenShiftObject ) => value . contextValue === ContextType . COMPONENT_PUSHED
@@ -323,7 +315,6 @@ export class Component extends OpenShiftItem {
323315
324316 @vsCommand ( 'openshift.component.unlinkService.palette' )
325317 @selectTargetComponent (
326- 'Select a Project' ,
327318 'Select an Application' ,
328319 'Select a Component' ,
329320 ( value : OpenShiftObject ) => value . contextValue === ContextType . COMPONENT_PUSHED
@@ -349,7 +340,6 @@ export class Component extends OpenShiftItem {
349340
350341 @vsCommand ( 'openshift.component.linkComponent' )
351342 @selectTargetComponent (
352- 'Select a Project' ,
353343 'Select an Application' ,
354344 'Select a Component' ,
355345 ( value : OpenShiftObject ) => value . contextValue === ContextType . COMPONENT_PUSHED
@@ -391,7 +381,6 @@ export class Component extends OpenShiftItem {
391381
392382 @vsCommand ( 'openshift.component.linkService' )
393383 @selectTargetComponent (
394- 'Select a Project' ,
395384 'Select an Application' ,
396385 'Select a Component' ,
397386 ( value : OpenShiftObject ) => value . contextValue === ContextType . COMPONENT_PUSHED
@@ -419,7 +408,6 @@ export class Component extends OpenShiftItem {
419408
420409 @vsCommand ( 'openshift.component.push' , true )
421410 @selectTargetComponent (
422- 'In which Project you want to push the changes' ,
423411 'In which Application you want to push the changes' ,
424412 'For which Component you want to push the changes' ,
425413 ( target ) => target . contextValue === ContextType . COMPONENT_PUSHED || target . contextValue === ContextType . COMPONENT
@@ -454,7 +442,6 @@ export class Component extends OpenShiftItem {
454442
455443 @vsCommand ( 'openshift.component.watch' , true )
456444 @selectTargetComponent (
457- 'Select a Project' ,
458445 'Select an Application' ,
459446 'Select a Component you want to watch' ,
460447 ( target ) => target . contextValue === ContextType . COMPONENT_PUSHED
@@ -491,7 +478,6 @@ export class Component extends OpenShiftItem {
491478
492479 @vsCommand ( 'openshift.component.openUrl' , true )
493480 @selectTargetComponent (
494- 'Select a Project' ,
495481 'Select an Application' ,
496482 'Select a Component to open in browser' ,
497483 ( target ) => target . contextValue === ContextType . COMPONENT_PUSHED
@@ -533,8 +519,7 @@ export class Component extends OpenShiftItem {
533519
534520 @vsCommand ( 'openshift.component.createFromLocal' )
535521 @selectTargetApplication (
536- "In which Project you want to create a Component" ,
537- "In which Application you want to create a Component"
522+ "Select an Application where you want to create a Component"
538523 )
539524 static async createFromLocal ( application : OpenShiftObject ) : Promise < string | null > {
540525 if ( ! application ) return null ;
@@ -559,7 +544,6 @@ export class Component extends OpenShiftItem {
559544
560545 static async createFromFolder ( folder : Uri ) : Promise < string | null > {
561546 const application = await Component . getOpenShiftCmdData ( undefined ,
562- "In which Project you want to create a Component" ,
563547 "In which Application you want to create a Component"
564548 ) ;
565549 if ( ! application ) return null ;
@@ -582,7 +566,6 @@ export class Component extends OpenShiftItem {
582566
583567 @vsCommand ( 'openshift.component.createFromGit' )
584568 @selectTargetApplication (
585- "In which Project you want to create a Component" ,
586569 "In which Application you want to create a Component"
587570 )
588571 static async createFromGit ( application : OpenShiftObject ) : Promise < string | null > {
@@ -630,7 +613,6 @@ export class Component extends OpenShiftItem {
630613
631614 @vsCommand ( 'openshift.component.createFromBinary' )
632615 @selectTargetApplication (
633- "In which Project you want to create a Component" ,
634616 "In which Application you want to create a Component"
635617 )
636618 static async createFromBinary ( application : OpenShiftObject ) : Promise < string | null > {
@@ -670,7 +652,6 @@ export class Component extends OpenShiftItem {
670652
671653 @vsCommand ( 'openshift.component.debug' , true )
672654 @selectTargetComponent (
673- 'Select a Project' ,
674655 'Select an Application' ,
675656 'Select a Component you want to debug (showing only Components pushed to the cluster)' ,
676657 ( value : OpenShiftObject ) => value . contextValue === ContextType . COMPONENT_PUSHED
0 commit comments