Closed jonathansick closed 3 years ago
This should be merged after #24
@adrn There's still more to do but this is 80% of it, and it might be easier to make smaller improvements in individual PRs after this.
Awesome!! I'll take a look over the next few days.
This looks good to me! I like that each card has a "Guide", "Tutorial", etc attached to it. I'm glad that they are labeled in that way.
One issue I note is that there is probably a lot of metadata still missing in order to properly search and sort. For example, the CCD Data Reduction Guide relies heavily on ccdproc
, a package that is being developed to replace IRAF and will be of key interest to many people.
I would not require my above note to be fixed to accept the PR. After some discussion, we noticed it is related to astropy-librarian Issue 14
@eblur That's a really good point about the keyword metadata for guides. We'll need to either establish a metadata file to go along with a guide to provide that or start extracting Python package usage from code samples as discussed in https://github.com/astropy/learn-astropy-librarian/issues/14 (which has some up-front challenges, but would be a nice system to have in the long run. Either way, the front-end wouldn't need to change to make that possible, so it's something I'll need to add to https://github.com/astropy/learn-astropy-librarian. I do think a metadata header standard or metadata file would be good for guides, and I've created a second ticket for that: https://github.com/astropy/learn-astropy-librarian/issues/17
This PR implements a search UI with Algolia instantsearch.
This work is built around the concept that content and search results should be shown directly on the homepage rather than in per-category listing pages. To do this I've pared down the UI so we don't have the category cards and large search box on the homepage.
This replaces #22 which was built around the idea of per-category result pages.
A demo of the design is available at https://astropy-search-demo.jsick.dev/