orama icon indicating copy to clipboard operation
orama copied to clipboard

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

Open rhuanbarreto opened this issue 10 months ago • 2 comments

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

rhuanbarreto avatar Feb 12 '25 11:02 rhuanbarreto

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

micheleriva avatar Feb 12 '25 13:02 micheleriva

Sure! I'll take a look asap.

raiindev avatar Feb 12 '25 14:02 raiindev