Skip to content

PageFind search restage#1206

Open
cbutcosk wants to merge 2 commits intomainfrom
fix/pagefind-search-restage
Open

PageFind search restage#1206
cbutcosk wants to merge 2 commits intomainfrom
fix/pagefind-search-restage

Conversation

@cbutcosk
Copy link
Collaborator

This PR re-stages #1084 for review and QA against the rewound branch.

That PR's details:

  • Feature: Update search to use PageFind for indexing and retrieval.
  • Adds the pagefind library and removes lunr
  • Updates the search plugin to index HTML pages and figures using a new SearchIndex class
  • Output the search index to _search along with the frontend API files that PageFind builds
  • Adds pagefind data attributes as meta tags and on .quire-page to pass page metadata to the index
  • Updates the existing search UI to use the pagefind API
  • Adds the Sinon library for creating test mocks
  • Adds tests for SearchIndex using mocks for the pagefind methods
  • Bundles the pagefind search API and imports it when loadSearchData is called, so pagefind will load the index using wasm.

* Feature: Update search to use PageFind for indexing and retrieval.
- Adds the `pagefind` library and `removes` lunr
- Updates the search plugin to index HTML pages and figures using a new `SearchIndex` class
- Output the search index to `_search` along with the frontend API files that PageFind builds
- Adds pagefind data attributes as meta tags and on `.quire-page` to pass page metadata to the index
- Updates the existing search UI to use the pagefind API
- Adds the Sinon library for creating test mocks
- Adds tests for SearchIndex using mocks for the pagefind methods
- Bundles the pagefind search API and imports it when `loadSearchData` is called, so  pagefind will load the index using wasm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant