-
-
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: Added support for opening all tagged items from the Tags widget #12972
Feature: Added support for opening all tagged items from the Tags widget #12972
Conversation
@ferrariofilippo I pushed a design tweak so that clicking the tag name does the search for more items. This will allow us to repurpose the "view more" button as "open all". |
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.
Code looks good, I am not able to test it.
A small proposition of renaming to stay coherent with the current.
public string Label | ||
=> "OpenAllItems".GetLocalizedResource(); |
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.
The label should be OpenAllTaggedItems
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.
Done
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.
I thought this as well but then I realized this string might be useful outside of tags.
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.
Should I revert it then?
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.
It's fine either way
public string Description | ||
=> "OpenAllItemsDescription".GetLocalizedResource(); |
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.
OpenAllTaggedItemsDescription
<data name="OpenAllItems" xml:space="preserve"> | ||
<value>Open all</value> | ||
</data> | ||
<data name="OpenAllItemsDescription" xml:space="preserve"> | ||
<value>Open all tagged items</value> | ||
</data> |
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.
OpenAllTaggedItems
and OpenAllTaggedItemsDescription
AutomationProperties.Name="{helpers:ResourceString Name=OpenAllItems}" | ||
Command="{x:Bind OpenAllCommand}" | ||
ToolTipService.ToolTip="{helpers:ResourceString Name=OpenAllItems}"> |
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.
If the resources strings are indeed renamed as proposed, these entries will need to be renamed as well.
@ferrariofilippo I don't think the opacity icon is a good fit but to be honest, there isn't an intuitive icon for "open all". An alternative would be to use the |
Good call, we won't need to change the code if we will need any extra actions |
Can you set it to transparent? |
Does this also work for the sidebar? |
Not yet, I'll work on it |
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
Resolved / Related Issues
Closes Feature: Option to open all items in a tag #7493
Validation
How did you test these changes?
Home
Tags
widgetOpen all
Screenshots (optional)