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] Fix wrong theme bug in gauges and new metric viz #137340

Merged
merged 4 commits into from
Jul 28, 2022

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Jul 27, 2022

Summary

Part of #137326

This fixes a bug that exists on gauges (released bug) and new metric (non released bug). The palette configuration flyout appears with light background on the dark mode. This is the most obvious bug. There are other things that dont appear with the dark mode look and feel but they are not so obvious.

The problem is that the toolbar and the dimension editor components are not wrapped under the theme service. This PR fixes it.

image

@stratoula stratoula added v8.4.0 v8.5.0 auto-backport Deprecated - use backport:version if exact versions are needed backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:Lens release_note:skip Skip the PR/issue when compiling release notes and removed auto-backport Deprecated - use backport:version if exact versions are needed labels Jul 28, 2022
@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.2MB 1.2MB +264.0B

History

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

@stratoula stratoula marked this pull request as ready for review July 28, 2022 09:46
@stratoula stratoula requested a review from a team as a code owner July 28, 2022 09:46
@stratoula stratoula added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Jul 28, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

Copy link
Contributor

@drewdaemon drewdaemon left a comment

Choose a reason for hiding this comment

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

Thank you!

@stratoula stratoula merged commit 2d554c0 into elastic:main Jul 28, 2022
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 28, 2022
* [Lens] Fix wrong theme bug in gauges and new metric viz

* Fix tests

(cherry picked from commit 2d554c0)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.4

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 Jul 28, 2022
…37507)

* [Lens] Fix wrong theme bug in gauges and new metric viz

* Fix tests

(cherry picked from commit 2d554c0)

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
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:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.4.0 v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants