diff --git a/src/plus/gk/account/subscriptionService.ts b/src/plus/gk/account/subscriptionService.ts index 51afbafddbf06..4d6879d05cbd6 100644 --- a/src/plus/gk/account/subscriptionService.ts +++ b/src/plus/gk/account/subscriptionService.ts @@ -708,19 +708,14 @@ export class SubscriptionService implements Disposable { this.changeSubscription(subscription); setTimeout(async () => { - const confirm: MessageItem = { title: 'Continue' }; - const learn: MessageItem = { title: 'See Pro Features' }; - const result = await window.showInformationMessage( - `You can now preview local Pro features for ${ + await window.showInformationMessage( + `You can now preview the Commit Graph on privately-hosted repos for ${ days < 1 ? '1 day' : pluralize('day', days) - }, or [start your free ${proTrialLengthInDays}-day Pro trial](command:gitlens.plus.signUp "Start Pro Trial") for full access to Pro features.`, - confirm, - learn, + }, or [start your free ${proTrialLengthInDays}-day Pro trial](command:gitlens.plus.signUp "Start Pro Trial") for full access to all [GitLens Pro](${ + urls.gitlensProVsCommunity + }) features.`, + { title: 'Continue' }, ); - - if (result === learn) { - void this.learnAboutPro({ source: 'notification', detail: { action: 'preview-started' } }, source); - } }, 1); } diff --git a/src/webviews/apps/plus/shared/components/feature-gate-plus-state.ts b/src/webviews/apps/plus/shared/components/feature-gate-plus-state.ts index cd413791d30af..3bcc4ffcf00e4 100644 --- a/src/webviews/apps/plus/shared/components/feature-gate-plus-state.ts +++ b/src/webviews/apps/plus/shared/components/feature-gate-plus-state.ts @@ -122,13 +122,34 @@ export class GlFeatureGatePlusState extends LitElement { case SubscriptionState.Community: case SubscriptionState.ProPreviewExpired: - return html` - ${feature !== 'graph' - ? html`
- Use on privately-hosted repos requires - GitLens Pro. -
` - : nothing} + if (feature === 'graph' && this.state === SubscriptionState.Community) { + return html` +
+ Continuing gives you 3 days to preview
+ ${this.featureWithArticleIfNeeded
+ ? `${this.featureWithArticleIfNeeded} and other `
+ : ''}local
+ Pro features.
+ ${appearance !== 'alert' ? html`
` : ''} For full access to Pro features
+ start your free ${proTrialLengthInDays}-day Pro trial
+ or
+ sign in.
+
+ Use on privately-hosted repos requires + GitLens Pro. +