Skip to content

Commit e2c6a60

Browse files
committed
Adds explain wip to active card in home
1 parent f612147 commit e2c6a60

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/webviews/apps/plus/home/components/active-work.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,14 @@ export class GlActiveBranchCard extends GlBranchCardBase {
280280
tooltip="Generate Message & Commit..."
281281
><code-icon icon="sparkle" slot="prefix"></code-icon>Commit
282282
</gl-button>
283+
<gl-button
284+
aria-busy=${ifDefined(isFetching)}
285+
?disabled=${isFetching}
286+
href=${this.createCommandLink('gitlens.ai.explainWip:home')}
287+
appearance="secondary"
288+
tooltip="Explain Working Changes (Preview)"
289+
><code-icon icon="sparkle" slot="prefix"></code-icon>WIP
290+
</gl-button>
283291
`);
284292
}
285293

0 commit comments

Comments
 (0)