cake-build / website

:earth_americas: The Cake website: https://cakebuild.net
https://cakebuild.net
MIT License
42 stars 230 forks source link

Add filtering to extension list #1154

Open pascalberger opened 4 years ago

pascalberger commented 4 years ago

Add filtering functionality to extension list

image

The filter button toggles some filtering options. It allows to filter by different extension types, and a list of topcis

pascalberger commented 4 years ago

Once #299 and #580 are implemented filtering for Cake version, .NET version and Cake runner would also be nice

augustoproiete commented 3 years ago

@pascalberger I took a first look at this one and the amount of unique addin categories is not small, making the filter look a little overwhelming (I didn't add the toggle yet, but you get the idea).

image

What do you think?

I'm wondering if it wouldn't be better to have the list of topics on the left nav bar, the same way that Reference does:

image

pascalberger commented 3 years ago

Categories on the left is what we had before. Having this in the left nav would consequently mean to have a separate page for every category, which would be a strange UI, as it conflicts with the search and filter on the page (and also would lead to issues with loosing search and filter when switching pages).

I agree that listing categories like this doesn't make much sense. I could imaging to use a drop down where the different categories can be selected (something like the DevExtreme TagBox: https://js.devexpress.com/Demos/WidgetsGallery/Demo/TagBox/Overview/jQuery/Light/, don't know if Bootstrap has an equivalent).

Btw. I once also started with this, but only managed to start with toggle. I've pushed the code here: https://github.com/pascalberger/website/commit/1bf1323a3e698b02eb273b8238bb3add430cb93d