Description
We would like users to be able to select, from a dropdown below the top navigation search box, recent searches.
- The search terms should be stored in local storage and therefore no backend support is required.
- Initially, when there is no search term entered, the last n searches should be displayed
- Once there is a search term (or part of a term), perform an "includes" filter on the list and only display the most recent matching n searches. Extra points if we can highlight the match within the search.
- This should work without the ClojureScript app and therefore the solution to be written in JavaScript (there are plenty of examples of this within the project)
- Extra points for allowing the searches to be deleted