v5.0.0
v5.0.0 Changes
-
[change] Streamlining filter setup. Everyone who customizes FTW-templates needs to update filters
and unfortunately, the related code has been spread out in multiple UI containers.Now, filters are more configurable through marketplace-custom-config.js. You can just add new
filter configs tofilters
array in there - and that should be enough for creating new filters
for extended data.If you are creating a totally new filter component, you can take it into use in a single file:
src/containers/SearchPage/FilterComponent.jsIn addition, we have renamed couple of container components:
- SearchFilters -> SearchFiltersPrimary
- SearchFiltersPanel -> SearchFiltersSecondary (SearchFiltersMobile has kept its name.)
SortBy filter's state is also tracked similarly as filters. From now on, the state is kept in
MainPanel and not in those 3 different UI containers.