Commit Graph

21 Commits

Author SHA1 Message Date
James Elliott 00e4a7886e
feat(search): allow complete section customization
This allows configuring the searchable sections and which sections show the search box. In addition the javascript is only included on pages where the search box is visible.
2022-06-25 11:44:10 +10:00
Steven Mathew 10f8c8ea00 fix(flexsearch): separate chain of calls into statements 2022-04-30 12:55:56 -04:00
Michael Schnerring 4d9221d7a4 flexsearch: only display 'no results' message if search query is not empty 2021-10-15 15:42:26 +02:00
Michael Schnerring af6c51f6f2 If flexsearch returns no results, display message 2021-10-15 15:38:04 +02:00
Michael Schnerring 1710b80829 Add descriptive class names for flexsearch result items 2021-10-15 15:34:57 +02:00
Michael Schnerring a409d55365 Use Map instead of object for flat flexsearch results 2021-10-15 15:16:33 +02:00
Michael Schnerring a3a6365817 Remove obsolete query suggestion logic: accept_suggestion (flexsearch) 2021-10-15 15:13:18 +02:00
Michael Schnerring 7debd0ae62 Refactor show_results (flexsearch) to be more descriptive 2021-10-15 15:12:42 +02:00
Michael Schnerring 01d52e8730 Plainify flexsearch index values 2021-10-14 23:56:35 +02:00
Henk Verlinde 6a7df65298
Merge pull request #508 from schnerring/flexsearch-description
Add .Summary as fallback for description
2021-10-14 17:20:43 +02:00
Michael Schnerring 126b3a25ab Fix flexsearch arrow navigation error 2021-10-13 20:13:19 +02:00
Michael Schnerring 434396b612 Add .Summary as fallback for description 2021-10-13 17:17:28 +02:00
Henk Verlinde b290c57d3d feat: add versioning setup 2021-09-28 16:26:15 +02:00
Henk Verlinde 83891d94a5 feat: update for doks 0.3.4 2021-09-07 12:08:46 +02:00
Soichi Hayashi b575ca0eea
Update index.js
doks was displaying only the very last search result.
2021-08-10 09:53:17 -04:00
Henk Verlinde 1589916e58 feat: update to flexsearch v0.7.1 2021-06-25 13:29:22 +02:00
Henk Verlinde 10d0b45203 feat: update for netlify dev support 2021-04-02 19:45:05 +02:00
Henk Verlinde 82b99e781f config: add search web worker 2020-12-07 08:53:34 +01:00
Henk Verlinde b1de433fb5 config: add search web worker 2020-12-07 08:50:57 +01:00
Henk Verlinde 1aa8b7231f test: update split js 2020-12-06 12:03:41 +01:00
Henk Verlinde 97d8e2c0e2 feat: add flexsearch 2020-11-04 08:26:58 +01:00