Alexey Pyltsyn
c82800e0db
fix(v2): restore infinite scroll pagination ( #3639 )
2020-10-26 18:13:47 +01:00
Alexey Pyltsyn
69bf68ae57
chore(v2): migrate hapi/joi to joi ( #3638 )
2020-10-26 15:18:51 +01:00
Alexey Pyltsyn
0ec5d533d6
refactor(v2): use new way to get versions for search page ( #3604 )
...
* refactor(v2): use new way to get versions for search page
* search page: support docs multi-instance
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-22 11:22:11 +02:00
Rhys Arkins
6930e91508
fix: add repository metadata to all packages ( #3613 )
...
* fix: add repository metadata to all packages
* empty commit for cla bot
* move validate-package-json.test.ts + add glob devDependency
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-21 15:05:01 +02:00
Sébastien Lorber
14447707c2
chore(v2): prepare v2.0.0.alpha-66 release ( #3608 )
...
* release alpha 66
* v2.0.0-alpha.66
2020-10-19 19:44:26 +02:00
Sébastien Lorber
aed1ce7850
chore(v2): enable new contextual search feature ( #3591 )
2020-10-15 15:34:04 +02:00
Sébastien Lorber
21264f5ed0
feat(v2): contextual search, dynamic Algolia facetFilters ( #3550 )
...
* POC of contextual search dynamic filters
* fix useSearchTags bugs
* contextual search should use preferred version (persisted in storage)
* Contextual search: make system decoupled from algolia + wire proper meta tags and facet filters
* rework doc tag + minor refactorings
* update snapshots
* polish contextual search
* add Algolia validateThemeConfig tests
2020-10-15 12:16:30 +02:00
Alexey Pyltsyn
f5f2064656
chore(v2): prepare v2.0.0.alpha-65 release ( #3525 )
...
* chore(v2): prepare v2.0.0.alpha-65 release
* v2.0.0-alpha.65
2020-10-02 17:09:16 +03:00
Alexey Pyltsyn
55cd7a7b5a
fix(v2): use valid value for crossorigin attribute ( #3456 )
2020-09-29 17:38:15 +02:00
Sébastien Lorber
9bf4dfb275
chore(v2): prepare v2.0.0.alpha-64 release ( #3440 )
...
* add 2.0.0 alpha 64 files
* v2.0.0-alpha.64
2020-09-11 20:35:05 +02:00
Sébastien Lorber
8af3ad4250
chore(v2): prepare v2.0.0.alpha-63 release ( #3400 )
...
* add alpha 63 + remove +3month old versions
* update publish guide
* v2.0.0-alpha.63
2020-09-03 18:52:03 +02:00
Sébastien Lorber
ab3ebdad39
chore(v2): pin exact dependency versions ( #3386 )
...
* Attempt to pin all dependency versions exactly for https://github.com/facebook/docusaurus/issues/3371
* warn if @docusaurus package versions mismatch
* fix yarn lock
2020-09-02 11:42:17 +02:00
Sébastien Lorber
4f448bd54b
chore(v2): prepare v2.0.0.alpha-62 release ( #3359 )
...
* Add alpha 62
* v2.0.0-alpha.62
2020-08-28 19:17:56 +02:00
Sam Zhou
16ae3bf462
fix(v2): Add missing dependencies to packages ( #3355 )
2020-08-28 15:04:44 +02:00
Sébastien Lorber
d17df954b5
refactor(v2): precompile ETA templates ( #3238 )
...
* compile ETA templates ahead of time
* handle PR review
2020-08-17 15:43:17 +02:00
François Chalifour
51f07608fa
fix(v2): keep DocSearch state on remounts ( #3297 )
...
* fix(v2): keep DocSearch state on remounts
* fix: memoize `transformSearchClient`
2020-08-17 14:58:02 +02:00
Ali Hosseini
0cc78fdd41
fix(v2): allow search page swizzle ( #3280 )
...
* feat: search page moved to theme folder
* feat: docusaurus-theme-search-algolia/src/pages/search removed
* SearchPage added to SwizzleAllowed array
* feat: SearchPage route updated in index of it's package directory
* Update packages/docusaurus-theme-classic/src/index.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-14 11:57:34 +02:00
Sébastien Lorber
97faf7e6d9
fix(v2): do not index search pages ( #3263 )
2020-08-12 09:48:20 +08:00
Sébastien Lorber
48b996773c
chore(v2): prepare v2.0.0.alpha-61 release ( #3182 )
...
* alpha 61 release
* doc prettier
* v2.0.0-alpha.61
2020-08-01 15:24:46 +02:00
François Chalifour
e442ac95ee
feat(v2): improve Algolia search accessibility ( #3166 )
...
* feat(v2): improve Algolia search accessbility
* fix(v2): make sure to import modal before opening
2020-07-31 15:37:10 +02:00
Bucky Maler
e9a2b1d9c6
fix(v2): inability for users to pin their docusaurus version ( #3162 )
2020-07-30 14:44:39 +02:00
Sébastien Lorber
1083454dbd
chore(v2): prepare v2.0.0.alpha-60 release ( #3154 )
...
* alpha 60
* v2.0.0-alpha.60
* update publish guide
2020-07-29 17:45:54 +02:00
Hob Adams
33bb9087cf
feat(v2): add accessible label for Algolia search button ( #3138 )
...
The button doesn't contain text which fails lighthouse a11y tests + isn't nice for screen readers.
2020-07-28 18:08:40 +08:00
Sébastien Lorber
a1db6f7d75
feat(v2): add themeConfig validation to algolia theme ( #3133 )
...
* Algolia theme option validation
* validateThemeConfig
* remove useless runtime check
2020-07-27 18:12:56 +02:00
Sébastien Lorber
0eb9c207cf
chore(v2): v2.0.0.alpha-59 release ( #3114 )
...
* alpha 59 release preparation
* v2.0.0-alpha.59
2020-07-24 16:22:51 +02:00
François Chalifour
298522ff66
feat(v2): introduce DocSearch v3 search ( #2815 )
...
* feat(v2): introduce DocSearch v3 search
* chore(deps): update @docsearch/react
* refactor: use arrow functions in callbacks
* fix: display warning when `algolia` config is missing
* feat: add link to search page
* chore: delete unused style file
* feat(website): specify DocSearch primary color
* fix(search): add "all" word
* feat(search): add `generateSearchPageHref` hook
* chore(deps): update @docsearch/react
* fix(website): remove `hitsPerPage` search parameter
* fix(search): use `baseUrl`
* fix(search): rename `generateSearchPageLink`
* fix(search): fix scroll position on mobile
* fix(search): update query on URL change
* fix(search): close DocSearch modal on See More click
* refactor(search): use `useSearchQuery` to update query from URL
* feat(search): support `/` keyboard shortcut
* fix(search): forward Algolia config to DocSearch
* chore(search): update `@docsearch/react`
* fix(search): encode search value to search page
* fix(search): use `withBaseUrl` on links
* feat(search): attach Docusaurus version to user agents
* docs(docsearch): update DocSearch section
* chore(deps): update @docsearch/react
* feat(search): apply search styles to website
* docs(search): update DocSearch doc
* chore(deps): update @docsearch/react
* chore: update lock file
* chore(deps): update algoliasearch
* fix(website): remove special character in CSS
* docs(search): remove special character in CSS
2020-07-23 14:36:38 +02:00
Sam Zhou
6e43c9bd34
chore(v2): Fix more eslint errors ( #2976 )
2020-06-21 15:09:00 +08:00
slorber
16ba6e54b6
v2.0.0-alpha.58
2020-06-18 14:02:26 +02:00
Alexey Pyltsyn
afe9ff91a4
chore(v2): replace classnames with clsx ( #2895 )
2020-06-07 13:40:06 +08:00
tetunori
e63c468b0f
fix(v2): use base url to navigate to search page ( #2838 )
...
* fix: consider baseUrl
Add baseUrl to search page query URL.
* fix: use `useBaseUrl()`
* Revert "fix: use `useBaseUrl()`"
This reverts commit 72b319a293
.
* fix: add link to PR
2020-06-02 10:51:54 +03:00
Alexey Pyltsyn
d8ebe8b2e4
v2.0.0-alpha.56
2020-05-27 20:18:28 +03:00
Sam Zhou
33b60c6ba4
fix(v2): Consistently use 10.15.1 as the minimum required node version ( #2819 )
2020-05-27 23:18:48 +08:00
Alexey Pyltsyn
f23d03bd3b
refactor(v2): align search icon to center on mobiles ( #2814 )
2020-05-27 16:36:13 +08:00
Alexey Pyltsyn
604f9f5b25
refactor(v2): increase search input on medium screens ( #2799 )
...
* refactor(v2): show only search icon on mobiles
* refactor(v2): increase search input on medium screens
2020-05-24 12:45:38 +08:00
Alexey Pyltsyn
83f980cadf
refactor(v2): show only search icon on mobiles ( #2791 )
2020-05-23 05:02:18 +08:00
Alexey Pyltsyn
d94a549cfb
v2.0.0-alpha.55
2020-05-19 13:55:03 +03:00
Alexey Pyltsyn
463efec20d
fix(v2): avoid duplication search input in navbar ( #2762 )
2020-05-17 23:24:17 +08:00
Alexey Pyltsyn
778adb2d26
refactor(v2): improve UX of search page ( #2761 )
2020-05-17 22:53:21 +08:00
Alexey Pyltsyn
3ad4550854
feat(v2): add search page ( #2756 )
2020-05-17 15:55:40 +08:00
Alexey Pyltsyn
753d117025
v2.0.0-alpha.54
2020-04-28 09:49:27 +03:00
Alexey Pyltsyn
d90fdb04d5
v2.0.0-alpha.53
2020-04-27 16:38:33 +03:00
Alexey Pyltsyn
7359945f52
v2.0.0-alpha.52
2020-04-27 16:30:15 +03:00
Alexey Pyltsyn
c9c5aedcb5
v2.0.0-alpha.51
2020-04-27 14:44:56 +03:00
Alexey Pyltsyn
1f00d15c74
chore(v2): fix code style (revert previous changes)
2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd
chore(v2): fix code style
2020-04-05 17:30:59 +03:00
Yangshun Tay
b07507c9cc
chore(v2): upgrade devDependencies ( #2538 )
...
* chore(v2): upgrade devDependencies
* chore(v2): upgrade devDependencies
* chore: prettier
2020-04-05 19:07:44 +08:00
Alexey Pyltsyn
c207c3ba31
v2.0.0-alpha.50
2020-04-02 21:00:47 +03:00
Yangshun Tay
409f169379
v2.0.0-alpha.49
2020-04-01 16:00:14 +08:00
Alexey Pyltsyn
38bb8c4ced
v2.0.0-alpha.48
2020-03-09 01:46:10 +03:00
Alexey Pyltsyn
1dc1f21e91
v2.0.0-alpha.47
2020-03-08 23:40:44 +03:00