Skip to content

Commit

Permalink
[Lens] [ES|QL] Fixes inline documentation in cloud (elastic#177774)
Browse files Browse the repository at this point in the history
## Summary

In the cloud distribution the documentation popovers are not rendered
correctly (ES|QL and Lens) This is because the documentation.scss file
is not loaded. This happens due to the sideEffects option.

This is happening only on production mode and not on dev mode.
You can use this a la carte instance for testing or create your own
https://stratoula-pr-177774-fix-documentation-in-cloud.kbndev.co/

### How to test
Open the ES|QL inline documentation or the Lens formula inline
documentation,
  • Loading branch information
stratoula authored and fkanout committed Mar 4, 2024
1 parent 907d526 commit 5a79fdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/kbn-language-documentation-popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"version": "1.0.0",
"license": "SSPL-1.0 OR Elastic License 2.0",
"private": true,
"sideEffects": false
"sideEffects": [
"*.scss"
]
}

0 comments on commit 5a79fdc

Please sign in to comment.