Update <SearchFiltersPanel>
to accomodate differences in display between Learn and Coach, and within Coach, to manage quizzes (i.e. no Learning Activity types) vs. lesson resources
#12521
Milestone
Prerequisite
#12676
Overview
The
<SearchFiltersPanel/>
is the component that exists within the Learn Library page, which enables searching and filtering making use of the metadata that could be added to a resource (activity type, category, etc.)This component has already been moved into
kolibri-common
and now needs to be extended to manage both learn and coach cases. Within Coach, there is a slight variation when managing quizzes, which doesn't display the learning activity type options, vs. lesson resources, which does display the learning activity type selection.The Figma spec for the Search Filters Panel is comprehensive, and that should be used as the source of truth and more closely followed than the general description here.
Important: The side panel modal behavior, and related components, are closely connected to the
useSearch
functionality. Refactoring how the component works in any significant way will cause problems. Please use an approach that focuses on presentational differences and conditional rendering rather than rebuilding the components or refactoring.Acceptance criteria
Learn - all behavior and the UI remains the same, no regressions. This needs to be confirmed by the QA team before merging this work.
Coach
The text was updated successfully, but these errors were encountered: