-
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
chore(slo): Prepare for Borealis #203495
chore(slo): Prepare for Borealis #203495
Conversation
const colors = { | ||
DEGRADING: useEuiBackgroundColor('warning'), | ||
VIOLATED: useEuiBackgroundColor('danger'), | ||
HEALTHY: useEuiBackgroundColor('success'), | ||
NO_DATA: useEuiBackgroundColor('subdued'), | ||
}; | ||
|
||
return { cardColor: colors[status ?? 'NO_DATA'], colors }; | ||
}; |
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.
Moved to x-pack/plugins/observability_solution/slo/public/pages/slos/components/card_view/hooks/use_slo_card_colors.ts and use correct colors.background tokens
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
/oblt-deploy |
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.
I don't think that we want to ship these kibana.yml
changes.
Please, remember to remove them when you're done with testing.
@@ -181,3 +181,6 @@ | |||
# Maximum number of documents loaded by each shard to generate autocomplete suggestions. | |||
# This value must be a whole number greater than zero. Defaults to 100_000 | |||
#unifiedSearch.autocomplete.valueSuggestions.terminateAfter: 100000 | |||
|
|||
|
|||
uiSettings.experimental.themeSwitcherEnabled: true |
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.
AFAIK, we shouldn't add config to the kibana.yml
. Defaults must be set via the defaultValue
in the config validation.
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.
Yes of course I will remove this. It is for allowing the designer to test the PR when deployed. Without that they can't turn on the settings...
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.
oopssss
/oblt-deploy |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
History
cc @kdelemme |
Clsoing this as I've included changes for 8.x but we can't backport the borealis change to 8.x |
Resolves #203334
🏇🏻 Summary
This PR replaces all deprecated tokens/hooks usage with the correct new values as explained in the linked issue.