area1707/grace-shopper

ReactComponent - NavBar - search function

Closed this issue · 3 comments

Story: as a user of any sort, i want to be able to search for items based on their name

Implement: adding a search "form" in the nav bar and having that iterate through the acceessories that are already loaded on the component after mounting and displaying just those items

Things we need to fix:

  1. when pressing home, need to reload and not persist the search value
  2. can't search from pages other than home :[

Fixed the two issues above by changing front end route so that different things are being loaded based on the routes
but a more optimal way to do it would probably to reset the main state so we can take away the extra route. ( lower priority )

Added a category drop down that will show items based on category when pressed