-
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
[Logs onboarding] custom logs - configure logs #157008
[Logs onboarding] custom logs - configure logs #157008
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💔 Build FailedFailed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
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.
just a few things, not really blockers.
.replace(/[\\\/]/, ''); | ||
const filenameParts = filenameWithExt.split('.'); | ||
|
||
return replaceSpecialChars(filenameParts[0]); |
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.
we could probably just use the node path
module instead:
import path from 'path';
const { name } = path.parse(filepath); // `name` is the basename without the extension
}, | ||
'.euiFormLabel > .euiFlexGroup > div:last-of-type': { | ||
fontWeight: 'normal', | ||
color: euiThemeVars.euiTextSubduedColor, |
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.
We should probably use:
import { useEuiTheme } from '@elastic/eui';
...
const { euiTheme } = useEuiTheme();
and then set
{ color: euiTheme.colors.subduedText }
Color values in euiThemeVars
are not always the same as the EUI colors. In this case, dev tools shows the colors to be slightly off:
euiTheme.colors.subduedText: #81858f
euiThemeVars.euiTextSubduedColor: #7a7f89
This Pr is a follow up of [PR#157008](#157008) and [PR#157147](#157147). Changes: 1. Replaced usage of `euiThemeVars` by `useEuiTheme` and `useEuiFontSize`. 2. e2e cloudId following [cloud plugin format](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud#cloudid).
This Pr is a follow up of [PR#157008](#157008) and [PR#157147](#157147). Changes: 1. Replaced usage of `euiThemeVars` by `useEuiTheme` and `useEuiFontSize`. 2. e2e cloudId following [cloud plugin format](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud#cloudid).
Closes #155964.
Screen.Recording.2023-05-09.at.11.43.46.mov