-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[maps] fix Maps don't display darktheme when user has dark theme enabled in profile #158219
Conversation
Pinging @elastic/kibana-presentation (Team:Presentation) |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally 👍. Code looks good to me.
…led in profile (elastic#158219) Fixes elastic#158050 PR updates `getIsDarkMode` to read value from theme$ instead of UiSettings, since UiSettings does not contain profile theming. Part of elastic#158201 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit bb1cf66)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…e enabled in profile (#158219) (#158272) # Backport This will backport the following commits from `main` to `8.8`: - [[maps] fix Maps don't display darktheme when user has dark theme enabled in profile (#158219)](#158219) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2023-05-23T14:33:41Z","message":"[maps] fix Maps don't display darktheme when user has dark theme enabled in profile (#158219)\n\nFixes https://github.com/elastic/kibana/issues/158050\r\n\r\nPR updates `getIsDarkMode` to read value from theme$ instead of\r\nUiSettings, since UiSettings does not contain profile theming. Part of\r\nhttps://github.com//issues/158201\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"bb1cf6609a4cf5c8208318b803f6a7cdc0f2e913","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","Feature:Maps","v8.9.0","v8.8.1"],"number":158219,"url":"https://github.com/elastic/kibana/pull/158219","mergeCommit":{"message":"[maps] fix Maps don't display darktheme when user has dark theme enabled in profile (#158219)\n\nFixes https://github.com/elastic/kibana/issues/158050\r\n\r\nPR updates `getIsDarkMode` to read value from theme$ instead of\r\nUiSettings, since UiSettings does not contain profile theming. Part of\r\nhttps://github.com//issues/158201\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"bb1cf6609a4cf5c8208318b803f6a7cdc0f2e913"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/158219","number":158219,"mergeCommit":{"message":"[maps] fix Maps don't display darktheme when user has dark theme enabled in profile (#158219)\n\nFixes https://github.com/elastic/kibana/issues/158050\r\n\r\nPR updates `getIsDarkMode` to read value from theme$ instead of\r\nUiSettings, since UiSettings does not contain profile theming. Part of\r\nhttps://github.com//issues/158201\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"bb1cf6609a4cf5c8208318b803f6a7cdc0f2e913"}},{"branch":"8.8","label":"v8.8.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
…led in profile (elastic#158219) Fixes elastic#158050 PR updates `getIsDarkMode` to read value from theme$ instead of UiSettings, since UiSettings does not contain profile theming. Part of elastic#158201 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Those changes didn't make it into the latest BC8 of |
Fixes #158050
PR updates
getIsDarkMode
to read value from theme$ instead of UiSettings, since UiSettings does not contain profile theming. Part of #158201