Skip to content

Commit 2a92d3e

Browse files
committed
add changes to messaging
1 parent 9e78c0e commit 2a92d3e

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

package.json

Lines changed: 6 additions & 15 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[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22cloud-patches%22%7D)\n\nGet 14 days of GitLens Pro for free - no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22cloud-patches%22%7D).",
1921119211
"when": "!gitlens:plus"
1921219212
},
1921319213
{
@@ -19251,12 +19251,12 @@
1925119251
},
1925219252
{
1925319253
"view": "gitlens.views.launchpad",
19254-
"contents": "[Start Pro Trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nStart your free 7-day Pro trial to try Launchpad and other Pro features, or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D).",
19254+
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nGet 14 days of GitLens Pro for free - no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D).",
1925519255
"when": "!gitlens:launchpad:connect && gitlens:plus:required && gitlens:plus:state == 2"
1925619256
},
1925719257
{
1925819258
"view": "gitlens.views.scm.grouped",
19259-
"contents": "[Start Pro Trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nStart your free 7-day Pro trial to try Launchpad and other Pro features, or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D).",
19259+
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nGet 14 days of GitLens Pro for free - no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D).",
1926019260
"when": "!gitlens:launchpad:connect && gitlens:plus:required && gitlens:plus:state == 2 && gitlens:views:scm:grouped:view == launchpad"
1926119261
},
1926219262
{
@@ -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
{
@@ -19416,11 +19416,6 @@
1941619416
"contents": "Limited-time sale: Save up to 80% on GitLens Pro",
1941719417
"when": "gitlens:plus:required && gitlens:plus:state == 4 && gitlens:promo == devexdays && gitlens:views:scm:grouped:view == worktrees"
1941819418
},
19419-
{
19420-
"view": "gitlens.views.worktrees",
19421-
"contents": "Your Pro trial has ended. Please upgrade for full access to Worktrees and other Pro features.",
19422-
"when": "gitlens:plus:required && gitlens:plus:state == 4"
19423-
},
1942419419
{
1942519420
"view": "gitlens.views.scm.grouped",
1942619421
"contents": "Your Pro trial has ended. Please upgrade for full access to Worktrees and other Pro features.",
@@ -19436,10 +19431,6 @@
1943619431
"contents": "[Continue](command:gitlens.plus.reactivateProTrial?%7B%22source%22%3A%22worktrees%22%7D)\n\nReactivate your Pro trial and experience Worktrees and all the new Pro features — free for another 7 days!",
1943719432
"when": "gitlens:plus:required && gitlens:plus:state == 5 && gitlens:views:scm:grouped:view == worktrees"
1943819433
},
19439-
{
19440-
"view": "gitlens.views.worktrees",
19441-
"contents": "Pro feature — requires a paid plan for use on privately-hosted repos."
19442-
},
1944319434
{
1944419435
"view": "gitlens.views.scm.grouped",
1944519436
"contents": "Pro feature — requires a paid plan for use on privately-hosted repos.",

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)