Skip to content

Search and Filter content/media #143

@Austin2Shih

Description

@Austin2Shih

Overview

Media Gallery and Content pages are implemented the same card display system. Your job is to edit/create a searchbar and filter component (if they aren't already in components)

To make it reusable, we are going to have both the Search and Filter features implemented through the FilterContext (since searching is kinda just filtering). FilterContext is already like half implemented. The idea is that the search and filter components could be sort of independent of how data is implemented. For the FilterContext, perhaps you could just provide it a filter function to run through the Search and Filter components. It is essentially a system that allows you to connect seach and filter components to the context (source of truth) and have other frontend components see how we want to filter by also referring to the context (source of truth)

You will need to:
Link both the media gallery and content pages up to this system.

Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions