@@ -1524,7 +1524,6 @@ export class SubscriptionService implements Disposable {
15241524		const  { 
15251525			account, 
15261526			plan : {  effective } , 
1527- 			state, 
15281527		}  =  this . _subscription ; 
15291528
15301529		if  ( effective . id  ===  SubscriptionPlanId . Community )  { 
@@ -1534,7 +1533,9 @@ export class SubscriptionService implements Disposable {
15341533		} 
15351534
15361535		const  trial  =  isSubscriptionTrial ( this . _subscription ) ; 
1537- 		if  ( ! trial  &&  account ?. verified  !==  false )  { 
1536+ 		const  trialEligible  =  this . _subscription . state  ===  SubscriptionState . ProTrialReactivationEligible ; 
1537+ 
1538+ 		if  ( ! ( trial  ||  trialEligible )  &&  account ?. verified  !==  false )  { 
15381539			this . _statusBarSubscription ?. dispose ( ) ; 
15391540			this . _statusBarSubscription  =  undefined ; 
15401541			return ; 
@@ -1543,42 +1544,42 @@ export class SubscriptionService implements Disposable {
15431544		if  ( this . _statusBarSubscription  ==  null )  { 
15441545			this . _statusBarSubscription  =  window . createStatusBarItem ( 
15451546				'gitlens.plus.subscription' , 
1546- 				StatusBarAlignment . Left , 
1547- 				1 , 
1547+ 				StatusBarAlignment . Right , 
15481548			) ; 
15491549		} 
15501550
1551- 		this . _statusBarSubscription . name  =  'GitLens Subscription' ; 
1551+ 		this . _statusBarSubscription . name  =  'GitLens Pro' ; 
1552+ 		this . _statusBarSubscription . text  =  '$(gitlens-gitlens)' ; 
15521553		this . _statusBarSubscription . command  =  Commands . ShowAccountView ; 
1554+ 		this . _statusBarSubscription . backgroundColor  =  undefined ; 
15531555
15541556		if  ( account ?. verified  ===  false )  { 
1555- 			this . _statusBarSubscription . text  =  `$(warning)  ${ effective . name }  (Unverified )` ; 
1557+ 			this . _statusBarSubscription . text  =  `$(gitlens-gitlens)\u00a0\u00a0$(warning )` ; 
15561558			this . _statusBarSubscription . backgroundColor  =  new  ThemeColor ( 
15571559				'statusBarItem.warningBackground'  satisfies  CoreColors , 
15581560			) ; 
15591561			this . _statusBarSubscription . tooltip  =  new  MarkdownString ( 
15601562				trial 
1561- 					? `**Please  verify your email**\n\nYou must verify your email before you can start your **${ effective . name } \n\nClick for details ` 
1562- 					: `**Please  verify your email**\n\nYou must verify your email before you can use Pro features on privately-hosted repos.\n\nClick for details ` , 
1563+ 					? `**GitLens Pro —  verify your email**\n\nYou must verify your email before you can start your **${ effective . name }  
1564+ 					: `**GitLens Pro —  verify your email**\n\nYou must verify your email before you can use Pro features on privately-hosted repos.` , 
15631565				true , 
15641566			) ; 
15651567		}  else  { 
1566- 			const  remaining  =  getSubscriptionTimeRemaining ( this . _subscription ,  'days' ) ; 
1567- 			const  isReactivatedTrial  =  state  ===  SubscriptionState . ProTrial  &&  effective . trialReactivationCount  >  0 ; 
1568+ 			let  tooltip ; 
1569+ 			if  ( trialEligible )  { 
1570+ 				tooltip  =  `**GitLens Pro — reactivate your Pro trial**\n\nExperience full access to all the [new Pro features](${  
1571+ 					urls . releaseNotes  
1572+ 				}  ) — free for another ${ pluralize ( 'day' ,  proTrialLengthInDays ) } ; 
1573+ 			}  else  if  ( trial )  { 
1574+ 				const  remaining  =  getSubscriptionTimeRemaining ( this . _subscription ,  'days' )  ??  0 ; 
1575+ 				tooltip  =  `**GitLens Pro — trial**\n\nYou now have full access to all GitLens Pro features for ${ pluralize (  
1576+ 					'day' ,  
1577+ 					remaining ,  
1578+ 					{  infix : ' more '  } ,  
1579+ 				) }  .`; 
1580+ 			} 
15681581
1569- 			this . _statusBarSubscription . text  =  `${ effective . name }  ; 
1570- 			this . _statusBarSubscription . tooltip  =  new  MarkdownString ( 
1571- 				`${  
1572- 					isReactivatedTrial  
1573- 						? `[See what's new](${ urls . releaseNotes } ${ pluralize ( 'day' ,  remaining  ??  0 ,  {   
1574- 								infix : ' more ' ,  
1575- 						  } ) }   in your **${ effective . name } 
1576- 						: `You have ${ pluralize ( 'day' ,  remaining  ??  0 ) } ${ effective . name }   
1577- 				}   Once your trial ends, you'll need [GitLens Pro](command:gitlens.openWalkthrough?%7B%22step%22%3A%22pro-trial%22,%22source%22%3A%22prompt%22%7D) for full access to Pro features.\n\nYour trial also includes access to the [GitKraken DevEx platform](${ 
1578- 					urls . platform  
1579- 				}  ), unleashing powerful Git visualization & productivity capabilities everywhere you work: IDE, desktop, browser, and terminal.`, 
1580- 				true , 
1581- 			) ; 
1582+ 			this . _statusBarSubscription . tooltip  =  new  MarkdownString ( tooltip ,  true ) ; 
15821583		} 
15831584
15841585		this . _statusBarSubscription . show ( ) ; 
0 commit comments