Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement - collection tagfilters first (#973)
* make 'others' a const * extract into consts * extract into getYearFilters * extract getCategoryFilters * add correct types * extract getTagFilters * rename to singular * move logic into each get*Filter function to improve readability * fix import * remove type renaming during import * refactor imports location * refactor: standardize code structure * only return filters with at least 2 items * add storybook * reorder collection filters to put "tags" first * do not render "category" if there's no category filter * remove shouldShowCategory * resolve merge * resolve merge
- Loading branch information