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 edit tags button to the preview pane #12946
Feature: Add edit tags button to the preview pane #12946
Conversation
We may want to consider hiding this on items without tags, this will be consistent with other properties that are hidden when empty. |
I am assuming this is using the same flyout as is used elsewhere in the app - so there is no code duplication... |
Yes |
I made it always visible since that was the required behaviour in the issue
Anyway, I think we should keep it even if there are no tags, it's quicker to edit tags using that button than using the context menu. |
@ferrariofilippo Can you display the tags horizontally (and wrap onto the next line if there isn't enough room)? |
Two per row I think will be enough, if they take up 50% of the space each, This way the tag icons below will align to the ones above, and it wont look staggered. |
It's okay, we can always show it. |
@yaira2 do you know any control better than |
@ferrariofilippo We can use a GridView with a custom template, the Community Toolkit has a couple of templates with the desired behavior. |
Did you mean this? |
What do you mean? The screenshot looks like the desired behavior... |
I thought we were going for this |
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
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
Where should it be? Before/after the tags? Next to the header? |
Ideally it'll be in the list of tags, is this possible? |
I'm not sure we can do that but I'll try |
@yaira2 I think we can do that using something like this, is it fine?
|
Seems like a bit of a hack but it's simple enough so we might as well. |
@ferrariofilippo even better, what if we added a "plus" icon next to the "Tags" header? |
It's a shame because the original idea/my idea is much more beautiful than the one you have just proposed, as, for me, it would look out of place next to the 'tags'. |
@yaira2 what do you think? Both the solutions work properly. I can push the one you prefer |
@mdtauk what's your ideal design here? |
If it's going to be changed to a small button, it should use the Status Bar Button control we made, and should be right aligned by the Tags header. Buttons should typically be in a fixed location, adding it to the end of the tags list means it is always moving. Is it going to be an edit button however, or an add tag button. If it's editing, it should use the edit tag icon. @yaira2 I did send you a design for the Tags themselves if you wanted to add the remove button to them. If the button is an Add Tags button, then it should only add. Then you can have the remove icon appear on hover. If it's an Edit button, then it would need to bring up a menu of tags, which allows toggling them on and off with an add button in the flyout. |
For now it's going to be the edit tag button. |
Resolved / Related Issues
Closes Feature: Tag section on Detials Pane, should include "Add Tags" button #12821
Closes Bug: Tags are not displayed in the Preview Pane if no item is selected #12947
Validation
How did you test these changes?
Screenshots (optional)