Skip to content

Conversation

@bhavyaus
Copy link
Collaborator

@bhavyaus bhavyaus commented Oct 3, 2025

Fixes: #255348

Copilot AI review requested due to automatic review settings October 3, 2025 04:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes step focus logic for first launch in the Getting Started page to prevent unwanted automatic focus behavior during initial application startup.

  • Updates the selectStep method to accept a firstLaunch parameter that prevents automatic focus when true
  • Modifies the category slide building logic to pass the firstLaunch flag through the call chain
  • Adds focus input call in chat widget when there are no items

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts Updates step selection logic to conditionally skip focus behavior on first launch
src/vs/workbench/contrib/chat/browser/chatWidget.ts Adds input focus when chat history is empty

@bhavyaus bhavyaus enabled auto-merge (squash) October 3, 2025 04:54
@vs-code-engineering vs-code-engineering bot added this to the November 2025 milestone Oct 3, 2025
bpasero
bpasero previously approved these changes Oct 3, 2025
@bpasero bpasero modified the milestones: November 2025, October 2025 Oct 3, 2025
@bhavyaus bhavyaus force-pushed the dev/bhavyau/welcome-focus branch from 58eb512 to 5ed700b Compare October 3, 2025 17:38
@bhavyaus bhavyaus force-pushed the dev/bhavyau/welcome-focus branch from 5ed700b to 21f2e10 Compare October 3, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Focus does not go into chat input when welcome shows

3 participants