Bring back client-side search

Open
#567 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend, search

Research direction

Review issue #568 and the previous client-side search that used cache.json, then compare it with the removed GHCJS-based Impulse search. Evaluate elasticlunr.js or another direct-to-JavaScript option; done means restoring fast title and tag search for larger notebooks without the prior runtime overhead.

Written by the indexing model from the issue text.

Description

enhancement v2 Web Interface

Originally we had a JavaScript based search that used cache.json to search zettels by title or tag. It got replaced by GHCJS-based Impulse search, but that turned out to be very slow on larger notebooks, so it got removed. So let's reinstate the old search feature, based on JavaScript or any other language that compiles directly to JS (without runtime overhead), such as TypeScript and PureScript.

Look into using elasticlunr.js of #568

Dominant language
Haskell
Stars
1.6k
Forks
145
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from srid/neuron

All issues in srid/neuron

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.