-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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: Implement more RichCommands #11493
Conversation
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
}, | ||
Command = commandsViewModel.CreateShortcutCommand, | ||
ShowItem = itemsSelected && (!selectedItems.FirstOrDefault()?.IsShortcut ?? false), | ||
SingleItemOnly = true, |
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.
Just noticed this was removed, create shortcut should only show if a single item is selected.
OpacityIconStyle = "ColorIconPinToFavorites", | ||
}, | ||
Command = commandsViewModel.PinItemToStartCommand, | ||
ShowOnShift = true, |
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.
Looks like show on shift was also removed, can you add this back?
OpacityIconStyle = "ColorIconUnpinFromFavorites", | ||
}, | ||
Command = commandsViewModel.UnpinItemFromStartCommand, | ||
ShowOnShift = true, |
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.
This as well
ShowItem = selectedItems.All(x => !x.IsShortcut && (x.PrimaryItemAttribute == StorageItemTypes.Folder || x.IsExecutable) && !x.IsArchive && !x.IsItemPinnedToStart), | ||
ShowInSearchPage = true, | ||
ShowInFtpPage = true, | ||
SingleItemOnly = true, |
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.
This too
Resolved / Related Issues
Items resolved / related issues by this PR.
Validation
How did you test these changes?