Skip to content

Update Flexsearch Plugin #457

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

Merged

Conversation

dacog
Copy link
Contributor

@dacog dacog commented Mar 21, 2025

Hi,

I updated the plugin with new features, added a changelog.md, updated the flexsearch library to v0.8.

I thought I should also share the update here. You can check how it works in my website.

Main changes include:

  • Update Flexsearch Library to v0.8 and update link to library
  • Add support for indexing pages alongside posts (configurable, default to the previous behaviour)
  • Add config options for posts, pages, and drafts indexing
  • Improve search by including title, content, and tags
  • Add ESC key to close overlay and Enter key to submit search
  • Add content type badges in search results
  • Add internal analytics tracking via UTM parameter added at the end of the results url ?utm_source=internal_search
  • Update UI and improve error handling

Let me know if you need any changes.

Best,

Diego

dacog added 2 commits March 21, 2025 23:30
…dexing and update flexsearch library to v0.8

- Add support for indexing pages alongside posts
- Add config options for posts, pages, and drafts indexing
- Improve search by including title, content, and tags
- Add ESC key to close overlay and Enter key to submit search
- Add content type badges in search results
- Add analytics tracking via UTM parameter
- Update UI and improve error handling
- Fix search button and event handler issues
@Kwpolska Kwpolska merged commit 1f1975f into getnikola:master Mar 21, 2025
7 checks passed
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