@@ -6,6 +6,7 @@ import { Commands } from './constants.commands';
66import type { BlameIgnoreRevsFileError } from './git/errors' ;
77import { BlameIgnoreRevsFileBadRevisionError } from './git/errors' ;
88import type { GitCommit } from './git/models/commit' ;
9+ import { createMarkdownCommandLink } from './system/commands' ;
910import { Logger } from './system/logger' ;
1011import { executeCommand , executeCoreCommand } from './system/vscode/command' ;
1112import { configuration } from './system/vscode/configuration' ;
@@ -231,22 +232,24 @@ export function showIntegrationRequestTimedOutWarningMessage(providerName: strin
231232
232233export async function showWhatsNewMessage ( version : string ) {
233234 const confirm = { title : 'OK' , isCloseAffordance : true } ;
234- const announcement = { title : 'Read Announcement' , isCloseAffordance : true } ;
235+ const releaseNotes = { title : 'View Release Notes' } ;
235236 const result = await showMessage (
236237 'info' ,
237238 `Upgraded to GitLens ${ version } ${
238- version === '15'
239- ? `, with a host of new [Pro features](${ urls . proFeatures } ) including [Launchpad](${ urls . codeSuggest } ), [Code Suggest](${ urls . codeSuggest } ), and more`
240- : ''
241- } — [see what's new](${ urls . releaseNotes } "See what's new in GitLens ${ version } ").`,
239+ version === '16'
240+ ? ` with an all new [Home view](${ createMarkdownCommandLink ( Commands . ShowHomeView , {
241+ source : 'whatsnew' ,
242+ } ) } "Show Home view") reimagined as a hub for your current, future, and recent work, consolidated Source Control views, and much more.`
243+ : " — see what's new."
244+ } `,
242245 undefined ,
243246 null ,
247+ releaseNotes ,
244248 confirm ,
245- announcement ,
246249 ) ;
247250
248- if ( result === announcement ) {
249- void openUrl ( urls . releaseAnnouncement ) ;
251+ if ( result === releaseNotes ) {
252+ void openUrl ( urls . releaseNotes ) ;
250253 }
251254}
252255
0 commit comments