Changes to filters and search
I've been doing a bunch of behind the scenes work to make filters easier to work with/reuse in future templates/website types. In addition to paving the way for future changes, i've also introduced a couple of immediate changes:
-
You can now decide whether a search bar is shown in your hero or not. You can also decide whether a search bar is show alongside the filters or not. Previously, this would be decided for you based on whether you were using a hero, or full width search which was somewhat limiting.
-
You can now add filters to the the top of your grid. This is best suited to sites without a ton of filters. Sites with a ton are still supported, but some filters will be hidden until scrolled into view.
-
Filter UI has been reworked. They should look and work better now. They're also more compact so sites with a ton of filters are more usable. Notably:
-
Tags now render in searchable dropdown
-
As do categories, although the category one is hierarchical
-
Addresses render the same way, rather than offering two separate fields: country and city.
-
How the new top bar looks (few minor changes planned):
You can see it directly here: https://dev-tools.listable.directory/
