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

[Docusaurus] Search box without cloud still displays "Get a summary" #887

Open
rhuanbarreto opened this issue Feb 12, 2025 · 2 comments
Open

Comments

@rhuanbarreto
Copy link

Describe the bug

If I install "@orama/plugin-docusaurus-v3" in Docusaurus without any options (and so without connection to Orama Cloud), my search box still shows the "Get a summary" option, which should only show if you have configured Orama cloud on it.

To Reproduce

  1. Create a docusaurus website
  2. Add just "@orama/plugin-docusaurus-v3" to the plugins array in docusaurus.config.ts. No extra configs
  3. Start the website locally
  4. Click on the search box in the top
  5. You will see the "Get a summary" option in the search box

Expected behavior

It's expected to not see the "Get a summary" option once there's no connection to the Orama cloud or to the proxy.

Environment Info

It's not environment dependent.

Affected areas

Search

Additional context

No response

@micheleriva
Copy link
Member

Hey thanks for opening this. @raiindev can you take a look please?

@raiindev
Copy link
Contributor

Sure! I'll take a look asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants