summaryrefslogtreecommitdiff
path: root/assets/js
AgeCommit message (Collapse)Author
2022-05-31remove delegate-jsReorx
since it's not actually used, revert this commit if needed again in the futures
2022-05-28instantclick: support updating head tagsReorx
only for meta and link (not stylesheet) tags
2022-05-28add instantclick source codeReorx
2022-05-27refactor theme toggle; add delegate-itReorx
2022-04-21add image zoom jsReorx
2022-04-14remove highlight jsReorx
2022-04-11replace instantpage with instantclickReorx
2022-04-10add EnableInstantPage paramReorx
2022-02-05Update `fuse.js` v6.4.6 to v6.5.3 basicAditya Telange
- https://github.com/krisk/Fuse/releases/tag/v6.5.3
2022-02-05Rename fuse.js -> fuse.basic.min.jsAditya Telange
- denoting we are using basic version
2021-10-30Fix `params.fuseOpts` being ignored by Fuse.jsAditya Telange
by implementing a map of lower case to camel case parameters fixes: #556
2021-09-04Reduce Cognitive Complexity of fastsearch.js (#554)Aditya Telange
2021-04-10Fix focus ghosting in search results O_oAditya Telange
2021-04-10Fix results being searched before index building;Aditya Telange
refactor resultSet generation to fix duplicate items with large db
2021-04-10Use js.Build to fetch fuseOpts;Aditya Telange
also load Search on window load
2021-02-07improve searchAditya Telange
- fix menu element becoming inactive change class active -> focus - set input type seach #198 - add a reset func - add script to clear searchbox when clicked on X sign
2021-01-30tweak fuse optsAditya Telange
-rm default opts, - add ignoreLocation (to search everywhere not just 1st 60 chars) - ref https://fusejs.io/concepts/scoring-theory.html#scoring-theory
2021-01-30trim whitespace before searchingAditya Telange
2021-01-30use Basic instead of FullAditya Telange
- also use production ones which contains lesser redundant code - https://fusejs.io/getting-started/different-builds.html#explanation-of-different-builds
2021-01-16fix search result multiple hightlight on lost focusAditya Telange
also use set vars instead of fetching element again
2021-01-06update fuse.js to v6.4.6Aditya Telange
credits: https://github.com/krisk/Fuse/releases/tag/v6.4.6
2020-12-18search: use kb nav only inside searchboxAditya Telange
rm 'prevent mouseclick to change active element'
2020-12-18Search: Keyboard Bindings for easier navigation (#138)Aditya Telange
* set up basic actions on keypress * add actions to perform conditionally * add simple highlight animation * prevent mouseclick to change active element * clear input box on Escape * click on Arrow Right * clear results and focus search-input on esc * refactor
2020-12-15search: introduce loading custom fusejs options from site config #134Aditya Telange
* refer https://fusejs.io/api/options.html for opts * keys used can be some, all or none from ["title", "permalink", "summary", "content"] in config.yml, add fuseOpts as shown below => params: fuseOpts: isCaseSensitive: false shouldSort: true location: 0 distance: 1000 threshold: 0.4 minMatchCharLength: 0 keys: ["title", "permalink", "summary", "content"]
2020-12-06search: fix redundant results after clearing searchboxAditya Telange
2020-12-06search: init Search feature (#105)Aditya Telange
* based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993 * modified working for PaperMod * fetches current lang index.json for search * add fuse.js v6.4.3 LICENSE: Apache License 2.0 * bundled fastsearch and fusejs as search.js Co-authored-by: Craig Mod <stuff@craigmod.com>
2020-11-19hljs: updatev10.2.0 -> v10.2.1Aditya Telange
* credits : https://cdnjs.com/libraries/highlight.js
2020-09-18hljs, an-old-hope: update v9.18.3 -> v10.2.0Aditya Telange
* credits : https://cdnjs.com/libraries/highlight.js
2020-09-06automatic-theme : removeAditya Telange
2020-08-24update highlightjs and an-old-hopeAditya Telange
v9.15.6 -> v9.18.3
2020-07-21assets: assets to proper locationAditya Telange