Category pulldown search does not show subcategories


(Tobias Eigen) #1

Is there any way to make this search work, to make it possible to go straight to a sub-category? Select “all categories” pulldown, then type in “voting” to find and go to the #plugin:voting category.

This does work - select “all categories” pulldown, type in “plugin” to find and go to the #plugin category.


(Joffrey Jaffeux) #2

Seems more like a feature request to me than support.

It would be possible, although I’m not sure that would be the best solution. This would be confusing to have subcategories showing in both dropdowns. I would be more in favor to mix them in only one dropdown like we do for {{category-chooser}}

@awesomerobot @neil do you have thoughts on this?


(Neil Lalonde) #3

I found myself searching for “translations” in the category dropdown, and then realized that it’s a subcategory. Adding the search field in that dropdown makes it intuitive that I should be able to find subcategories, like the composer’s category input. Maybe only show subcategories when searching?


(Tobias Eigen) #4

This is all I’m asking about. It seems chien bizarre to me that categories you know exist don’t show up in the pulldown search, especially when you’re on the frontpage and all you see is category and tag pulldowns.

I’m not asking for an overhaul of the category/subcategory/tag pulldown interface.


(Joffrey Jaffeux) #5

I just don’t see any reason to keep the second dropdown if we do this. So this is fixing your issue, good, but if we could keep the whole thing coherent that would be better.


(Joshua Rosenfeld) #6

The second filter is needed to select all/none when looking at a parent category.


(Neil Lalonde) #7

Looking at Envato, which has very strong walls between it’s parent categories, I like how it’s currently working:

Search field only appears in the subcategory dropdown. One unified category dropdown wouldn’t be good there… So now I don’t know what to think.


(Leo McArdle) #8

Perhaps a site preference?

We could definitely do with combined parent/subcategory search on: https://discourse.mozilla.org/


(Tobias Eigen) #9

I don’t think we should do away with the sub-category pulldown that appears when you enter a category. If you have alot of sub-categories in a category, maybe the sub-category pulldown should also provide a search (or maybe it does - haven’t tested) showing results only from the category they are in.

But on the main category pulldown search it says “all categories”, so it’s weird that only the top level categories show up there. Not seeing results from all categories feels broken, and it greatly diminishes the convenience of the feature.


(Tobias Eigen) #10

Another point of info - the category dropdown when choosing the category for a topic does include sub-categories. It seems sensible and intuative to me for the category pulldown search to match this functionality.

07%20PM