Adds a GitLens features section to help avoid GitLens+ feeling like a gatemain
@ -1,67 +1,65 @@ | |||||
<template id="links"> | |||||
<section> | |||||
<div class="links"> | |||||
<div class="links__group"> | |||||
<h4>Get Started</h4> | |||||
<ul> | |||||
<li> | |||||
<a href="command:gitlens.getStarted" appearance="secondary">Walkthrough</a> | |||||
</li> | |||||
<li> | |||||
<a href="command:gitlens.plus.learn" appearance="secondary">GitLens+ features walkthrough</a> | |||||
</li> | |||||
<li> | |||||
<a href="command:gitlens.showWelcomePage?%22quick-setup%22" appearance="secondary" | |||||
>Quick setup</a | |||||
> | |||||
</li> | |||||
<li> | |||||
<a href="command:gitlens.showSettingsPage" appearance="secondary" | |||||
>Interactive settings editor</a | |||||
> | |||||
</li> | |||||
<li> | |||||
<a href="command:gitlens.home.toggleWelcome">Restore welcome</a> | |||||
</li> | |||||
</ul> | |||||
</div> | |||||
<div class="links__group"> | |||||
<h4>Help</h4> | |||||
<ul> | |||||
<li> | |||||
<i class="codicon codicon-book"></i> | |||||
<a href="https://github.com/gitkraken/vscode-gitlens#readme">Documentation</a> | |||||
</li> | |||||
<li> | |||||
<i class="codicon codicon-comment-discussion"></i> | |||||
<a href="https://github.com/gitkraken/vscode-gitlens/discussions">Questions</a> | |||||
</li> | |||||
<li> | |||||
<i class="codicon codicon-issues"></i> | |||||
<a href="https://github.com/gitkraken/vscode-gitlens/issues">Issues</a> | |||||
</li> | |||||
<li> | |||||
<i class="codicon codicon-comment"></i> | |||||
<a href="https://gitkraken.slack.com">Slack</a> | |||||
</li> | |||||
<li> | |||||
<i class="codicon codicon-twitter"></i> | |||||
<a href="https://twitter.com/gitlens">Twitter</a> | |||||
</li> | |||||
</ul> | |||||
</div> | |||||
<div class="links__group"> | |||||
<h4>Resources</h4> | |||||
<ul> | |||||
<li><a href="https://gitlens.amod.io">Website</a></li> | |||||
<li><a href="https://gitlens.amod.io/#whats-new">What's new</a></li> | |||||
<li> | |||||
<a href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens">Marketplace</a> | |||||
</li> | |||||
<li><a href="https://github.com/gitkraken/vscode-gitlens">GitHub</a></li> | |||||
<li><a href="https://github.com/gitkraken/vscode-gitlens/blob/main/LICENSE">License</a></li> | |||||
</ul> | |||||
</div> | |||||
<template id="links" class="divider"> | |||||
<div class="links"> | |||||
<div class="links__group"> | |||||
<h4>Get Started</h4> | |||||
<ul> | |||||
<li> | |||||
<a href="command:gitlens.getStarted" appearance="secondary">Walkthrough</a> | |||||
</li> | |||||
<li> | |||||
<a href="command:gitlens.plus.learn" appearance="secondary">GitLens+ features walkthrough</a> | |||||
</li> | |||||
<li> | |||||
<a href="command:gitlens.showWelcomePage?%22quick-setup%22" appearance="secondary" | |||||
>Quick setup</a | |||||
> | |||||
</li> | |||||
<li> | |||||
<a href="command:gitlens.showSettingsPage" appearance="secondary" | |||||
>Interactive settings editor</a | |||||
> | |||||
</li> | |||||
<li> | |||||
<a href="command:gitlens.home.toggleWelcome">Restore welcome</a> | |||||
</li> | |||||
</ul> | |||||
</div> | </div> | ||||
</section> | |||||
<div class="links__group"> | |||||
<h4>Help</h4> | |||||
<ul> | |||||
<li> | |||||
<i class="codicon codicon-book"></i> | |||||
<a href="https://github.com/gitkraken/vscode-gitlens#readme">Documentation</a> | |||||
</li> | |||||
<li> | |||||
<i class="codicon codicon-comment-discussion"></i> | |||||
<a href="https://github.com/gitkraken/vscode-gitlens/discussions">Questions</a> | |||||
</li> | |||||
<li> | |||||
<i class="codicon codicon-issues"></i> | |||||
<a href="https://github.com/gitkraken/vscode-gitlens/issues">Issues</a> | |||||
</li> | |||||
<li> | |||||
<i class="codicon codicon-comment"></i> | |||||
<a href="https://gitkraken.slack.com">Slack</a> | |||||
</li> | |||||
<li> | |||||
<i class="codicon codicon-twitter"></i> | |||||
<a href="https://twitter.com/gitlens">Twitter</a> | |||||
</li> | |||||
</ul> | |||||
</div> | |||||
<div class="links__group"> | |||||
<h4>Resources</h4> | |||||
<ul> | |||||
<li><a href="https://gitlens.amod.io">Website</a></li> | |||||
<li><a href="https://gitlens.amod.io/#whats-new">What's new</a></li> | |||||
<li> | |||||
<a href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens">Marketplace</a> | |||||
</li> | |||||
<li><a href="https://github.com/gitkraken/vscode-gitlens">GitHub</a></li> | |||||
<li><a href="https://github.com/gitkraken/vscode-gitlens/blob/main/LICENSE">License</a></li> | |||||
</ul> | |||||
</div> | |||||
</div> | |||||
</template> | </template> |
@ -1,28 +1,26 @@ | |||||
<template id="state:free-preview-expired"> | <template id="state:free-preview-expired"> | ||||
<section> | |||||
<h3>Continue using GitLens+ Features</h3> | |||||
<p> | |||||
Your trial of | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> | |||||
has ended. Don't worry, all other GitLens features are always accessible. | |||||
</p> | |||||
<p> | |||||
Sign in to use GitLens+ features on public repos and get an additional 7-day free trial for both public and | |||||
private repos. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.plus.loginOrSignUp">Sign in to GitLens+</vscode-button> | |||||
<p> | |||||
Or, <a title="Upgrade your account" href="command:gitlens.plus.purchase">upgrade your account</a> to use | |||||
GitLens+ features on both public and private repos. | |||||
</p> | |||||
<p> | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn" | |||||
>Learn more about GitLens+ features</a | |||||
> | |||||
</p> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an | |||||
account, and will continue to evolve and be invested in. | |||||
</p> | |||||
</section> | |||||
<h3>Continue using GitLens+ Features</h3> | |||||
<p> | |||||
Your trial of | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> | |||||
has ended. Don't worry, all other GitLens features are always accessible. | |||||
</p> | |||||
<p> | |||||
Sign in to use GitLens+ features on public repos and get an additional 7-day free trial for both public and | |||||
private repos. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.plus.loginOrSignUp">Sign in to GitLens+</vscode-button> | |||||
<p> | |||||
Or, <a title="Upgrade your account" href="command:gitlens.plus.purchase">upgrade your account</a> to use | |||||
GitLens+ features on both public and private repos. | |||||
</p> | |||||
<p> | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn" | |||||
>Learn more about GitLens+ features</a | |||||
> | |||||
</p> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an account, | |||||
and will continue to evolve and be invested in. | |||||
</p> | |||||
</template> | </template> |
@ -1,53 +1,50 @@ | |||||
<template id="state:free-preview"> | <template id="state:free-preview"> | ||||
<section> | |||||
<h3>Trying GitLens+ Features</h3> | |||||
<p> | |||||
You have <span data-bind="previewDays">3 days</span> left in your | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> | |||||
trial. Once your trial ends, you'll need a free account to continue using GitLens+ features on public repos. | |||||
Don't worry, all other GitLens features are always accessible. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.plus.loginOrSignUp">Sign in to GitLens+</vscode-button> | |||||
<p> | |||||
Or, <a title="Upgrade your account" href="command:gitlens.plus.purchase">upgrade your account</a> to use | |||||
GitLens+ features on both public and private repos. | |||||
</p> | |||||
<h3>GitLens+</h3> | |||||
<p> | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+</a> adds all-new, | |||||
completely optional, features that enhance your current GitLens experience when you sign in with a free | |||||
account. | |||||
</p> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an | |||||
account, and will continue to evolve and be invested in. | |||||
</p> | |||||
<p style="margin-bottom: 1rem">The first new GitLens+ features are the Visual File History and Worktrees.</p> | |||||
<h4>Visual File History</h4> | |||||
<img | |||||
class="image--preview" | |||||
src="#{root}/images/docs/visual-file-history-hover.png" | |||||
alt="Visual File History screenshot" | |||||
/> | |||||
<p class="feature-desc"> | |||||
The | |||||
<a | |||||
title="Learn more about the Visual File History" | |||||
href="command:gitlens.openWalkthrough?%22gitlens.plus%7Cgitlens.plus.visualFileHistory%22" | |||||
>Visual File History</a | |||||
> | |||||
allows you to quickly see the evolution of a file, including when changes were made, how large they were, | |||||
and who made them. | |||||
</p> | |||||
<h4>Worktrees</h4> | |||||
<img class="image--preview" src="#{root}/images/docs/worktrees-view.png" alt="Worktrees screenshot" /> | |||||
<p class="feature-desc"> | |||||
<a | |||||
title="Learn more about worktrees" | |||||
href="command:gitlens.openWalkthrough?%22gitlens.plus%7Cgitlens.plus.worktrees%22" | |||||
>Worktrees</a | |||||
> | |||||
allow you to easily work on different branches of a repository simultaneously. | |||||
</p> | |||||
</section> | |||||
<h3>Trying GitLens+ Features</h3> | |||||
<p> | |||||
You have <span data-bind="previewDays">3 days</span> left in your | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> | |||||
trial. Once your trial ends, you'll need a free account to continue using GitLens+ features on public repos. | |||||
Don't worry, all other GitLens features are always accessible. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.plus.loginOrSignUp">Sign in to GitLens+</vscode-button> | |||||
<p> | |||||
Or, <a title="Upgrade your account" href="command:gitlens.plus.purchase">upgrade your account</a> to use | |||||
GitLens+ features on both public and private repos. | |||||
</p> | |||||
<h3>GitLens+</h3> | |||||
<p> | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+</a> adds all-new, | |||||
completely optional, features that enhance your current GitLens experience when you sign in with a free account. | |||||
</p> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an account, | |||||
and will continue to evolve and be invested in. | |||||
</p> | |||||
<p style="margin-bottom: 1rem">The first new GitLens+ features are the Visual File History and Worktrees.</p> | |||||
<h4>Visual File History</h4> | |||||
<img | |||||
class="image--preview" | |||||
src="#{root}/images/docs/visual-file-history-hover.png" | |||||
alt="Visual File History screenshot" | |||||
/> | |||||
<p class="feature-desc"> | |||||
The | |||||
<a | |||||
title="Learn more about the Visual File History" | |||||
href="command:gitlens.openWalkthrough?%22gitlens.plus%7Cgitlens.plus.visualFileHistory%22" | |||||
>Visual File History</a | |||||
> | |||||
allows you to quickly see the evolution of a file, including when changes were made, how large they were, and | |||||
who made them. | |||||
</p> | |||||
<h4>Worktrees</h4> | |||||
<img class="image--preview" src="#{root}/images/docs/worktrees-view.png" alt="Worktrees screenshot" /> | |||||
<p class="feature-desc"> | |||||
<a | |||||
title="Learn more about worktrees" | |||||
href="command:gitlens.openWalkthrough?%22gitlens.plus%7Cgitlens.plus.worktrees%22" | |||||
>Worktrees</a | |||||
> | |||||
allow you to easily work on different branches of a repository simultaneously. | |||||
</p> | |||||
</template> | </template> |
@ -1,48 +1,45 @@ | |||||
<template id="state:free"> | <template id="state:free"> | ||||
<section> | |||||
<h3>Introducing GitLens+</h3> | |||||
<p> | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+</a> adds all-new, | |||||
completely optional, features that enhance your current GitLens experience when you sign in with a free | |||||
account. | |||||
</p> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an | |||||
account, and will continue to evolve and be invested in. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.plus.startPreviewTrial">Try GitLens+ features now</vscode-button> | |||||
<p> | |||||
Try | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> now, | |||||
without an account, for 3 days on public and private repos, or | |||||
<a title="Sign in to GitLens+" href="command:gitlens.plus.loginOrSignUp">sign in</a> for use on public repos. | |||||
</p> | |||||
<p style="margin-bottom: 1rem">The first new GitLens+ features are the Visual File History and Worktrees.</p> | |||||
<h4>Visual File History</h4> | |||||
<img | |||||
class="image--preview" | |||||
src="#{root}/images/docs/visual-file-history-hover.png" | |||||
alt="Visual File History screenshot" | |||||
/> | |||||
<p class="feature-desc"> | |||||
The | |||||
<a | |||||
title="Learn more about the Visual File History" | |||||
href="command:gitlens.openWalkthrough?%22gitlens.plus%7Cgitlens.plus.visualFileHistory%22" | |||||
>Visual File History</a | |||||
> | |||||
allows you to quickly see the evolution of a file, including when changes were made, how large they were, | |||||
and who made them. | |||||
</p> | |||||
<h4>Worktrees</h4> | |||||
<img class="image--preview" src="#{root}/images/docs/worktrees-view.png" alt="Worktrees screenshot" /> | |||||
<p class="feature-desc"> | |||||
<a | |||||
title="Learn more about worktrees" | |||||
href="command:gitlens.openWalkthrough?%22gitlens.plus%7Cgitlens.plus.worktrees%22" | |||||
>Worktrees</a | |||||
> | |||||
allow you to easily work on different branches of a repository simultaneously. | |||||
</p> | |||||
</section> | |||||
<h3>Introducing GitLens+</h3> | |||||
<p> | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+</a> adds all-new, | |||||
completely optional, features that enhance your current GitLens experience when you sign in with a free account. | |||||
</p> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an account, | |||||
and will continue to evolve and be invested in. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.plus.startPreviewTrial">Try GitLens+ features now</vscode-button> | |||||
<p> | |||||
Try | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> now, | |||||
without an account, for 3 days on public and private repos, or | |||||
<a title="Sign in to GitLens+" href="command:gitlens.plus.loginOrSignUp">sign in</a> for use on public repos. | |||||
</p> | |||||
<p style="margin-bottom: 1rem">The first new GitLens+ features are the Visual File History and Worktrees.</p> | |||||
<h4>Visual File History</h4> | |||||
<img | |||||
class="image--preview" | |||||
src="#{root}/images/docs/visual-file-history-hover.png" | |||||
alt="Visual File History screenshot" | |||||
/> | |||||
<p class="feature-desc"> | |||||
The | |||||
<a | |||||
title="Learn more about the Visual File History" | |||||
href="command:gitlens.openWalkthrough?%22gitlens.plus%7Cgitlens.plus.visualFileHistory%22" | |||||
>Visual File History</a | |||||
> | |||||
allows you to quickly see the evolution of a file, including when changes were made, how large they were, and | |||||
who made them. | |||||
</p> | |||||
<h4>Worktrees</h4> | |||||
<img class="image--preview" src="#{root}/images/docs/worktrees-view.png" alt="Worktrees screenshot" /> | |||||
<p class="feature-desc"> | |||||
<a | |||||
title="Learn more about worktrees" | |||||
href="command:gitlens.openWalkthrough?%22gitlens.plus%7Cgitlens.plus.worktrees%22" | |||||
>Worktrees</a | |||||
> | |||||
allow you to easily work on different branches of a repository simultaneously. | |||||
</p> | |||||
</template> | </template> |
@ -1,14 +1,12 @@ | |||||
<template id="state:paid"> | <template id="state:paid"> | ||||
<section> | |||||
<h3 data-bind="plan">GitLens+ Pro</h3> | |||||
<p>Thank you for purchasing <span data-bind="plan">GitLens+ Pro</span>!</p> | |||||
<p> | |||||
Your <span data-bind="plan">GitLens+ Pro</span> account gives you access to use | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> on | |||||
both public and private repos. | |||||
</p> | |||||
<p> | |||||
<a title="Manage your account" href="command:gitlens.plus.manage">Manage your account</a> | |||||
</p> | |||||
</section> | |||||
<h3 data-bind="plan">GitLens+ Pro</h3> | |||||
<p>Thank you for purchasing <span data-bind="plan">GitLens+ Pro</span>!</p> | |||||
<p> | |||||
Your <span data-bind="plan">GitLens+ Pro</span> account gives you access to use | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> on both | |||||
public and private repos. | |||||
</p> | |||||
<p> | |||||
<a title="Manage your account" href="command:gitlens.plus.manage">Manage your account</a> | |||||
</p> | |||||
</template> | </template> |
@ -1,19 +1,17 @@ | |||||
<template id="state:plus-trial-expired"> | <template id="state:plus-trial-expired"> | ||||
<section> | |||||
<h3>GitLens+</h3> | |||||
<p> | |||||
Your GitLens+ account gives you access to use | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> on | |||||
public repos. | |||||
</p> | |||||
<p> | |||||
<a title="Manage your account" href="command:gitlens.plus.manage">Manage your account</a> | |||||
</p> | |||||
<p>Upgrade your account for access to GitLens+ features on private repos.</p> | |||||
<vscode-button data-action="command:gitlens.plus.purchase">Upgrade your account</vscode-button> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an | |||||
account, and will continue to evolve and be invested in. | |||||
</p> | |||||
</section> | |||||
<h3>GitLens+</h3> | |||||
<p> | |||||
Your GitLens+ account gives you access to use | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> on public | |||||
repos. | |||||
</p> | |||||
<p> | |||||
<a title="Manage your account" href="command:gitlens.plus.manage">Manage your account</a> | |||||
</p> | |||||
<p>Upgrade your account for access to GitLens+ features on private repos.</p> | |||||
<vscode-button data-action="command:gitlens.plus.purchase">Upgrade your account</vscode-button> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an account, | |||||
and will continue to evolve and be invested in. | |||||
</p> | |||||
</template> | </template> |
@ -1,22 +1,20 @@ | |||||
<template id="state:plus-trial"> | <template id="state:plus-trial"> | ||||
<section> | |||||
<h3><span data-bind="plan">GitLens+ Pro</span> Trial</h3> | |||||
<p> | |||||
You have <span data-bind="trialDays">7 days</span> left in your | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> | |||||
trial on both public and private repos. Once your trial ends, you can continue using GitLens+ features on | |||||
public repos. | |||||
</p> | |||||
<p>Upgrade your account for access to GitLens+ features on both public and private repos.</p> | |||||
<vscode-button data-action="command:gitlens.plus.purchase">Upgrade your account</vscode-button> | |||||
<p> | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn" | |||||
>Learn more about GitLens+ features</a | |||||
> | |||||
</p> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an | |||||
account, and will continue to evolve and be invested in. | |||||
</p> | |||||
</section> | |||||
<h3><span data-bind="plan">GitLens+ Pro</span> Trial</h3> | |||||
<p> | |||||
You have <span data-bind="trialDays">7 days</span> left in your | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn">GitLens+ features</a> | |||||
trial on both public and private repos. Once your trial ends, you can continue using GitLens+ features on public | |||||
repos. | |||||
</p> | |||||
<p>Upgrade your account for access to GitLens+ features on both public and private repos.</p> | |||||
<vscode-button data-action="command:gitlens.plus.purchase">Upgrade your account</vscode-button> | |||||
<p> | |||||
<a title="Learn more about GitLens+ features" href="command:gitlens.plus.learn" | |||||
>Learn more about GitLens+ features</a | |||||
> | |||||
</p> | |||||
<p> | |||||
<i class="codicon codicon-info"></i> All other GitLens features are always accessible, without an account, | |||||
and will continue to evolve and be invested in. | |||||
</p> | |||||
</template> | </template> |
@ -1,8 +1,6 @@ | |||||
<template id="state:verify-email"> | <template id="state:verify-email"> | ||||
<section> | |||||
<h3>Please verify your email</h3> | |||||
<p>To use GitLens+ features, please verify the email for the account you created.</p> | |||||
<vscode-button data-action="command:gitlens.plus.resendVerification">Resend verification email</vscode-button> | |||||
<vscode-button data-action="command:gitlens.plus.validate">Refresh verification status</vscode-button> | |||||
</section> | |||||
<h3>Please verify your email</h3> | |||||
<p>To use GitLens+ features, please verify the email for the account you created.</p> | |||||
<vscode-button data-action="command:gitlens.plus.resendVerification">Resend verification email</vscode-button> | |||||
<vscode-button data-action="command:gitlens.plus.validate">Refresh verification status</vscode-button> | |||||
</template> | </template> |
@ -0,0 +1,13 @@ | |||||
<template id="views"> | |||||
<h3>Where are the GitLens features?</h3> | |||||
<p> | |||||
GitLens is integrated into many aspects of VS Code, from directly within the editor area to many feature views | |||||
in the side bar. These feature views, | |||||
<a href="command:gitlens.showCommitsView" title="Open Commits view">Commits</a>, | |||||
<a href="command:gitlens.showFileHistoryView" title="Open File History view">File History</a>, | |||||
<a href="command:gitlens.showBranchesView" title="Open Branches view">Branches</a>, etc., are shown on the | |||||
<a href="command:gitlens.home.showSCM" title="Open Source Control side bar">Source Control side bar</a>, by | |||||
default. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.home.showSCM">Open Source Control side bar</vscode-button> | |||||
</template> |
@ -1,23 +1,21 @@ | |||||
<template id="welcome"> | <template id="welcome"> | ||||
<section class="welcome"> | |||||
<h3>Welcome to GitLens 12</h3> | |||||
<a class="link--preview" title="See What's New" href="command:gitlens.showWelcomePage"> | |||||
<img class="image--preview" src="#{webroot}/media/gitlens-12-card.webp" alt="What's new" /> | |||||
</a> | |||||
<p> | |||||
GitLens <b>supercharges</b> Git inside VS Code and unlocks the <b>untapped knowledge</b> within each | |||||
repository. It helps you to <b>visualize code authorship</b> at a glance via Git blame annotations and | |||||
CodeLens, <b>seamlessly navigate and explore</b> Git repositories, <b>gain valuable insights</b> via rich | |||||
visualizations and powerful comparison commands, and so much more. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.showWelcomePage">Quick setup</vscode-button> | |||||
<vscode-button data-action="command:gitlens.getStarted">Get started walkthrough</vscode-button> | |||||
<p> | |||||
Use the quick setup experience to personalize GitLens to meet your needs, or jump over to the getting | |||||
started walkthrough to familiarize yourself with the rich features GitLens provides. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.home.toggleWelcome" appearance="secondary" | |||||
>Dismiss welcome</vscode-button | |||||
> | |||||
</section> | |||||
<h3>Welcome to GitLens 12</h3> | |||||
<a class="link--preview" title="See What's New" href="command:gitlens.showWelcomePage"> | |||||
<img class="image--preview" src="#{webroot}/media/gitlens-12-card.webp" alt="What's new" /> | |||||
</a> | |||||
<p> | |||||
GitLens <b>supercharges</b> Git inside VS Code and unlocks the <b>untapped knowledge</b> within each repository. | |||||
It helps you to <b>visualize code authorship</b> at a glance via Git blame annotations and CodeLens, | |||||
<b>seamlessly navigate and explore</b> Git repositories, <b>gain valuable insights</b> via rich visualizations | |||||
and powerful comparison commands, and so much more. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.showWelcomePage">Quick setup</vscode-button> | |||||
<vscode-button data-action="command:gitlens.getStarted">Get started walkthrough</vscode-button> | |||||
<p> | |||||
Use the quick setup experience to personalize GitLens to meet your needs, or jump over to the getting started | |||||
walkthrough to familiarize yourself with the rich features GitLens provides. | |||||
</p> | |||||
<vscode-button data-action="command:gitlens.home.toggleWelcome" appearance="secondary" | |||||
>Dismiss welcome</vscode-button | |||||
> | |||||
</template> | </template> |
@ -1,14 +1,19 @@ | |||||
import type { Subscription } from '../../subscription'; | import type { Subscription } from '../../subscription'; | ||||
import { IpcNotificationType } from '../protocol'; | import { IpcNotificationType } from '../protocol'; | ||||
export const enum CompletedActions { | |||||
DismissedWelcome = 'dismissed:welcome', | |||||
OpenedSCM = 'opened:scm', | |||||
} | |||||
export interface State { | export interface State { | ||||
subscription: Subscription; | subscription: Subscription; | ||||
welcomeVisible: boolean; | |||||
completedActions: CompletedActions[]; | |||||
} | } | ||||
export interface DidChangeSubscriptionParams { | export interface DidChangeSubscriptionParams { | ||||
subscription: Subscription; | subscription: Subscription; | ||||
welcomeVisible: boolean; | |||||
completedActions: CompletedActions[]; | |||||
} | } | ||||
export const DidChangeSubscriptionNotificationType = new IpcNotificationType<DidChangeSubscriptionParams>( | export const DidChangeSubscriptionNotificationType = new IpcNotificationType<DidChangeSubscriptionParams>( | ||||
'subscription/didChange', | 'subscription/didChange', | ||||