Commit graph

22 commits

Author SHA1 Message Date
wenbingzhang
1c42a96572
Replace flexsearch with fusejs (#600)
Co-authored-by: 张文兵 <wenbing@mgtv.com>
2024-05-18 12:29:55 +02:00
Alex Shpak
2e693816ae #385: Do not focus search field if current element has value 2021-11-19 14:24:28 +01:00
Alex Shpak
9b2e21f870 Refactor search, syntax error 2021-05-19 20:28:21 +02:00
Alex Shpak
d7c644f0e7 Refactor search, prepare for pre-built indexing 2021-05-19 20:26:21 +02:00
Alex Shpak
f416a71bf8 #236, #171 Add section to search results 2020-07-06 22:17:36 +02:00
Alex Shpak
0f58a77354 404 Page redesign 2020-04-15 23:24:51 +02:00
Alex Shpak
9719692512 Introduce serviceWorker, disabled by default 2020-04-12 20:50:03 +02:00
Alex Shpak
83f6c3d475 Disable space as search focus key 2020-01-24 00:39:47 +01:00
Daniel Forssten
7e2af86777 #134, Focus search field by pressing s or / (#135)
* #134, Focus search field by pressing s or /
* #134, Refactoring away an array loop using indexOf
2020-01-19 21:57:53 +01:00
Alex Shpak
13584878c2 Polish multilang mode, update docs 2019-11-16 20:35:23 +01:00
Alex Shpak
7b52bf4232 #87, Add support for multilang search index generation 2019-11-16 20:35:23 +01:00
Alex Shpak
a5788d71fa #80, Add search index configuration 2019-10-27 11:58:58 +01:00
Alex Shpak
b4307e7c09 #80, Migrate to flexsearch 2019-10-23 21:32:15 +02:00
Alex Shpak
77255304f3 #74, Remove readonly flag from search field 2019-10-03 14:18:34 +02:00
Alex Shpak
397ebbc2a4 #79, Disable async load for dynamically inserted scripts 2019-10-03 13:56:41 +02:00
Alex Shpak
469d9d88cd Show progressbar while loading lunr and data 2019-08-06 11:33:42 +02:00
Alex Shpak
f56f2bf04d Block serach bar untill index is loaded 2019-08-06 11:33:42 +02:00
Alex Shpak
a3f7d8b948 Improve search settings 2019-08-06 11:33:42 +02:00
Alex Shpak
625f202275 Make lunr to load on search interaction as well 2019-08-06 11:33:42 +02:00
Alex Shpak
440ea834f7 Add extra margin under search bar, cleanup 2019-08-06 11:33:42 +02:00
Alex Shpak
1f3addcca5 Implement search, loading on demand 2019-08-06 11:33:42 +02:00
Alex Shpak
dda0a0eab1 Start work on search feature with lunr 2019-08-06 11:33:42 +02:00