Hide tags in filter list - New Site Setting


(Joshua Rosenfeld) #1

Over at Stonehearth we’ve been using the tag system pretty extensively in a few of our categories. We also have show filter by tag enabled and sorted by popularity. The problem we’re now seeing is that certain tags are used many times (like duplicate), that they permanently sit at the top of the drop-down. It would be nice if we could have a field in site settings (similar to staff tags) where we can list tags to hide from the filter drop-down.


Feature request: tag styling addition
(Sam Saffron) #2

This seems very edge casey… I think a far better outcome is to clean up our markup so you can do this with CSS:

<div class="cat">
     <a id="ember1477" class="ember-view tag-badge-wrapper badge-wrapper bullet tag-resolved" href="/tags/c/support/resolved">resolved</a>
</div>

To

<div class="cat tag-resolved">
     <a id="ember1477" class="ember-view tag-badge-wrapper badge-wrapper bullet tag-resolved" href="/tags/c/support/resolved">resolved</a>
</div>

Then you could do:

.category-support .cat.tag-resolved {
   display: none;
}

(Joshua Rosenfeld) #3

Not against CSS - if we were to do that, would we need to raise the max tags in filter list as we’re only hiding the tag visually, not removing it?


(Sam Saffron) #4

probably yeah, depends on how many you are hiding. I assume there are only 3 or so you are looking to hide.


(Joshua Rosenfeld) #5

Looking really quickly, we’d want to hide duplicate, resolved, no_longer_applicable, not_a_bug, and not_reproducible


(Sam Saffron) #6

Yeah I think you would still have plenty of the tags in the list then, you could add a few more if you must.