Conversation
The theme preview SVGs were not bundled in desktop or web builds, causing blank theme cards for users running built products. Fixes #309380
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Pull request overview
This PR aims to ensure the Welcome Onboarding theme preview SVG assets are included in packaged desktop and web build outputs, preventing blank theme cards in built products.
Changes:
- Added
out-build/vs/workbench/contrib/welcomeOnboarding/browser/media/*.svgto the desktop resource include list. - Added
out-build/vs/workbench/contrib/welcomeOnboarding/browser/media/*.svgto the web resource include list.
Show a summary per file
| File | Description |
|---|---|
| build/gulpfile.vscode.web.ts | Adds onboarding theme preview SVGs to the web build resource include globs. |
| build/gulpfile.vscode.ts | Adds onboarding theme preview SVGs to the desktop build resource include globs. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 2
| // Welcome | ||
| 'out-build/vs/workbench/contrib/welcomeGettingStarted/common/media/**/*.{svg,png}', | ||
| 'out-build/vs/workbench/contrib/welcomeOnboarding/browser/media/*.svg', |
There was a problem hiding this comment.
This include only affects the legacy optimize.bundleTask path. The vscode-web* gulp tasks in this file run the esbuild bundler (build/next/index.ts bundle), which uses its own webResourcePatterns list and currently does not include vs/workbench/contrib/welcomeOnboarding/browser/media/*.svg, so the SVGs will still be missing from web build outputs when using the esbuild pipeline. Please also add the corresponding resource pattern(s) in build/next/index.ts (web + server-web, and likely desktop as well) so both build pipelines ship these SVGs.
| // Welcome | ||
| 'out-build/vs/workbench/contrib/welcomeGettingStarted/common/media/**/*.{svg,png}', | ||
| 'out-build/vs/workbench/contrib/welcomeOnboarding/browser/media/*.svg', |
There was a problem hiding this comment.
Adding this glob fixes the legacy bundle-vscode/minify-vscode pipeline, but the esbuild pipeline (build/next/index.ts bundle) has its own curated resource lists (desktopResourcePatterns, etc.) and currently does not include vs/workbench/contrib/welcomeOnboarding/browser/media/*.svg. If useEsbuildTranspile is enabled for packaging, these SVGs will still be missing. Please mirror this addition in build/next/index.ts so both build pipelines include the onboarding theme preview SVGs.
After the user signs in through the onboarding walkthrough, trigger the full chat setup flow in the background (sign-up, extension install, entitlement resolution) so the 'Finish Setup' status bar indicator is resolved by the time onboarding completes. Uses disableChatViewReveal and DefaultSetup strategy to avoid showing dialogs or popping the chat panel during onboarding. Fixes #309529
Shows Cmd+Shift+X (Ctrl+Shift+X on Windows/Linux) in the extensions step subtitle so users know how to browse the full marketplace. Fixes #309617
joshspicer
left a comment
There was a problem hiding this comment.
I think https://github.com/microsoft/vscode/pull/309654/changes#r3076224700 is a valid comment
Summary
Multiple fixes for the onboarding walkthrough:
1. Theme preview SVGs not showing in builds
The onboarding theme preview SVGs were not included in the desktop or web build file lists, causing blank theme cards for users running built products (e.g. Insiders).
Added
out-build/vs/workbench/contrib/welcomeOnboarding/browser/media/*.svgto:build/gulpfile.vscode.ts(desktop)build/gulpfile.vscode.web.ts(web)2. "Finish Setup" indicator remains after onboarding sign-in
After completing the onboarding sign-in flow, the status bar still showed "Finish Setup" because the onboarding was not triggering the full chat setup flow (sign-up, extension install, entitlement resolution).
Now triggers
workbench.action.chat.triggerSetupwithdisableChatViewReveal: trueandChatSetupStrategy.DefaultSetupafter sign-in, running the setup in the background without showing dialogs or revealing the chat panel.3. Extension Marketplace keybinding tip
Added
Cmd+Shift+X(orCtrl+Shift+X) keybinding tip to the Extensions step subtitle so users know how to browse the full Extension Marketplace after onboarding.4. Screenreader accessibility
aria-labelwith the extension name (e.g. "Install Python") instead of just "Install"role="group"andaria-labelFixes: #309380
Fixes: #309382
Fixes: #309521
Fixes: #309525
Fixes: #309529
Fixes: #309617