dimitriosxmi / ArtistsReferenceOrganizer

Neue Fische Capstone Project
https://artists-reference-organizer.vercel.app
0 stars 0 forks source link

Feature/us18/content list filtering #40

Closed dimitriosxmi closed 1 year ago

dimitriosxmi commented 1 year ago

Please take a moment to review this ❤️ 😊

Borderline large PR, I've tried to comment it responsibly, you should be able to read it with ease 😉

Goal: US18 TL; DR: Content page now has a fully functioning filter querying properly filtered data from the database

Deployment

! Update EntryPreviewList component
# Add filter that renders only based on the hasFiltering property.
# Add GET request with query params to filter search function.

! Update entries.js api page
# Handle the GET method with a query of filterBy and searchText,
# currently only the newly implemented filter uses this method.

! Update content.js page
# Uses the hasFiltering prop on the rendered EntryPreviewList component.