Skip to content

CmdPal: Add context commands for pinning nested commands#45673

Merged
zadjii-msft merged 42 commits intomainfrom
dev/migrie/f/pincushion-actual-implementation
Feb 26, 2026
Merged

CmdPal: Add context commands for pinning nested commands#45673
zadjii-msft merged 42 commits intomainfrom
dev/migrie/f/pincushion-actual-implementation

Conversation

@zadjii-msft
Copy link
Copy Markdown
Member

@zadjii-msft zadjii-msft commented Feb 18, 2026

targets #45572

This change allows our contact menu factory to actually create and add additional context menu commands for pinning commands to the top level. Now for any command provider built with the latest SDK that return subcommands with an ID, we will add additional context menu commands that allows you to pin that command to the top level.

image image

related to #45191
related to #45201

This PR notably does not remove pinning from the apps extension. I thought that made sense to do as a follow-up PR for the sake of reviewability.


description from #45676 which was merged into this

Removes the code that the apps provider was using to support pinning apps to the top level list of commands. Now the all apps provider just uses the global support for pinning commands to the top level.

This does have the side effect of removing the separation of pinned apps from unpinned apps on the All Apps page. However, we all pretty much agree that wasn't a particularly widely used feature, and it's safe to remove.

With this, we can finally call this issue done 🎉
closes #45191

this took a lot more wiring than I thought
Like, we're not actually realizing that command needed us to build a
context menu for it until we re-retrieve it. dafuq
@zadjii-msft zadjii-msft added Product-Command Palette Refers to the Command Palette utility 0.98 labels Feb 18, 2026
@zadjii-msft zadjii-msft mentioned this pull request Feb 18, 2026
11 tasks
jiripolasek
jiripolasek previously approved these changes Feb 19, 2026
Copy link
Copy Markdown
Collaborator

@jiripolasek jiripolasek left a comment

Choose a reason for hiding this comment

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

Image

Base automatically changed from dev/migrie/f/pincushion-context-factory to main February 24, 2026 12:26
@zadjii-msft zadjii-msft dismissed jiripolasek’s stale review February 24, 2026 12:26

The base branch was changed.

Copy link
Copy Markdown
Collaborator

@jiripolasek jiripolasek left a comment

Choose a reason for hiding this comment

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

LGTM

Image

@zadjii-msft zadjii-msft enabled auto-merge (squash) February 26, 2026 12:40
Copy link
Copy Markdown
Collaborator

@jiripolasek jiripolasek left a comment

Choose a reason for hiding this comment

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

LGMT

Image

@zadjii-msft zadjii-msft mentioned this pull request Feb 26, 2026
@zadjii-msft zadjii-msft merged commit 7a0e4ac into main Feb 26, 2026
15 checks passed
@vanzue vanzue added this to the PowerToys 0.98 milestone Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.98 Product-Command Palette Refers to the Command Palette utility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CmdPal “Pincushion” — pin anything to Home

3 participants