@@ -442,7 +442,7 @@ export class GLAccountChip extends LitElement {
442442 switch ( this . subscriptionState ) {
443443 case SubscriptionState . Paid :
444444 return html `< div class ="account-status ">
445- ${ this . renderIncludesDevEx ( ) } ${ this . renderReferFriend ( ) }
445+ ${ this . renderIncludesDevEx ( ) } ${ this . renderReferFriend ( ) } ${ this . renderGetAdvanced ( ) }
446446 </ div > ` ;
447447
448448 case SubscriptionState . VerificationRequired :
@@ -578,8 +578,23 @@ export class GLAccountChip extends LitElement {
578578 </ p > ` ;
579579 }
580580
581+ private renderGetAdvanced ( ) {
582+ if ( this . subscription ?. plan ?. effective . id !== SubscriptionPlanId . Pro ) return nothing ;
583+
584+ return html `< p >
585+ Get advanced AI features, self-hosted integrations, and more with GitLens Advanced.
586+ < a
587+ href =${ createCommandLink < Source & { plan : SubscriptionPlanId } > ( 'gitlens.plus.upgrade' , {
588+ source : 'account' ,
589+ plan : SubscriptionPlanId . Advanced ,
590+ } ) }
591+ > Upgrade to Advanced</ a
592+ >
593+ </ p > ` ;
594+ }
595+
581596 private renderUpgradeContent ( ) {
582- if ( this . planTier !== 'Community' && this . planId !== SubscriptionPlanId . Pro ) {
597+ if ( this . planTier !== 'Community' ) {
583598 this . showUpgrade = false ;
584599 return nothing ;
585600 }
@@ -615,6 +630,21 @@ export class GLAccountChip extends LitElement {
615630 > Upgrade to Pro</ gl-button
616631 >
617632 </ button-container >
633+ < p > Upgrade to Advanced:</ p >
634+ < ul >
635+ < li > 500K AI Tokens per week</ li >
636+ < li > Self-hosted Git and Issue integrations</ li >
637+ </ ul >
638+ < button-container >
639+ < gl-button
640+ full
641+ href ="${ createCommandLink < Source & { plan : SubscriptionPlanId } > ( 'gitlens.plus.upgrade' , {
642+ source : 'account' ,
643+ plan : SubscriptionPlanId . Advanced ,
644+ } ) } "
645+ > Upgrade to Advanced</ gl-button
646+ >
647+ </ button-container >
618648 </ div >
619649 </ div >
620650 </ gl-popover > ` ;
0 commit comments