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

feat(search-algolia): allow disabling search page and configuring path #6692

Merged
merged 4 commits into from Feb 16, 2022

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented Feb 16, 2022

Motivation

As was rightly pointed out earlier, the search page from the Algolia theme should be disableable like as well as its default path should be changeable.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Try to set false value for algolia.searchPage to disable search page.

Related PRs

@lex111 lex111 added the feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. label Feb 16, 2022
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Feb 16, 2022
@netlify
Copy link

netlify bot commented Feb 16, 2022

✔️ [V2]

🔨 Explore the source changes: 5920411

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/620d18ceb99ab10008e33ab5

😎 Browse the preview: https://deploy-preview-6692--docusaurus-2.netlify.app

@github-actions
Copy link

github-actions bot commented Feb 16, 2022

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 55
🟢 Accessibility 100
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 92

Lighthouse ran on https://deploy-preview-6692--docusaurus-2.netlify.app/

@Josh-Cena Josh-Cena added pr: new feature This PR adds a new API or behavior. and removed feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. labels Feb 16, 2022
@Josh-Cena Josh-Cena changed the title feat: add ability to disable search page feat(search-algolia): allow disabling search page and configuring path Feb 16, 2022
@github-actions
Copy link

github-actions bot commented Feb 16, 2022

Size Change: +47 B (0%)

Total Size: 780 kB

Filename Size Change
website/build/assets/js/main.********.js 589 kB +47 B (0%)
ℹ️ View Unchanged
Filename Size
website/.docusaurus/globalData.json 48 kB
website/build/assets/css/styles.********.css 105 kB
website/build/index.html 37.6 kB

compressed-size-action

Copy link
Collaborator

@slorber slorber left a comment

Choose a reason for hiding this comment

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

LGTM 👍 just minor TS tweaks

@lex111
Copy link
Contributor Author

lex111 commented Feb 16, 2022

Done. And yes, opensearch without the dedicated search page makes no sense.

@slorber
Copy link
Collaborator

slorber commented Feb 16, 2022

LGTM thanks 👍

@slorber slorber merged commit 53c2c11 into main Feb 16, 2022
@slorber slorber deleted the lex111/disable-search-page branch February 16, 2022 18:07
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: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants