Skip to content

Commit 2422213

Browse files
d13eamodio
authored andcommitted
Adds feedback link
1 parent 457494f commit 2422213

File tree

1 file changed

+18
-2
lines changed
  • src/webviews/apps/plus/composer/components

1 file changed

+18
-2
lines changed

src/webviews/apps/plus/composer/components/app.ts

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ const historyLimit = 3;
6464

6565
const onboardingKey = 'composer-onboarding';
6666

67+
const composerFeedbackUrl = 'https://github.com/gitkraken/vscode-gitlens/discussions/4530';
68+
6769
@customElement('gl-composer-app')
6870
export class ComposerApp extends LitElement {
6971
@consume({ context: stateContext, subscribe: true })
@@ -115,6 +117,14 @@ export class ComposerApp extends LitElement {
115117
margin-inline-start: 0.4rem;
116118
}
117119
120+
.header-feedback {
121+
transform: translateY(2px);
122+
}
123+
124+
.header-feedback:not(:hover, :focus) {
125+
opacity: 0.8;
126+
}
127+
118128
.header-actions {
119129
flex: none;
120130
display: flex;
@@ -1503,6 +1513,13 @@ export class ComposerApp extends LitElement {
15031513
<header class="header">
15041514
<h1>
15051515
Commit Composer <small>${this.state?.mode === 'experimental' ? 'Experimental' : 'Preview'}</small>
1516+
<gl-button
1517+
class="header-feedback"
1518+
appearance="toolbar"
1519+
href=${composerFeedbackUrl}
1520+
tooltip="Commit Composer Feedback"
1521+
><code-icon icon="feedback"></code-icon
1522+
></gl-button>
15061523
</h1>
15071524
${this.renderActions()}
15081525
</header>
@@ -1691,8 +1708,7 @@ export class ComposerApp extends LitElement {
16911708
key: `${onboardingKey}-welcome`,
16921709
popover: {
16931710
title: 'Welcome to Commit Composer',
1694-
description:
1695-
'Compose your changes into organized, meaningful commits before committing them. Use AI to automatically structure your work into draft commits with clear messages and descriptions, or commit manually.',
1711+
description: `Compose your changes into organized, meaningful commits before committing them. Use AI to automatically structure your work into draft commits with clear messages and descriptions, or commit manually. <br><br> <a href="${composerFeedbackUrl}">Learn More</a>`,
16961712
},
16971713
},
16981714
{

0 commit comments

Comments
 (0)