-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Feature: Add shell context menu for widgets #11204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add shell context menu for widgets #11204
Conversation
Should we switch to CommandBarFlyout to be more consistent with the right click menu in other places? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, Button_RightTapped
and LoadShellMenuItems
share almost all the code in all widgets. You may create an helper class to reduce code duplication
I don't know if we can add the helper class for the Button_RightTapped because some use Grid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Just took a quick look and this much closer to what I had in mind. Will do a full review later but it's looking good. |
@hecksmosis functionality looks good too, I wonder if we should move options like properties and open with to the main menu. Just trying to think of ways to make it a little more consistent with the right click menu in the different layout modes. |
I think properties is in the main menu already |
Do you want to add properties to recent files? |
Yes, properties, open with and add to favorites. |
Add to favorites wouldn't make sense as only files appear there @yaira2 |
Good point, comes back to the fact that we don't show pinned files yet. We can probably hide the menu item for that. |
The icons being wrong is because I didn't notice |
I fixed the icons and added the open with menu, but I haven't been able to add the properties menu as it shows incomplete, help would be appreciated in that aspect. |
I think it's okay for now, I'll try to finish reviewing today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nits 🙂
@d2dyno1 Is it ok now? |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
It's not loading on recent files for me but I don't want to hold this back so let's merge as is. |
Resolved / Related Issues
Items resolved / related issues by this PR.
Validation
How did you test these changes?