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,

(cherry picked from commit b4019a2)
  • Loading branch information
stratoula committed Feb 25, 2024
1 parent 1a61d3c commit e98e925
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 e98e925

Please sign in to comment.