OpenEugene / little-help-book-web

Human service resource guide powered by White Bird Clinic
MIT License
6 stars 4 forks source link

Search action #116

Closed ArthurSmid closed 3 years ago

ArthurSmid commented 3 years ago
  1. how this function interacts with the database

  2. how the search window opens upon clicking the icon: file:///C:/Users/Arthur%20Smid/Desktop/little-help-book-web/table-of-contents-style-homepage/index.html

Here are a few possible search openings:

a.) overlaps items directly to the left https://whitebirdclinic.org/

b.) opens directly below https://fireadaptednetwork.org/

c.) opens beneath entire navigation bar https://www.lionsclubs.org/en#

ArthurSmid commented 3 years ago

Thanks to Dave Wolfe for researching search and posting this one to our Slack:

Lunr.js (https://lunrjs.com/)Lunr is a library that you ship to the browser along with an index produced at build time. It's lightweight, easy to implement, and everything is contained within the repo, so there's control over the display of the search results. This seems like the sweet spot here.