UI Settings should be disabled when elasticsearch is not available#8764
UI Settings should be disabled when elasticsearch is not available#8764spalger merged 6 commits intoelastic:masterfrom
Conversation
src/ui/settings/index.js
Outdated
|
|
||
| function setStatus() { | ||
| if (!kbnServer.config.get('plugins.initialize')) { | ||
| status.disabled('Disabled because plugins are disabled'); |
There was a problem hiding this comment.
Nice! Didn't realize this existed
src/ui/settings/index.js
Outdated
| } | ||
|
|
||
| function setStatus() { | ||
| if (!kbnServer.config.get('plugins.initialize')) { |
There was a problem hiding this comment.
We should probably move this check to the top of the mixin so that we don't expose the API or really do anything when we are disabled.
|
Good call! Changes made. |
|
Checking |
|
I agree that using Perhaps we could add a |
How does this work on normal server startup then? Or is there a race condition where this error might get thrown on normal server startup? If so, how does uisettings get re-enabled once the ES plugin becomes available? |
|
On normal server startup the uiSettings exposes it's API and then waits for the server to finish initialization. Once initialization is complete the Now, if we wanted to prevent the uiSettings module from going red in a specific situation, like in the optimizer half of the dev server, we could additionally pass the |
|
@spalger and I chatted and we agreed implementing |
|
Does that mean we shouldn't be doing the status.disabled when it's disabled, and just "short-circuiting" and not setting up the uiSettings module? |
|
I think that |
in response to matt's comment that relying on `plugins.initialize` is kinda dirty (with which we all agree) we're adding an undocumented config value that the dev cli can use to put prevent the optimizr server from logging meaningless warnings
|
There are 27 failing tests on this PR: |
tylersmalley
left a comment
There was a problem hiding this comment.
LGTM, though it would be amazing if we could get some documentation for uiSettings.enabled as it's bound to bring up questions in the future.
--------- **Commit 1:** UI Settings disabled when plugins.initialize is false * Original sha: c6f90e2 * Authored by = <brandon.kobel@elastic.co> on 2016-10-19T20:47:05Z **Commit 2:** Moving where we're disabling the ui settings * Original sha: e66c7e7 * Authored by = <brandon.kobel@elastic.co> on 2016-10-19T21:22:52Z **Commit 3:** [server/uiSettings] add enabled config in response to matt's comment that relying on `plugins.initialize` is kinda dirty (with which we all agree) we're adding an undocumented config value that the dev cli can use to put prevent the optimizr server from logging meaningless warnings * Original sha: 40ffd12 * Authored by spalger <email@spalger.com> on 2016-10-19T23:24:55Z **Commit 4:** [server/uiSettings] react to missing elasticsearch plugin * Original sha: 7feacf6 * Authored by spalger <email@spalger.com> on 2016-10-19T23:26:44Z **Commit 5:** [server/uiSettings] fix da tests * Original sha: c2d7d01 * Authored by spalger <email@spalger.com> on 2016-10-19T23:36:11Z **Commit 6:** [server/uiSettings] document enabled config * Original sha: f9bd154 * Authored by Spencer <spalger@users.noreply.github.com> on 2016-10-19T23:52:28Z * Committed by GitHub <noreply@github.com> on 2016-10-19T23:52:28Z
--------- **Commit 1:** UI Settings disabled when plugins.initialize is false * Original sha: c6f90e2 * Authored by = <brandon.kobel@elastic.co> on 2016-10-19T20:47:05Z **Commit 2:** Moving where we're disabling the ui settings * Original sha: e66c7e7 * Authored by = <brandon.kobel@elastic.co> on 2016-10-19T21:22:52Z **Commit 3:** [server/uiSettings] add enabled config in response to matt's comment that relying on `plugins.initialize` is kinda dirty (with which we all agree) we're adding an undocumented config value that the dev cli can use to put prevent the optimizr server from logging meaningless warnings * Original sha: 40ffd12 * Authored by spalger <email@spalger.com> on 2016-10-19T23:24:55Z **Commit 4:** [server/uiSettings] react to missing elasticsearch plugin * Original sha: 7feacf6 * Authored by spalger <email@spalger.com> on 2016-10-19T23:26:44Z **Commit 5:** [server/uiSettings] fix da tests * Original sha: c2d7d01 * Authored by spalger <email@spalger.com> on 2016-10-19T23:36:11Z **Commit 6:** [server/uiSettings] document enabled config * Original sha: f9bd154 * Authored by Spencer <spalger@users.noreply.github.com> on 2016-10-19T23:52:28Z * Committed by GitHub <noreply@github.com> on 2016-10-19T23:52:28Z
[backport] PR #8764 to 5.0 - UI Settings should be disabled when elasticsearch is not available
[backport] PR #8764 to 5.x - UI Settings should be disabled when elasticsearch is not available
--------- **Commit 1:** UI Settings disabled when plugins.initialize is false * Original sha: d462ebd049977d8a43b439dd2b9536f1d8b425a3 [formerly c6f90e2] * Authored by = <brandon.kobel@elastic.co> on 2016-10-19T20:47:05Z **Commit 2:** Moving where we're disabling the ui settings * Original sha: ae163ee4464bcf75f759ce97d95ebf6e22b77bb0 [formerly e66c7e7] * Authored by = <brandon.kobel@elastic.co> on 2016-10-19T21:22:52Z **Commit 3:** [server/uiSettings] add enabled config in response to matt's comment that relying on `plugins.initialize` is kinda dirty (with which we all agree) we're adding an undocumented config value that the dev cli can use to put prevent the optimizr server from logging meaningless warnings * Original sha: 89d2448797fc0c9cde3050ef952bf76ac3267f59 [formerly 40ffd12] * Authored by spalger <email@spalger.com> on 2016-10-19T23:24:55Z **Commit 4:** [server/uiSettings] react to missing elasticsearch plugin * Original sha: 9782961657aacbe576788738bcdaa48e2fadde3b [formerly 7feacf6] * Authored by spalger <email@spalger.com> on 2016-10-19T23:26:44Z **Commit 5:** [server/uiSettings] fix da tests * Original sha: 54641b772af42d1c5bb57e3a7547a9fc28432987 [formerly c2d7d01] * Authored by spalger <email@spalger.com> on 2016-10-19T23:36:11Z **Commit 6:** [server/uiSettings] document enabled config * Original sha: 766a96cab2f35a51ba6c72c472b452cf50f8b027 [formerly f9bd154] * Authored by Spencer <spalger@users.noreply.github.com> on 2016-10-19T23:52:28Z * Committed by GitHub <noreply@github.com> on 2016-10-19T23:52:28Z Former-commit-id: 533ac98
[backport] PR elastic#8764 to 5.x - UI Settings should be disabled when elasticsearch is not available Former-commit-id: 07b6453
`102.3.0` ⏩ `103.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) ## Changes [#8736](elastic/eui#8736), [#8732](elastic/eui#8732), and [#8732](elastic/eui#8732) include a number of small style tweaks `EuiResizableCollapseButton`, `EuiTitle`, and `EuiListGroupItem`. [#8756](elastic/eui#8756) and [#8744](elastic/eui#8744) rename a couple of icons: `questionInCircle` -> `question` `iInCircle` > `info` In both cases, the old name is **backwards-compatible** (unless importing directly from `assets` folder (see more in the release notes regarding that). However, the old name will eventually be deprecated as a part of a larger set of deprecations. **No action is required at this time to handle this renaming. We will issue a dedicated PR to Kibana to replace the old names with the new names in the future** [#8725](elastic/eui#8725) adds Sky Blue, Yellow, and Orange palettes to EUI's [color palettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes), as well as new tokens for Risk, Neutral, and Warning. **[Breaking change]** Please note that as part of this change, the following tokens have been renamed: `euiColorVisNeutral0` -> `euiColorVisBase0` `euiColorVisWarning0` -> `euiColorVisWarning1` The original tokens still exist, but have been updated to use new colors in a way that would be breaking. This PR updates the existing references in 0b21d2d. ## Package updates ### `@elastic/eui` ## [`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0) - Replaced `question` icon glyph ([#8756](elastic/eui#8756)) - Updated `EuiResizableCollapseButton` to use an empty button ([#8736](elastic/eui#8736)) - Added `info` icon glyph ([#8744](elastic/eui#8744)) - Removed uppercase styling from `EuiText` `h6` headings to match `EuiTitle` ([#8732](elastic/eui#8732)) - Removed heavier font weight from `xs` and `s` `EuiListGroupItem` sizes for consistency ([#8732](elastic/eui#8732)) - Updated the `font-weight` of default `EuiFilterButton` and `EuiButtonGroupButton` to `450` ([#8734](elastic/eui#8734)) - Added color pallete functions and related hooks: ([#8725](elastic/eui#8725)) - `euiPaletteSkyBlue`, `useEuiPaletteSkyBlue` - `euiPaletteYellow`, `useEuiPaletteYellow` - `euiPaletteOrange`, `useEuiPaletteOrange` - Added new tokens on `colors.vis`: ([#8725](elastic/eui#8725)) - `euiColorVisNeutral0` - `euiColorVisNeutral1` - `euiColorVisWarning1` - `euiColorVisRisk0` - `euiColorVisRisk1` - Updated the value of token `colors.vis.euiColorVisWarning0` ([#8725](elastic/eui#8725)) - Updated EuiFilterButton's `numActiveFilters` prop to accept percentage values ([#8705](elastic/eui#8705)) **Bug fixes** - Fixed visual positioning issue for notifications in `EuiHeaderSectionItemButton` ([#8736](elastic/eui#8736)) - Fixed a visual issue where `EuiCollabsibleNavItem` did not have a visible selected state ([#8736](elastic/eui#8736)) - Fixed handling of unregistered code block languages in `EuiMarkdownFormat` ([#8729](elastic/eui#8729)) **Breaking changes** - Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0` ([#8725](elastic/eui#8725)) ### `@elastic/eui-theme-borealis` ## [`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200) - Added new tokens on `colors.vis`: ([#8725](elastic/eui#8725)) - `euiColorVisNeutral0` - `euiColorVisNeutral1` - `euiColorVisWarning1` - `euiColorVisRisk0` - `euiColorVisRisk1` - Updated the value of token `colors.vis.euiColorVisWarning0` ([#8725](elastic/eui#8725)) **Bug fixes** - Fixed missing source map warnings emitted by some bundlers by excluding source maps from being published ([#8764](elastic/eui#8764)) - To align with `@elastic/eui` and many other popular packages, we made a call to not ship source maps anymore **Breaking changes** - Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0` ([#8725](elastic/eui#8725)) <!--ONMERGE {"backportTargets":["8.19","9.0"]} ONMERGE--> --------- Co-authored-by: Lene Gadewoll <lene.gadewoll@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Backport This will backport the following commits from `main` to `8.19`: - [Upgrade EUI to v103.0.0 (#223414)](#223414) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jason Stoltzfus","email":"jason.stoltzfus@elastic.co"},"sourceCommit":{"committedDate":"2025-06-17T10:16:40Z","message":"Upgrade EUI to v103.0.0 (#223414)\n\n`102.3.0` ⏩ `103.0.0`\n\n[Questions? Please see our Kibana upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n## Changes\n\n[#8736](https://github.com/elastic/eui/pull/8736),\n[#8732](https://github.com/elastic/eui/pull/8732), and\n[#8732](elastic/eui#8732) include a number of\nsmall style tweaks `EuiResizableCollapseButton`, `EuiTitle`, and\n`EuiListGroupItem`.\n\n[#8756](elastic/eui#8756) and\n[#8744](elastic/eui#8744) rename a couple of\nicons:\n\n`questionInCircle` -> `question`\n`iInCircle` > `info`\n\nIn both cases, the old name is **backwards-compatible** (unless\nimporting directly from `assets` folder (see more in the release notes\nregarding that). However, the old name will eventually be deprecated as\na part of a larger set of deprecations.\n\n**No action is required at this time to handle this renaming. We will\nissue a dedicated PR to Kibana to replace the old names with the new\nnames in the future**\n\n[#8725](elastic/eui#8725) adds Sky Blue, Yellow,\nand Orange palettes to EUI's [color\npalettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),\nas well as new tokens for Risk, Neutral, and Warning.\n\n**[Breaking change]** Please note that as part of this change, the\nfollowing tokens have been renamed:\n`euiColorVisNeutral0` -> `euiColorVisBase0`\n`euiColorVisWarning0` -> `euiColorVisWarning1`\n\nThe original tokens still exist, but have been updated to use new colors\nin a way that would be breaking. This PR updates the existing references\nin 0b21d2d.\n\n## Package updates\n\n### `@elastic/eui`\n\n## [`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)\n\n- Replaced `question` icon glyph\n([#8756](https://github.com/elastic/eui/pull/8756))\n- Updated `EuiResizableCollapseButton` to use an empty button\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Added `info` icon glyph\n([#8744](https://github.com/elastic/eui/pull/8744))\n- Removed uppercase styling from `EuiText` `h6` headings to match\n`EuiTitle` ([#8732](https://github.com/elastic/eui/pull/8732))\n- Removed heavier font weight from `xs` and `s` `EuiListGroupItem` sizes\nfor consistency ([#8732](https://github.com/elastic/eui/pull/8732))\n- Updated the `font-weight` of default `EuiFilterButton` and\n`EuiButtonGroupButton` to `450`\n([#8734](https://github.com/elastic/eui/pull/8734))\n- Added color pallete functions and related hooks:\n([#8725](https://github.com/elastic/eui/pull/8725))\n - `euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`\n - `euiPaletteYellow`, `useEuiPaletteYellow`\n - `euiPaletteOrange`, `useEuiPaletteOrange`\n- Added new tokens on `colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n - `euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n - `euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n- Updated the value of token `colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n- Updated EuiFilterButton's `numActiveFilters` prop to accept percentage\nvalues ([#8705](https://github.com/elastic/eui/pull/8705))\n\n**Bug fixes**\n\n- Fixed visual positioning issue for notifications in\n`EuiHeaderSectionItemButton`\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed a visual issue where `EuiCollabsibleNavItem` did not have a\nvisible selected state\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed handling of unregistered code block languages in\n`EuiMarkdownFormat` ([#8729](https://github.com/elastic/eui/pull/8729))\n\n**Breaking changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n### `@elastic/eui-theme-borealis`\n\n##\n[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)\n\n- Added new tokens on `colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n - `euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n - `euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n- Updated the value of token `colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n**Bug fixes**\n\n- Fixed missing source map warnings emitted by some bundlers by\nexcluding source maps from being published\n([#8764](https://github.com/elastic/eui/pull/8764))\n- To align with `@elastic/eui` and many other popular packages, we made\na call to not ship source maps anymore\n\n**Breaking changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n\n\n---------\n\nCo-authored-by: Lene Gadewoll <lene.gadewoll@elastic.co>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"61ea2f398f8f8e2dcac7f36719557f6999ef6e9b","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","EUI","ci:cloud-deploy","Team:obs-ux-infra_services","backport:version","v9.1.0","v8.19.0"],"title":"Upgrade EUI to v103.0.0","number":223414,"url":"https://github.com/elastic/kibana/pull/223414","mergeCommit":{"message":"Upgrade EUI to v103.0.0 (#223414)\n\n`102.3.0` ⏩ `103.0.0`\n\n[Questions? Please see our Kibana upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n## Changes\n\n[#8736](https://github.com/elastic/eui/pull/8736),\n[#8732](https://github.com/elastic/eui/pull/8732), and\n[#8732](elastic/eui#8732) include a number of\nsmall style tweaks `EuiResizableCollapseButton`, `EuiTitle`, and\n`EuiListGroupItem`.\n\n[#8756](elastic/eui#8756) and\n[#8744](elastic/eui#8744) rename a couple of\nicons:\n\n`questionInCircle` -> `question`\n`iInCircle` > `info`\n\nIn both cases, the old name is **backwards-compatible** (unless\nimporting directly from `assets` folder (see more in the release notes\nregarding that). However, the old name will eventually be deprecated as\na part of a larger set of deprecations.\n\n**No action is required at this time to handle this renaming. We will\nissue a dedicated PR to Kibana to replace the old names with the new\nnames in the future**\n\n[#8725](elastic/eui#8725) adds Sky Blue, Yellow,\nand Orange palettes to EUI's [color\npalettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),\nas well as new tokens for Risk, Neutral, and Warning.\n\n**[Breaking change]** Please note that as part of this change, the\nfollowing tokens have been renamed:\n`euiColorVisNeutral0` -> `euiColorVisBase0`\n`euiColorVisWarning0` -> `euiColorVisWarning1`\n\nThe original tokens still exist, but have been updated to use new colors\nin a way that would be breaking. This PR updates the existing references\nin 0b21d2d.\n\n## Package updates\n\n### `@elastic/eui`\n\n## [`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)\n\n- Replaced `question` icon glyph\n([#8756](https://github.com/elastic/eui/pull/8756))\n- Updated `EuiResizableCollapseButton` to use an empty button\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Added `info` icon glyph\n([#8744](https://github.com/elastic/eui/pull/8744))\n- Removed uppercase styling from `EuiText` `h6` headings to match\n`EuiTitle` ([#8732](https://github.com/elastic/eui/pull/8732))\n- Removed heavier font weight from `xs` and `s` `EuiListGroupItem` sizes\nfor consistency ([#8732](https://github.com/elastic/eui/pull/8732))\n- Updated the `font-weight` of default `EuiFilterButton` and\n`EuiButtonGroupButton` to `450`\n([#8734](https://github.com/elastic/eui/pull/8734))\n- Added color pallete functions and related hooks:\n([#8725](https://github.com/elastic/eui/pull/8725))\n - `euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`\n - `euiPaletteYellow`, `useEuiPaletteYellow`\n - `euiPaletteOrange`, `useEuiPaletteOrange`\n- Added new tokens on `colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n - `euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n - `euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n- Updated the value of token `colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n- Updated EuiFilterButton's `numActiveFilters` prop to accept percentage\nvalues ([#8705](https://github.com/elastic/eui/pull/8705))\n\n**Bug fixes**\n\n- Fixed visual positioning issue for notifications in\n`EuiHeaderSectionItemButton`\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed a visual issue where `EuiCollabsibleNavItem` did not have a\nvisible selected state\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed handling of unregistered code block languages in\n`EuiMarkdownFormat` ([#8729](https://github.com/elastic/eui/pull/8729))\n\n**Breaking changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n### `@elastic/eui-theme-borealis`\n\n##\n[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)\n\n- Added new tokens on `colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n - `euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n - `euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n- Updated the value of token `colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n**Bug fixes**\n\n- Fixed missing source map warnings emitted by some bundlers by\nexcluding source maps from being published\n([#8764](https://github.com/elastic/eui/pull/8764))\n- To align with `@elastic/eui` and many other popular packages, we made\na call to not ship source maps anymore\n\n**Breaking changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n\n\n---------\n\nCo-authored-by: Lene Gadewoll <lene.gadewoll@elastic.co>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"61ea2f398f8f8e2dcac7f36719557f6999ef6e9b"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/223414","number":223414,"mergeCommit":{"message":"Upgrade EUI to v103.0.0 (#223414)\n\n`102.3.0` ⏩ `103.0.0`\n\n[Questions? Please see our Kibana upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n## Changes\n\n[#8736](https://github.com/elastic/eui/pull/8736),\n[#8732](https://github.com/elastic/eui/pull/8732), and\n[#8732](elastic/eui#8732) include a number of\nsmall style tweaks `EuiResizableCollapseButton`, `EuiTitle`, and\n`EuiListGroupItem`.\n\n[#8756](elastic/eui#8756) and\n[#8744](elastic/eui#8744) rename a couple of\nicons:\n\n`questionInCircle` -> `question`\n`iInCircle` > `info`\n\nIn both cases, the old name is **backwards-compatible** (unless\nimporting directly from `assets` folder (see more in the release notes\nregarding that). However, the old name will eventually be deprecated as\na part of a larger set of deprecations.\n\n**No action is required at this time to handle this renaming. We will\nissue a dedicated PR to Kibana to replace the old names with the new\nnames in the future**\n\n[#8725](elastic/eui#8725) adds Sky Blue, Yellow,\nand Orange palettes to EUI's [color\npalettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),\nas well as new tokens for Risk, Neutral, and Warning.\n\n**[Breaking change]** Please note that as part of this change, the\nfollowing tokens have been renamed:\n`euiColorVisNeutral0` -> `euiColorVisBase0`\n`euiColorVisWarning0` -> `euiColorVisWarning1`\n\nThe original tokens still exist, but have been updated to use new colors\nin a way that would be breaking. This PR updates the existing references\nin 0b21d2d.\n\n## Package updates\n\n### `@elastic/eui`\n\n## [`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)\n\n- Replaced `question` icon glyph\n([#8756](https://github.com/elastic/eui/pull/8756))\n- Updated `EuiResizableCollapseButton` to use an empty button\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Added `info` icon glyph\n([#8744](https://github.com/elastic/eui/pull/8744))\n- Removed uppercase styling from `EuiText` `h6` headings to match\n`EuiTitle` ([#8732](https://github.com/elastic/eui/pull/8732))\n- Removed heavier font weight from `xs` and `s` `EuiListGroupItem` sizes\nfor consistency ([#8732](https://github.com/elastic/eui/pull/8732))\n- Updated the `font-weight` of default `EuiFilterButton` and\n`EuiButtonGroupButton` to `450`\n([#8734](https://github.com/elastic/eui/pull/8734))\n- Added color pallete functions and related hooks:\n([#8725](https://github.com/elastic/eui/pull/8725))\n - `euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`\n - `euiPaletteYellow`, `useEuiPaletteYellow`\n - `euiPaletteOrange`, `useEuiPaletteOrange`\n- Added new tokens on `colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n - `euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n - `euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n- Updated the value of token `colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n- Updated EuiFilterButton's `numActiveFilters` prop to accept percentage\nvalues ([#8705](https://github.com/elastic/eui/pull/8705))\n\n**Bug fixes**\n\n- Fixed visual positioning issue for notifications in\n`EuiHeaderSectionItemButton`\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed a visual issue where `EuiCollabsibleNavItem` did not have a\nvisible selected state\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed handling of unregistered code block languages in\n`EuiMarkdownFormat` ([#8729](https://github.com/elastic/eui/pull/8729))\n\n**Breaking changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n### `@elastic/eui-theme-borealis`\n\n##\n[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)\n\n- Added new tokens on `colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n - `euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n - `euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n- Updated the value of token `colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n**Bug fixes**\n\n- Fixed missing source map warnings emitted by some bundlers by\nexcluding source maps from being published\n([#8764](https://github.com/elastic/eui/pull/8764))\n- To align with `@elastic/eui` and many other popular packages, we made\na call to not ship source maps anymore\n\n**Breaking changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n\n\n---------\n\nCo-authored-by: Lene Gadewoll <lene.gadewoll@elastic.co>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"61ea2f398f8f8e2dcac7f36719557f6999ef6e9b"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
Resolves the console error being logged on startup and plugin installation: