You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? 'Get unlimited AI tokens in GitLens until July 11th!'
1618
-
: 'Get unlimited AI tokens and try all GitLens Advanced features for free until July 11th!';
1616
+
letbody='All Access Week - now until July 11th!';
1617
+
constdetail=hasAdvancedOrHigher ? 'Opt in now to get unlimited GitKraken AI until July 11th!' : 'Opt in now to try all Advanced GitLens features with unlimited GitKraken AI for FREE until July 11th!';
1619
1618
1620
-
constbuttonText=hasAdvancedOrHigher
1621
-
? 'Get Unlimited AI Tokens'
1622
-
: 'Try Advanced for Free';
1619
+
if(!usingGkProvider){
1620
+
body+=` ${detail}`;
1621
+
}
1622
+
1623
+
constoptInButton: MessageItem=usingGkProvider ? {title: 'Opt in for Unlimited AI'} : {title: 'Opt in and Switch to GitKraken AI'};
Copy file name to clipboardExpand all lines: src/webviews/apps/home/components/ai-all-access-banner.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -45,12 +45,12 @@ export class GlAiAllAccessBanner extends LitElement {
45
45
}
46
46
47
47
privategetbodyLabel(): string{
48
-
returnthis.hasAdvancedOrHigher ? 'Join now and get unlimited AI tokens in GitLens until July 11th!' : 'Join now to try all Advanced GitLens features with unlimited AI tokens for FREE!';
48
+
returnthis.hasAdvancedOrHigher ? 'Opt in now to get unlimited GitKraken AI until July 11th!' : 'Opt in now to try all Advanced GitLens features with unlimited GitKraken AI for FREE until July 11th!';
49
49
50
50
}
51
51
52
52
privategetprimaryButtonLabel(): string{
53
-
returnthis.hasAdvancedOrHigher ? 'Get Unlimited AI Tokens' : 'Try Advanced for Free';
0 commit comments