Keyword search is enabled with a new query (see openpracticelibrary/opl-content-api#58).
Keywords can be comma separated, to allow for multiple words in a single string, and multiple keyword searches (uses $or). Keywords will search the title, subtitle, and the whatIs, whyDo, and howTo sections of the body for the input.
Tag filtering has also been switched to $and filtering across mobius loop and top level tags. For example, selecting Validate and using the mobius loop filter Discovery will yield only those practices with both tags. Previously, the filter yielded those with either tag.
Also moved the styling for the <Chip> component to the theme, mostly as a demonstration of what I mean for @lallmon :love_you_gesture:
Resolves #63
Keyword search is enabled with a new query (see openpracticelibrary/opl-content-api#58).
Keywords can be comma separated, to allow for multiple words in a single string, and multiple keyword searches (uses
$or
). Keywords will search the title, subtitle, and the whatIs, whyDo, and howTo sections of the body for the input.Tag filtering has also been switched to
$and
filtering across mobius loop and top level tags. For example, selectingValidate
and using the mobius loop filterDiscovery
will yield only those practices with both tags. Previously, the filter yielded those with either tag.Also moved the styling for the
<Chip>
component to the theme, mostly as a demonstration of what I mean for @lallmon :love_you_gesture: