Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(v2): Algolia: allow contextualSearch + facetFilters #3804

Merged
merged 2 commits into from
Nov 23, 2020

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Nov 23, 2020

Motivation

Merge contextual search facetFilters with config-provided facetFilters.

Remove security: not a big deal because users will notice easily if their search is broken due to an extra useless config filter.

Fixes #3790

Test Plan

preview + locally

Related PRs

#3550

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Nov 23, 2020
@slorber slorber requested a review from lex111 as a code owner November 23, 2020 18:12
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 23, 2020
@netlify
Copy link

netlify bot commented Nov 23, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 9931a40

https://deploy-preview-3804--docusaurus-2.netlify.app

@github-actions
Copy link

github-actions bot commented Nov 23, 2020

Size Change: +21 B (0%)

Total Size: 154 kB

ℹ️ View Unchanged
Filename Size Change
website/build/blog/2017/12/14/introducing-docusaurus/index.html 20.7 kB +2 B (0%)
website/build/docs/introduction/index.html 180 B 0 B
website/build/index.html 5.86 kB 0 B
website/build/main.********.js 110 kB +19 B (0%)
website/build/styles.********.css 17.3 kB 0 B

compressed-size-action

Copy link
Contributor

@lex111 lex111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add such support for the search page in near future?

@netlify
Copy link

netlify bot commented Nov 23, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 17e38d3

https://deploy-preview-3804--docusaurus-2.netlify.app

@slorber
Copy link
Collaborator Author

slorber commented Nov 23, 2020

Yes @lex111 , was actually going to fill an issue because the search page does not respect Algolia site config

@slorber slorber merged commit f1bed8d into master Nov 23, 2020
@lex111 lex111 added this to the v2.0.0-alpha.69 milestone Nov 23, 2020
@slorber slorber deleted the slorber/contextualSearchFilters branch August 17, 2021 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v2] allow defining additional filters for algolia when using contextualSearch
3 participants