Open cmungall opened 10 years ago
see also #82
i like the b&n search box (amazon too), that allows you to put in whatever, and you can also filter if you'd like:
@jgrethe assigning to you to help coordinate, please reassign as needed.
@cmungall, the hope is that you can work with Davis on this...
i have started working on this because i don't want it to get pushed around anymore. should have a functional first pass by the end of the day.
ok, i've added some functionality to search. it gets us part of the way there, but unfortunately is loaded with lots of iterations and no caching, so is very slow. we can always pull it out if you don't like it. we can discuss this strawman solution on thursday's call.
here's some examples: http://tartini.crbs.ucsd.edu/search/shha http://tartini.crbs.ucsd.edu/search/albinism http://tartini.crbs.ucsd.edu/search/hedgehog http://tartini.crbs.ucsd.edu/search/filamentous http://tartini.crbs.ucsd.edu/search/hearing%20loss
A couple of minor issues:
It seems like the search box on the website searches the db and not the website itself.
This is normal behavior for a portal like ours, however, yes, there should be some way to search the docs. Perhaps as a facet within the search bar. Alternatively, all the unstructured content could be on a single page with sections so people can control+F it.
If you've gone SPA and don't mind an extra step during build, this may be useful: https://lunrjs.com/
Migrated from #289
There should be some way to search the content of the monarch site itself. Possibly via a google search to "site: monarchinitiative.org"