-
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
[ObsUX][Profiling, Infra] Add NEW badge to the Profiling tab #174242
[ObsUX][Profiling, Infra] Add NEW badge to the Profiling tab #174242
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
/ci |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
To update your PR or re-run it, just comment with: |
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
export const NewBadge = () => ( | ||
<EuiBadge color="accent"> | ||
{i18n.translate('xpack.infra.newBadgeLabel', { | ||
defaultMessage: 'NEW', |
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.
Do we really need to Uppercase it?
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 am not sure that I am the right person to decide that - I saw the profiling badge and the nav menu badge are uppercase so I tried to keep it consistent then I checked that in APM it's not 😕 So IMO if we have the same look everywhere is better but which one is better from the UX perspective (uppercase or lowercase) and how much we want to put the attention there I don't know. I would keep it like that here but we can also open a discussion with the design team and add an issue to align the labels everywhere, wdyt?
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.
LGTM, just a nit.
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#174242) Closes elastic#173156 ## Summary This PR adds a `NEW` badge to the profiling tab and changes the profiling prompt badge color to pink ## Testing The badges can be checked on the node details page and inside the host details flyout: ![image](https://github.com/elastic/kibana/assets/14139027/30f4ca24-b460-4fe9-8c2c-372e435a1c64) ![image](https://github.com/elastic/kibana/assets/14139027/423232b2-fc2e-4718-a089-180157db22da) (cherry picked from commit 1182ce6)
…174242) (#174880) # Backport This will backport the following commits from `main` to `8.12`: - [[ObsUX][Profiling, Infra] Add NEW badge to the Profiling tab (#174242)](#174242) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"jennypavlova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-01-04T16:09:09Z","message":"[ObsUX][Profiling, Infra] Add NEW badge to the Profiling tab (#174242)\n\nCloses #173156 \r\n\r\n## Summary\r\n\r\nThis PR adds a `NEW` badge to the profiling tab and changes the\r\nprofiling prompt badge color to pink\r\n\r\n## Testing\r\nThe badges can be checked on the node details page and inside the host\r\ndetails flyout:\r\n\r\n![image](https://github.com/elastic/kibana/assets/14139027/30f4ca24-b460-4fe9-8c2c-372e435a1c64)\r\n\r\n![image](https://github.com/elastic/kibana/assets/14139027/423232b2-fc2e-4718-a089-180157db22da)","sha":"1182ce678c3b190aa5172f2b473db0d84ba12f5d","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.12.0","Team:obs-ux-infra_services","v8.13.0"],"number":174242,"url":"https://github.com/elastic/kibana/pull/174242","mergeCommit":{"message":"[ObsUX][Profiling, Infra] Add NEW badge to the Profiling tab (#174242)\n\nCloses #173156 \r\n\r\n## Summary\r\n\r\nThis PR adds a `NEW` badge to the profiling tab and changes the\r\nprofiling prompt badge color to pink\r\n\r\n## Testing\r\nThe badges can be checked on the node details page and inside the host\r\ndetails flyout:\r\n\r\n![image](https://github.com/elastic/kibana/assets/14139027/30f4ca24-b460-4fe9-8c2c-372e435a1c64)\r\n\r\n![image](https://github.com/elastic/kibana/assets/14139027/423232b2-fc2e-4718-a089-180157db22da)","sha":"1182ce678c3b190aa5172f2b473db0d84ba12f5d"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/174242","number":174242,"mergeCommit":{"message":"[ObsUX][Profiling, Infra] Add NEW badge to the Profiling tab (#174242)\n\nCloses #173156 \r\n\r\n## Summary\r\n\r\nThis PR adds a `NEW` badge to the profiling tab and changes the\r\nprofiling prompt badge color to pink\r\n\r\n## Testing\r\nThe badges can be checked on the node details page and inside the host\r\ndetails flyout:\r\n\r\n![image](https://github.com/elastic/kibana/assets/14139027/30f4ca24-b460-4fe9-8c2c-372e435a1c64)\r\n\r\n![image](https://github.com/elastic/kibana/assets/14139027/423232b2-fc2e-4718-a089-180157db22da)","sha":"1182ce678c3b190aa5172f2b473db0d84ba12f5d"}}]}] BACKPORT--> Co-authored-by: jennypavlova <[email protected]>
This PR didn't make it into the latest BC for 8.12.0. Updating the labels. |
Closes #173156
Summary
This PR adds a
NEW
badge to the profiling tab and changes the profiling prompt badge color to pinkTesting
The badges can be checked on the node details page and inside the host details flyout: