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

[Lens] [ES|QL] Fixes inline documentation in cloud #177774

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Feb 25, 2024

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,

@stratoula
Copy link
Contributor Author

/ci

@stratoula stratoula changed the title Fixes inline documentation in cloud [Lens] [ES|QL] Fixes inline documentation in cloud Feb 25, 2024
@stratoula stratoula marked this pull request as ready for review February 25, 2024 11:10
@stratoula stratoula requested a review from a team as a code owner February 25, 2024 11:10
@stratoula stratoula added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting v8.13.0 v8.14.0 Feature:Lens backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:ES|QL ES|QL related features in Kibana Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 25, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
lens 1.4MB 1.4MB +4.7KB
textBasedLanguages 136.1KB 140.7KB +4.7KB
total +9.4KB

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@stratoula stratoula merged commit b4019a2 into elastic:main Feb 25, 2024
33 checks passed
@drewdaemon drewdaemon removed the backport:skip This commit does not require backporting label Feb 25, 2024
@stratoula
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.13

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

stratoula added a commit to stratoula/kibana that referenced this pull request Feb 25, 2024
## 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)
stratoula added a commit that referenced this pull request Feb 25, 2024
…177775)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Lens] [ES|QL] Fixes inline documentation in cloud
(#177774)](#177774)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-25T12:32:45Z","message":"[Lens]
[ES|QL] Fixes inline documentation in cloud (#177774)\n\n##
Summary\r\n\r\nIn the cloud distribution the documentation popovers are
not rendered\r\ncorrectly (ES|QL and Lens) This is because the
documentation.scss file\r\nis not loaded. This happens due to the
sideEffects option.\r\n\r\nThis is happening only on production mode and
not on dev mode.\r\nYou can use this a la carte instance for testing or
create your
own\r\nhttps://stratoula-pr-177774-fix-documentation-in-cloud.kbndev.co/\r\n\r\n###
How to test\r\nOpen the ES|QL inline documentation or the Lens formula
inline\r\ndocumentation,","sha":"b4019a2e5c40131adf811530dddc8f6c6ac8d915","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:prev-minor","Feature:ES|QL","v8.13.0","v8.14.0"],"number":177774,"url":"https://github.com/elastic/kibana/pull/177774","mergeCommit":{"message":"[Lens]
[ES|QL] Fixes inline documentation in cloud (#177774)\n\n##
Summary\r\n\r\nIn the cloud distribution the documentation popovers are
not rendered\r\ncorrectly (ES|QL and Lens) This is because the
documentation.scss file\r\nis not loaded. This happens due to the
sideEffects option.\r\n\r\nThis is happening only on production mode and
not on dev mode.\r\nYou can use this a la carte instance for testing or
create your
own\r\nhttps://stratoula-pr-177774-fix-documentation-in-cloud.kbndev.co/\r\n\r\n###
How to test\r\nOpen the ES|QL inline documentation or the Lens formula
inline\r\ndocumentation,","sha":"b4019a2e5c40131adf811530dddc8f6c6ac8d915"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177774","number":177774,"mergeCommit":{"message":"[Lens]
[ES|QL] Fixes inline documentation in cloud (#177774)\n\n##
Summary\r\n\r\nIn the cloud distribution the documentation popovers are
not rendered\r\ncorrectly (ES|QL and Lens) This is because the
documentation.scss file\r\nis not loaded. This happens due to the
sideEffects option.\r\n\r\nThis is happening only on production mode and
not on dev mode.\r\nYou can use this a la carte instance for testing or
create your
own\r\nhttps://stratoula-pr-177774-fix-documentation-in-cloud.kbndev.co/\r\n\r\n###
How to test\r\nOpen the ES|QL inline documentation or the Lens formula
inline\r\ndocumentation,","sha":"b4019a2e5c40131adf811530dddc8f6c6ac8d915"}}]}]
BACKPORT-->
semd pushed a commit to semd/kibana that referenced this pull request Mar 4, 2024
## 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,
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
## 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,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:ES|QL ES|QL related features in Kibana Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.13.0 v8.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants