From 082b4405c213de9af1b43268afb116a7847ba25b Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 10 Dec 2022 17:28:28 -0500 Subject: [PATCH] Tightens up Pro access message --- src/webviews/apps/home/components/header-card.ts | 7 +++++-- src/webviews/apps/plus/graph/GraphWrapper.tsx | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/webviews/apps/home/components/header-card.ts b/src/webviews/apps/home/components/header-card.ts index 27c496d..45d248f 100644 --- a/src/webviews/apps/home/components/header-card.ts +++ b/src/webviews/apps/home/components/header-card.ts @@ -33,8 +33,11 @@ const template = html` > `, )} - You have access to GitLens+ features on ${x => (x.isPro ? 'any repo' : 'local & public repos')}, and all - other GitLens features on any repo.

+ ${x => + x.isPro + ? 'You have access to all GitLens and GitLens+ features on any repo.' + : 'You have access to GitLens+ features on local & public repos, and all other GitLens features on any repo.'} +

✨ indicates GitLens+ features, learn more diff --git a/src/webviews/apps/plus/graph/GraphWrapper.tsx b/src/webviews/apps/plus/graph/GraphWrapper.tsx index c5ac97c..13b70d3 100644 --- a/src/webviews/apps/plus/graph/GraphWrapper.tsx +++ b/src/webviews/apps/plus/graph/GraphWrapper.tsx @@ -557,8 +557,9 @@ export function GraphWrapper({ )} - You have access to GitLens+ features on {isPro ? 'any repo' : 'local & public repos'}, and all other - GitLens features on any repo. + {isPro + ? 'You have access to all GitLens and GitLens+ features on any repo.' + : 'You have access to GitLens+ features on local & public repos, and all other GitLens features on any repo.'}

✨ indicates GitLens+ features