Skip to content

CmdPal: Set IsLoading in Window Walker during search - #47919

Merged
Michael Jolley (michaeljolley) merged 2 commits into
mainfrom
dev/mjolley/window-walker-isloading
May 18, 2026
Merged

Michael Jolley (michaeljolley) merged 2 commits into
mainfrom
dev/mjolley/window-walker-isloading

Conversation

@michaeljolley

Copy link
Copy Markdown
Contributor

Summary of the Pull Request

Sets IsLoading = true before querying open windows in WindowWalkerListPage.GetItems() and resets it in a finally block, so the UI shows a loading indicator while Window Walker results are being fetched.

Closes #38314

PR Checklist

Detailed Description

The Window Walker extension was not setting IsLoading during its search operation. This meant users got no visual feedback that a search was in progress. This follows the same pattern used by other extensions (AllAppsPage, IndexerPage, etc.).

Validation Steps Performed

  • Verified the change follows existing patterns in AllAppsPage.cs and IndexerPage.cs
  • The try/finally ensures IsLoading is always reset even if Query throws

Set IsLoading=true before querying open windows in
WindowWalkerListPage.GetItems() and reset it in a finally
block so the UI shows a loading indicator while results
are being fetched.

Closes #38314

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds loading-state handling to the Command Palette Window Walker page so users get visual feedback while open-window results are queried.

Changes:

  • Converts GetItems() from expression-bodied to block-bodied.
  • Sets IsLoading = true before querying and resets it in a finally block.

@michaeljolley

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@michaeljolley
Michael Jolley (michaeljolley) merged commit c7bb7f7 into main May 18, 2026
15 checks passed
@crutkas
Clint Rutkas (crutkas) deleted the dev/mjolley/window-walker-isloading branch May 25, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.100 Product-Command Palette Refers to the Command Palette utility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Window Walker should set IsLoading=true

4 participants