Skip to content

Commit 2504d02

Browse files
committed
add changes to messaging
1 parent 3f734c9 commit 2504d02

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
@@ -18854,7 +18854,7 @@
1885418854
},
1885518855
{
1885618856
"view": "gitlens.views.drafts",
18857-
"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).",
18857+
"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).",
1885818858
"when": "!gitlens:plus"
1885918859
},
1886018860
{
@@ -18878,7 +18878,7 @@
1887818878
},
1887918879
{
1888018880
"view": "gitlens.views.workspaces",
18881-
"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).",
18881+
"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).",
1888218882
"when": "!gitlens:plus"
1888318883
},
1888418884
{
@@ -18916,7 +18916,7 @@
1891618916
},
1891718917
{
1891818918
"view": "gitlens.views.worktrees",
18919-
"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.",
18919+
"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.",
1892018920
"when": "gitlens:plus:required && gitlens:plus:state == 0"
1892118921
},
1892218922
{
@@ -18926,7 +18926,7 @@
1892618926
},
1892718927
{
1892818928
"view": "gitlens.views.worktrees",
18929-
"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).",
18929+
"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).",
1893018930
"when": "gitlens:plus:required && gitlens:plus:state == 2"
1893118931
},
1893218932
{

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)