Skip to content

Commit 7559b2e

Browse files
committed
Adds integration connect link in launchpad summary
1 parent 02e94d6 commit 7559b2e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/webviews/apps/plus/home/components/launchpad.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,20 @@ export class GlLaunchpad extends SignalWatcher(LitElement) {
148148
}
149149

150150
private renderSummaryResult() {
151+
if (this._homeState.hasAnyIntegrationConnected === false) {
152+
return html`<ul class="menu">
153+
<li>
154+
<a
155+
class="launchpad-action"
156+
href="command:gitlens.plus.cloudIntegrations.connect?%7B%22source%22%3A%22home%22%7D"
157+
>
158+
<code-icon class="launchpad-action__icon" icon="plug"></code-icon>
159+
<span>Connect to see PRs and Issue here</span>
160+
</a>
161+
</li>
162+
</ul>`;
163+
}
164+
151165
return this._summaryState.render({
152166
pending: () => this.renderPending(),
153167
complete: summary => this.renderSummary(summary),

0 commit comments

Comments
 (0)