feat: Content Search Modal: Filters [FC-0040] (#918)

Implementation of openedx/modular-learning#201

Implements a modal for searching course content with filters for searching in current or all courses, filtering by content type, content tags and text.
This commit is contained in:
Braden MacDonald
2024-04-10 21:31:06 -07:00
committed by GitHub
parent aaf4989610
commit fc3e38f63b
24 changed files with 1129 additions and 109 deletions

View File

@@ -22,7 +22,7 @@ const Header = ({
const [isShowSearchModalOpen, openSearchModal, closeSearchModal] = useToggle(false);
const studioBaseUrl = getConfig().STUDIO_BASE_URL;
const meiliSearchEnabled = getConfig().MEILISEARCH_ENABLED || null;
const meiliSearchEnabled = [true, 'true'].includes(getConfig().MEILISEARCH_ENABLED);
const mainMenuDropdowns = [
{
id: `${intl.formatMessage(messages['header.links.content'])}-dropdown-menu`,