[Svelte] Remove special-casing of the 'categories' filter

Created on 5 March 2025, 4 days ago

Problem/Motivation

So the Svelte code handles filters generically now...well, almost. It's not quite true. There are still several places, largely in Search.svelte and MultipleChoiceFilter.svelte, where we are special-casing the categories filter.

Proposed resolution

Let's fix this.

The real challenge here is the FilterApplied component, which is used to show the currently selected categories. To make that generic, we probably want it to just be a "lozenge cloud" of all terms selected from all multiple choice filters. Removing lozenges should unset the corresponding values in the corresponding filters.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024