mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
## Summary
Partially addresses https://github.com/elastic/kibana-team/issues/805
Follows https://github.com/elastic/kibana/pull/180003
These changes come up from searching in the code and finding where
certain kinds of deprecated AppEx-SharedUX modules are imported.
**Reviewers: Please interact with critical paths through the UI
components touched in this PR, ESPECIALLY in terms of testing dark mode
and i18n.**
This focuses on code within AppEx-SharedUX. [Reporting changes are
separate](https://github.com/elastic/kibana/pull/).
<img width="1107" alt="image"
src="
|
||
---|---|---|
.. | ||
common | ||
public | ||
server | ||
jest.config.js | ||
kibana.jsonc | ||
README.md | ||
tsconfig.json |
Kibana banners plugin
Allow to add a header banner that will be displayed on every page of the Kibana application
Configuration
The plugin's configuration prefix is xpack.banners
The options are
placement
The placement of the banner. The allowed values are:
-
disabled
- The banner will be disabled -
top
- The banner will be displayed in the header -
textContent
The text content that will be displayed inside the banner, either plain text or markdown
textColor
The color of the banner's text. Must be a valid hex color
backgroundColor
The color for the banner's background. Must be a valid hex color
Configuration example
kibana.yml
xpack.banners:
placement: 'top'
textContent: 'Production environment - Proceed with **special levels** of caution'
textColor: '#FF0000'
backgroundColor: '#CC2211'