Skip to content

Tags filtering - #12

Merged
gpetretto merged 7 commits into
gp/tags_simplefrom
dw/tags_filtering
Jul 17, 2026
Merged

Tags filtering#12
gpetretto merged 7 commits into
gp/tags_simplefrom
dw/tags_filtering

Conversation

@davidwaroquiers

Copy link
Copy Markdown
Member

No description provided.

@gpetretto gpetretto left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for implementing this. I tested and left a few comments, more related to the functionalities than to the implementation.

hiddenTagCount() {
return Math.max(this.tags.length - this.visibleTags.length, 0);
},
hiddenTagsHoverText() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this hover really needed? it remains in the way when clicking on the +N and it does not seem very informative

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

true, I was also annoyed by it ... I only added it because files and blocks had it too. I've modified TagList.vue so that the hover disappears when you click.

},
TagList: {
tags: "tags",
maxVisible: { value: 2 },

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't expect it to be trivial, but I wonder if this value could vary depending on the width of the column?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It could but I'd keep just 2. It can also vary depending on the size of the tags actually.... Worst case is that the line gets "2 lines". I took 2 as a reasonable amount somehow.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

image

This is what can happen for example

});
}
});

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this the correct approach? If many free-text tags the list could be very long. Also, I wonder if with many items building this list may be time consuming. What if this list is only for the defined tags and a free text field for the free text tags?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ok following our discussion, I've put managed tags first, free text tags are hidden initially with a possibility to show them + when you search, it searches the full list. Also added "show free text tags / hide free text tags"

@DianaAliabieva DianaAliabieva left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

hello
for me this pr is clear, only the thing that i send you by teams that we discussed already a bit.

@gpetretto
gpetretto merged commit 1168d2a into gp/tags_simple Jul 17, 2026
4 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants