@@ -578,6 +578,7 @@ export class FocusCommand extends QuickCommand<State> {
578
578
{
579
579
label : 'Merge...' ,
580
580
detail : `Will merge ${ from } ${ into } ` ,
581
+ buttons : [ OpenOnGitHubQuickInputButton ] ,
581
582
} ,
582
583
action ,
583
584
) ,
@@ -589,6 +590,7 @@ export class FocusCommand extends QuickCommand<State> {
589
590
createQuickPickItemOfT (
590
591
{
591
592
label : `${ this . getOpenActionLabel ( state . item . actionableCategory ) } on GitHub` ,
593
+ buttons : [ OpenOnGitHubQuickInputButton ] ,
592
594
} ,
593
595
action ,
594
596
) ,
@@ -802,12 +804,17 @@ export class FocusCommand extends QuickCommand<State> {
802
804
status = `$(pass) No conflicts` ;
803
805
}
804
806
805
- return createQuickPickItemOfT ( { label : status } , 'soft-open' ) ;
807
+ return createQuickPickItemOfT ( { label : status , buttons : [ OpenOnGitHubQuickInputButton ] } , 'soft-open' ) ;
806
808
}
807
809
808
810
private getFocusItemReviewInformation ( item : FocusItem ) : QuickPickItemOfT < FocusAction > [ ] {
809
811
if ( item . reviews == null || item . reviews . length === 0 ) {
810
- return [ createQuickPickItemOfT ( { label : `$(info) No reviewers have been assigned` } , 'soft-open' ) ] ;
812
+ return [
813
+ createQuickPickItemOfT (
814
+ { label : `$(info) No reviewers have been assigned` , buttons : [ OpenOnGitHubQuickInputButton ] } ,
815
+ 'soft-open' ,
816
+ ) ,
817
+ ] ;
811
818
}
812
819
813
820
const reviewInfo : QuickPickItemOfT < FocusAction > [ ] = [ ] ;
@@ -834,7 +841,12 @@ export class FocusCommand extends QuickCommand<State> {
834
841
}
835
842
836
843
if ( reviewLabel != null ) {
837
- reviewInfo . push ( createQuickPickItemOfT ( { label : reviewLabel , iconPath : iconPath } , 'soft-open' ) ) ;
844
+ reviewInfo . push (
845
+ createQuickPickItemOfT (
846
+ { label : reviewLabel , iconPath : iconPath , buttons : [ OpenOnGitHubQuickInputButton ] } ,
847
+ 'soft-open' ,
848
+ ) ,
849
+ ) ;
838
850
}
839
851
}
840
852
0 commit comments