Skip to content

Commit

Permalink
feedback changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiolms committed Sep 19, 2024
1 parent 7af4feb commit 9588318
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17578,7 +17578,7 @@
{
"view": "gitlens.views.worktrees",
"contents": "[Upgrade to Pro](command:gitlens.plus.upgrade?%7B%22source%22%3A%22worktrees%22%7D)",
"when": "gitlens:plus:required && gitlens:plus:state == 4"
"when": "gitlens:plus:required && (gitlens:plus:state == 4 || gitlens:plus:state == 7)"
},
{
"view": "gitlens.views.worktrees",
Expand All @@ -17588,7 +17588,12 @@
{
"view": "gitlens.views.worktrees",
"contents": "Launchpad Sale: Save 75% or more on GitLens Pro",
"when": "gitlens:plus:required && gitlens:plus:state == 4 && gitlens:promo =~ /(launchpad|launchpad-extended)/"
"when": "gitlens:plus:required && (gitlens:plus:state == 4 || gitlens:plus:state == 7) && gitlens:promo =~ /(launchpad|launchpad-extended)/"
},
{
"view": "gitlens.views.worktrees",
"contents": "Your Pro license has expired. Please upgrade for full access to Worktrees and other Pro features.",
"when": "gitlens:plus:required && gitlens:plus:state == 7"
},
{
"view": "gitlens.views.worktrees",
Expand Down Expand Up @@ -17886,7 +17891,7 @@
"media": {
"markdown": "walkthroughs/welcome/pro-reactivate.md"
},
"when": "gitlens:plus:state == 6"
"when": "gitlens:plus:state == 7"
},
{
"id": "visualize",
Expand Down
2 changes: 1 addition & 1 deletion src/webviews/apps/shared/components/feature-badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export class GlFeatureBadge extends LitElement {

case SubscriptionState.PaidExpired:
content = html`<p>
Your Pro license as ended. You can now only use Pro features on publicly-hosted repos.
Your Pro license has expired. You can now only use Pro features on publicly-hosted repos.
</p>
${this.renderUpgradeActions(html`<p>Please upgrade for full access to Pro features:</p>`)}`;
break;
Expand Down

0 comments on commit 9588318

Please sign in to comment.