@@ -19,9 +19,7 @@ import {
1919} from '../../commands/quickCommand' ;
2020import { ensureAccessStep } from '../../commands/quickCommand.steps' ;
2121import { getSteps } from '../../commands/quickWizard.utils' ;
22- import type { OpenWalkthroughCommandArgs } from '../../commands/walkthroughs' ;
2322import { proBadge } from '../../constants' ;
24- import { Commands } from '../../constants.commands' ;
2523import type { IntegrationId } from '../../constants.integrations' ;
2624import { HostingIntegrationId } from '../../constants.integrations' ;
2725import type { Source , Sources , StartWorkTelemetryContext } from '../../constants.telemetry' ;
@@ -35,7 +33,6 @@ import { createDirectiveQuickPickItem, Directive, isDirectiveQuickPickItem } fro
3533import { getScopedCounter } from '../../system/counter' ;
3634import { fromNow } from '../../system/date' ;
3735import { some } from '../../system/iterable' ;
38- import { executeCommand } from '../../system/vscode/command' ;
3936import { configuration } from '../../system/vscode/configuration' ;
4037
4138export type StartWorkItem = {
@@ -189,21 +186,7 @@ export class StartWorkCommand extends QuickCommand<State> {
189186 state : StepState < State > ,
190187 context : Context ,
191188 ) : AsyncStepResultGenerator < { connected : boolean | IntegrationId ; resume : ( ) => void } > {
192- const confirmations : ( QuickPickItemOfT < IntegrationId > | DirectiveQuickPickItem ) [ ] = [
193- createDirectiveQuickPickItem ( Directive . Cancel , undefined , {
194- label : 'Start Work lets you start work on an issue' ,
195- detail : 'Click to learn more about Start Work' ,
196- iconPath : new ThemeIcon ( 'rocket' ) ,
197- onDidSelect : ( ) =>
198- // TODO: navigate to "start-work" related place
199- void executeCommand < OpenWalkthroughCommandArgs > ( Commands . OpenWalkthrough , {
200- step : 'launchpad' ,
201- source : 'launchpad' ,
202- detail : 'info' ,
203- } ) ,
204- } ) ,
205- createQuickPickSeparator ( ) ,
206- ] ;
189+ const confirmations : ( QuickPickItemOfT < IntegrationId > | DirectiveQuickPickItem ) [ ] = [ ] ;
207190
208191 for ( const integration of supportedStartWorkIntegrations ) {
209192 if ( context . connectedIntegrations . get ( integration ) ) {
@@ -274,19 +257,6 @@ export class StartWorkCommand extends QuickCommand<State> {
274257 const step = this . createConfirmStep (
275258 `${ this . title } \u00a0\u2022\u00a0 Connect an ${ hasConnectedIntegration ? 'Additional ' : '' } Integration` ,
276259 [
277- createDirectiveQuickPickItem ( Directive . Cancel , undefined , {
278- label : 'Start Work lets you start work on an issue' ,
279- detail : 'Click to learn more about Start Work' ,
280- iconPath : new ThemeIcon ( 'rocket' ) ,
281- onDidSelect : ( ) =>
282- // TODO: navigate to "start-work" related place
283- void executeCommand < OpenWalkthroughCommandArgs > ( Commands . OpenWalkthrough , {
284- step : 'launchpad' ,
285- source : 'launchpad' ,
286- detail : 'info' ,
287- } ) ,
288- } ) ,
289- createQuickPickSeparator ( ) ,
290260 createQuickPickItemOfT (
291261 {
292262 label : `Connect an ${ hasConnectedIntegration ? 'Additional ' : '' } Integration...` ,
0 commit comments