Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace existing search with pagefind + canary #543

Merged

Conversation

yujonglee
Copy link
Contributor

It use Pagefind for local search index, and Canary for building search UI.

Advantages:

  • Pagefind: Best performing local search index. Only load required index chunk while typing.
  • Canary: Customizable, styled components with lots of filtering support. Here, we split contents with glob.

To try locally, npm run build should be called at least once, because search index is created on production build.

Screen.Recording.2024-10-18.at.9.55.49.AM.mov

@deepakprabhakara
Copy link
Member

@yujonglee Thank you, this looks really good

@deepakprabhakara deepakprabhakara requested a review from a team October 18, 2024 13:18
@deepakprabhakara deepakprabhakara changed the base branch from main to local-pagefind-search October 18, 2024 13:20
@deepakprabhakara deepakprabhakara merged commit 45b2713 into boxyhq:local-pagefind-search Oct 28, 2024
1 check passed
deepakprabhakara added a commit that referenced this pull request Oct 28, 2024
* move to pagefind based search (#543)

* updated package-lock

* tweaked tabs

* added an All tab

---------

Co-authored-by: yujonglee <[email protected]>
@yujonglee yujonglee deleted the local-pagefind-search branch October 28, 2024 21:52
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.

2 participants