Commit graph

67 commits

Author SHA1 Message Date
Endi
dcf1fef001
feat(v2): lazy load algolia css so its not render blocking (#2125)
* perf(v2): algolia css should not be render blocking

* tweak

* lazy load css

* tweak

* tweak

* review
2019-12-15 16:43:46 +07:00
Endi
dd6b10da30 feat(v2): algolia search result no longer cause full page refresh (#2079) 2019-12-03 21:40:31 -08:00
Endi
cc2201e997 perf(v2): load algolia JS only when user interacts with search (#2076)
* perf(v2): lazy load algolia JS when the user interacts with the search input

* useref
2019-12-02 01:15:43 -08:00
Alexey Pyltsyn
4c7de3b5f1 fix(v2): improve UI of search (#2001) 2019-11-16 08:11:39 -08:00
Endi
3be2e86546
chore: bump dev dependencies (#1955)
* chore: bump devdeps

* upd infima url
2019-11-11 17:44:26 +07:00
Endi
6fcee6dde4 fix(v2): missing/hidden algolia search suggestion result (#1915) 2019-10-30 08:52:36 +08:00
Endi
64871b76e4 fix(v2): custom searchbar should appear even if themeconfig.algolia is undefined (#1909)
* fix(v2): custom searchbar should appear even if themeconfig.algolia is undefined

* nits

* Docs docs

* inaccuracy

* changelog

* nits
2019-10-30 08:51:53 +08:00
Endi
84462e218e fix(v2): align search icon on small width device (#1893)
* fix(v2): align search icon on small width device

* nits

* nits
2019-10-27 07:11:09 -07:00
Endi
9fdda55672 styles(v2): update infima and fix styles (#1892) 2019-10-25 22:06:06 -07:00
Alexey Pyltsyn
0e66c908a9 fix(v2): fix search input blur on desktop (#1874) 2019-10-23 22:00:51 -07:00
Shirshendu Bhowmick
0bbf7b8202 refactor(v2): convert SearchBar to hooks (#1755)
* Refactored with Hooks

* refactored for improvements

* Added classnames for conditional CSS rendering
2019-09-14 11:32:46 -07:00
Shirshendu Bhowmick
abc80e9b00 fix(v2): responsive search bar (#1741)
* Fix search bar on smaller devices

* Update packages/docusaurus-theme-search-algolia/src/theme/SearchBar/styles.css

Removed blank line

Co-Authored-By: Endi <endiliey@gmail.com>
2019-08-06 11:49:28 +07:00
Yangshun Tay
6a814ac64a
refactor(v2): change plugin api (#1547)
* misc(v2): new plugin format example

* refactor(v2): make all plugins a function returning objects

* misc: add CHANGELOG

* misc(v2): update CHANGELOG

* misc(v2): fix tests

* misc(v2): convert swizzle command

* misc(v2): convert sitemap back to commonjs
2019-06-02 20:37:22 -07:00
endiliey
ffdd3e60fc chore(v2): remove docsearch a11y workaround 2019-05-13 22:19:31 +08:00
Endi
070723697f fix(v2): docsearch a11y issue (#1449) 2019-05-11 08:47:22 -07:00
Endi
174ad279a6
refactor(v2): move headerLinks -> themeConfig & rm dead code (#1442)
* refactor(v2): move headerLinks -> themeConfig & rm dead code

* rm -rf dead code
2019-05-08 15:47:32 +07:00
Yangshun Tay
384fd5708f feat(v2): Algolia search theme (#1440)
* feat(v2): Algolia search plugin

* patch PR #1440 (#1441)

* alternative implementation

* typo

* refactor noop

* rename SearchAlgolia -> SearchBar

* changes.md
2019-05-08 15:21:11 +07:00