-
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
add per space configuration to custom header banner #94449
Changes from 25 commits
7faf18e
14739df
50b4dc1
eedff07
4afec76
28b08a5
559509f
42ad72e
574f8e4
0c5172f
9313585
fda3ffc
26f8272
847e0f2
a7b6abf
085d401
506a9e3
2745d03
707ea3b
4b6a76e
0570ea1
2ac2bea
2ce561a
f43168b
14c33b6
3f90c42
0c8b881
ceea04a
07206ea
f39965b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -209,6 +209,27 @@ from *{stack-monitor-app}*. | |||||
Turns off all unnecessary animations in the {kib} UI. Refresh the page to apply | ||||||
the changes. | ||||||
|
||||||
[float] | ||||||
[[kibana-banners-settings]] | ||||||
==== Banners | ||||||
|
||||||
[horizontal] | ||||||
[[banners-placement]]`banners:placement`:: | ||||||
Set to `Top` to display a banner above the Elastic header. Defaults to the value of | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
the `xpack.banners.placement` configuration property. | ||||||
|
||||||
[[banners-textcontent]]`banners:textContent`:: | ||||||
The text to display inside the banner for this space, either plain text or Markdown. | ||||||
Defaults to the value of the `xpack.banners.textContent` configuration property. | ||||||
|
||||||
[[banners-textcolor]]`banners:textColor`:: | ||||||
The color for the banner text for this space. Defaults to the value of | ||||||
the `xpack.banners.textColor` configuration property. | ||||||
|
||||||
[[banners-backgroundcolor]]`banners:backgroundColor`:: | ||||||
The color of the banner background for this space. Defaults to the value of | ||||||
the `xpack.banners.backgroundColor` configuration property. | ||||||
|
||||||
[float] | ||||||
[[kibana-dashboard-settings]] | ||||||
==== Dashboard | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,19 @@ Banners are disabled by default. You need to manually configure them in order to | |
|
||
You can configure the `xpack.banners` settings in your `kibana.yml` file. | ||
|
||
[NOTE] | ||
==== | ||
Banners are a https://www.elastic.co/subscriptions[subscription feature]. | ||
==== | ||
|
||
[[general-banners-settings-kb]] | ||
==== General banner settings | ||
|
||
[cols="2*<"] | ||
|=== | ||
|
||
| `xpack.banners.placement` | ||
| Set to `header` to enable the header banner. Defaults to `disabled`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You'll also need to add documentation about the Banner settings to the Advanced Settings page. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. WDYT about 14c33b6? |
||
| Set to `top` to display a banner above the Elastic header. Defaults to `disabled`. | ||
|
||
| `xpack.banners.textContent` | ||
| The text to display inside the banner, either plain text or Markdown. | ||
|
@@ -27,9 +32,7 @@ You can configure the `xpack.banners` settings in your `kibana.yml` file. | |
| `xpack.banners.backgroundColor` | ||
| The color of the banner background. Defaults to `#FFF9E8`. | ||
|
||
|=== | ||
| `xpack.banners.disableSpaceBanners` | ||
| If true, per-space banner overrides will be disabled. Defaults to `false`. | ||
|
||
[NOTE] | ||
==== | ||
The `banners` plugin is a https://www.elastic.co/subscriptions[subscription feature] | ||
==== | ||
|=== |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -326,6 +326,7 @@ export class Field extends PureComponent<FieldProps> { | |
<div data-test-subj={`advancedSetting-editField-${name}`}> | ||
<EuiCodeEditor | ||
{...a11yProps} | ||
name={`advancedSetting-editField-${name}-editor`} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was required for the addition of |
||
mode={type} | ||
theme="textmate" | ||
value={currentValue} | ||
|
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.
Suggest adding: Banners are a subscription feature.