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

[Renderers] always include baseTheme with charts theme #145401

Merged
merged 3 commits into from
Nov 16, 2022

Conversation

drewdaemon
Copy link
Contributor

@drewdaemon drewdaemon commented Nov 16, 2022

Summary

Fix #145308

In accordance with the docs we should always provide both baseTheme and theme to the Settings component.

Before:
Screen Shot 2022-11-16 at 1 00 46 PM

After:
Screen Shot 2022-11-16 at 1 01 25 PM

@drewdaemon drewdaemon added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Nov 16, 2022
@drewdaemon drewdaemon added the backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) label Nov 16, 2022
@drewdaemon drewdaemon marked this pull request as ready for review November 16, 2022 20:33
@drewdaemon drewdaemon requested a review from a team as a code owner November 16, 2022 20:33
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@nickofthyme nickofthyme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment, otherwise LG!

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

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
expressionGauge 18.7KB 18.7KB +33.0B
expressionHeatmap 91.3KB 91.3KB +33.0B
expressionMetricVis 73.5KB 73.6KB +92.0B
total +158.0B
Unknown metric groups

ESLint disabled in files

id before after diff
osquery 1 2 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
fleet 59 65 +6
osquery 108 113 +5
securitySolution 441 447 +6
total +19

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
fleet 67 73 +6
osquery 109 115 +6
securitySolution 518 524 +6
total +20

History

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

@drewdaemon drewdaemon merged commit d82075f into elastic:main Nov 16, 2022
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 16, 2022
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.6

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 17, 2022
#145478)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[Renderers] always include baseTheme with charts theme
(#145401)](#145401)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Andrew
Tate","email":"[email protected]"},"sourceCommit":{"committedDate":"2022-11-16T23:19:26Z","message":"[Renderers]
always include baseTheme with charts theme
(#145401)","sha":"d82075f8d6178ecd197be324b75b5eb2d457b746","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","Feature:Lens","backport:prev-minor","v8.7.0"],"number":145401,"url":"https://github.com/elastic/kibana/pull/145401","mergeCommit":{"message":"[Renderers]
always include baseTheme with charts theme
(#145401)","sha":"d82075f8d6178ecd197be324b75b5eb2d457b746"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145401","number":145401,"mergeCommit":{"message":"[Renderers]
always include baseTheme with charts theme
(#145401)","sha":"d82075f8d6178ecd197be324b75b5eb2d457b746"}}]}]
BACKPORT-->

Co-authored-by: Andrew Tate <[email protected]>
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:Lens release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.6.0 v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Lens][Metric] Metric has strong white border when using dark-mode
5 participants