Skip to content

Commit e20d0c5

Browse files
committed
feat(vscode): update welcome page
1 parent 507377c commit e20d0c5

File tree

2 files changed

+30
-10
lines changed

2 files changed

+30
-10
lines changed

extensions/vscode/lib/welcome.ts

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import * as vscode from 'vscode';
22

3-
const welcomeVersion = '3.0.7';
3+
const popVersion = '3.1.0';
44

55
let panel: vscode.WebviewPanel | undefined;
66

77
export function activate(context: vscode.ExtensionContext) {
88
if (
99
context.globalState.get<boolean>('vue.showUpdates', true)
10-
&& context.globalState.get('vue.welcome') !== welcomeVersion
10+
&& context.globalState.get('vue.welcome') !== popVersion
1111
) {
12-
context.globalState.update('vue.welcome', welcomeVersion);
12+
context.globalState.update('vue.welcome', popVersion);
1313
execute(context);
1414
}
1515
}
@@ -332,6 +332,32 @@ function getWelcomeHtml(context: vscode.ExtensionContext) {
332332
</div>
333333
334334
<div class="card whats-new-card">
335+
<h3>3.1.0</h3>
336+
<ul style="margin: 0; padding-left: 1.25rem;">
337+
<li>🚀 Significantly improve the TypeScript performance of virtual code (<a href="https://github.com/vuejs/language-tools/pull/5532" target="_blank">Learn More</a>)</li>
338+
</ul>
339+
<div
340+
style="margin-top: 1rem; padding: 0.75rem; background-color: var(--vscode-inputValidation-warningBackground); border-radius: 4px;">
341+
<strong>⚠️ Vue 2 and vue-class-component support has been removed, please refer to <a href="https://github.com/vuejs/language-tools/discussions/5455" target="_blank">Discussion #5455</a> for detail.</strong>
342+
</div>
343+
<div
344+
style="margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;">
345+
<a href="https://github.com/vuejs/language-tools/releases/tag/v3.1.0" target="_blank"
346+
style="display: inline-flex; align-items: center; gap: 0.5rem; color: var(--vscode-textLink-foreground);">
347+
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
348+
<path
349+
d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z" />
350+
</svg>
351+
Full Release Notes
352+
</a>
353+
<div style="display: flex; gap: 0.5rem; font-size: 0.9em; color: var(--vscode-descriptionForeground);">
354+
<span>Released: October 2025</span>
355+
<span>•</span>
356+
<span>v3.1.0</span>
357+
</div>
358+
</div>
359+
<br>
360+
335361
<h3>3.0.7</h3>
336362
<ul style="margin: 0; padding-left: 1.25rem;">
337363
<li>✨ The following features are now available for free:</li>
@@ -414,12 +440,6 @@ function getWelcomeHtml(context: vscode.ExtensionContext) {
414440
<li>🎨 UI tweaks: removed all Vue-related status bar items</li>
415441
<li>🐛 Squashed numerous bugs throughout the extension</li>
416442
</ul>
417-
<div
418-
style="margin-top: 1rem; padding: 0.75rem; background-color: var(--vscode-inputValidation-warningBackground); border-radius: 4px;">
419-
<strong>⚠️ Deprecation Notice:</strong> Dropping Vue 2 Support in v3.1
420-
(<a href="https://github.com/vuejs/language-tools/discussions/5455" target="_blank">Discussion #5395</a>)
421-
</div>
422-
423443
<div
424444
style="margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;">
425445
<a href="https://github.com/vuejs/language-tools/releases/tag/v3.0.0" target="_blank"

extensions/vscode/package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
"configuration.editor.reactivityVisualization": "Reactivity system visualization.",
2222
"configuration.editor.templateInterpolationDecorators": "Enhanced template interpolation highlighting.",
2323
"command.action.restartServer": "Restart Vue and TS servers",
24-
"command.welcome": "Open welcome page"
24+
"command.welcome": "Welcome"
2525
}

0 commit comments

Comments
 (0)