Skip to content

Commit d112dd0

Browse files
committed
add changes to messaging
1 parent aed2919 commit d112dd0

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19207,7 +19207,7 @@
1920719207
},
1920819208
{
1920919209
"view": "gitlens.views.drafts",
19210-
"contents": "[Start Pro Trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22cloud-patches%22%7D)\n\nStart your free 7-day Pro trial to try Cloud Patches and other Pro features, or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22cloud-patches%22%7D).",
19210+
"contents": "Preview feature - requires an account and may require [GitLens Pro](https://help.gitkraken.com/gitlens/gitlens-community-vs-gitlens-pro/) in the future.\n[Start Pro Trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22cloud-patches%22%7D)\n\nStart your free 7-day Pro trial to try Cloud Patches and other Pro features, or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22cloud-patches%22%7D).",
1921119211
"when": "!gitlens:plus"
1921219212
},
1921319213
{
@@ -19330,7 +19330,7 @@
1933019330
},
1933119331
{
1933219332
"view": "gitlens.views.workspaces",
19333-
"contents": "[Start Pro Trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22workspaces%22%7D)\n\nStart your free 7-day Pro trial to try GitKraken (GK) Workspaces and other Pro features, or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22workspaces%22%7D).",
19333+
"contents": "Use on privately-hosted repos requires [GitLens Pro](https://help.gitkraken.com/gitlens/gitlens-community-vs-gitlens-pro/).\n[Start Pro Trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22workspaces%22%7D)\n\nStart your free 7-day Pro trial to try GitKraken (GK) Workspaces and other Pro features, or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22workspaces%22%7D).",
1933419334
"when": "!gitlens:plus"
1933519335
},
1933619336
{
@@ -19368,7 +19368,7 @@
1936819368
},
1936919369
{
1937019370
"view": "gitlens.views.worktrees",
19371-
"contents": "[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22worktrees%22%7D)\n\nContinuing gives you 3 days to preview Worktrees and other local Pro features for 3 days. [Start 7-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D) for full access to Pro features.",
19371+
"contents": "Use on privately-hosted repos requires [GitLens Pro](https://help.gitkraken.com/gitlens/gitlens-community-vs-gitlens-pro/).\n[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22worktrees%22%7D)\n\nContinuing gives you 3 days to preview Worktrees and other local Pro features for 3 days. [Start 7-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D) for full access to Pro features.",
1937219372
"when": "gitlens:plus:required && gitlens:plus:state == 0"
1937319373
},
1937419374
{
@@ -19378,7 +19378,7 @@
1937819378
},
1937919379
{
1938019380
"view": "gitlens.views.worktrees",
19381-
"contents": "[Start Pro Trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D)\n\nStart your free 7-day Pro trial to try Worktrees and other Pro features, or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D).",
19381+
"contents": "Use on privately-hosted repos requires [GitLens Pro](https://help.gitkraken.com/gitlens/gitlens-community-vs-gitlens-pro/).\n[Start Pro Trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D)\n\nStart your free 7-day Pro trial to try Worktrees and other Pro features, or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D).",
1938219382
"when": "gitlens:plus:required && gitlens:plus:state == 2"
1938319383
},
1938419384
{

src/webviews/apps/plus/shared/components/feature-gate-plus-state.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ export class GlFeatureGatePlusState extends LitElement {
9898
const appearance = (this.appearance ?? 'alert') === 'alert' ? 'alert' : nothing;
9999
const promo = this.state ? getApplicablePromo(this.state, 'gate') : undefined;
100100

101+
const feature = this.source?.source || '';
102+
101103
switch (this.state) {
102104
case SubscriptionState.VerificationRequired:
103105
return html`
@@ -120,6 +122,12 @@ export class GlFeatureGatePlusState extends LitElement {
120122

121123
case SubscriptionState.Community:
122124
return html`
125+
${feature !== 'graph'
126+
? html`<p>
127+
Use on privately-hosted repos requires
128+
<a href="${urls.gitlensProVsCommunity}">GitLens Pro</a>.
129+
</p>`
130+
: nothing}
123131
<gl-button
124132
appearance="${appearance}"
125133
href="${generateCommandLink(Commands.PlusStartPreviewTrial, this.source)}"

0 commit comments

Comments
 (0)