How to change the keyboard shortcuts in Algolia Search component? #4952
Unanswered
idontknowjs
asked this question in
Q&A
Replies: 4 comments 14 replies
-
It seems like a part of the Motivation behind thisThe Ctrl + K key is a common key for enabling narrator view for accessibility tools., so whenever Ctrl + K keys are selected to enter focus into the search bar. The screen reader goes off. |
Beta Was this translation helpful? Give feedback.
12 replies
-
It's not clear to me how it is failing. Is there an error message?
Le ven. 9 juil. 2021 à 19:55, Arijit Kundu ***@***.***> a
écrit :
… @slorber <https://github.com/slorber> strangely earlier with
facetFilters={facetFilters} the search gave result of docs from multiple
versions which is not expected.
But with searchParameters={{facetFilters}}. Whenever I'm running locally.
The search seem to work successfully & return results from current version.
But fails only while building stating the same error message.
Can you please take a look at the changes in this commit
<idontknowjs/docs-site@5378a87>.
This is probably failing in build.
facetFilters log
Yes it does return an array only.
Array(2)
0: "language:en"
1: Array(2)
0: "docusaurus_tag:default"
1: "docusaurus_tag:docs-default-current"
length: 2
__proto__: Array(0)
length: 2
__proto__: Array(0)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4952 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFW6PQX5YC7UW7P7LVPDCLTW4ZZPANCNFSM46QKYXEQ>
.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
You can't put components into pages/components like that, because
Docusaurus will try to create a page for each standalone component.
We have added a _ prefix so that JS files in pages don't lead to a page
creating
Le ven. 9 juil. 2021 à 21:50, Arijit Kundu ***@***.***> a
écrit :
… This netlify build
<https://app.netlify.com/sites/zowe-docs-master/deploys/60e886f4eaef600007d505b9>
might help which failed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4952 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFW6PRYWSUTZXAV4WYQYYTTW5HHZANCNFSM46QKYXEQ>
.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
You can clearly see that Docusaurus is trying to render the comp as a page
here:
"/components/SearchHeader/SearchHeader" because of following error:
Le sam. 10 juil. 2021 à 08:56, Sébastien Lorber ***@***.***>
a écrit :
… You can't put components into pages/components like that, because
Docusaurus will try to create a page for each standalone component.
We have added a _ prefix so that JS files in pages don't lead to a page
creating
Le ven. 9 juil. 2021 à 21:50, Arijit Kundu ***@***.***> a
écrit :
> This netlify build
> <https://app.netlify.com/sites/zowe-docs-master/deploys/60e886f4eaef600007d505b9>
> might help which failed.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#4952 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAFW6PRYWSUTZXAV4WYQYYTTW5HHZANCNFSM46QKYXEQ>
> .
>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Swizzling the algolia search component
@docusaurus/theme-search-algolia
doesn't seem to show the Keyboard shortcuts usedBeta Was this translation helpful? Give feedback.
All reactions