-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[One Discover] Custom Service Name Cell #192381
[One Discover] Custom Service Name Cell #192381
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.tsx
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.tsx
Outdated
Show resolved
Hide resolved
/ci |
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.tsx
Outdated
Show resolved
Hide resolved
…custom-service-name-cell-renderer
/ci |
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.test.tsx
Outdated
Show resolved
Hide resolved
…thub.com/mohamedhamed-ahmed/kibana into 190456-custom-service-name-cell-renderer
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!
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.
Obs UX Infra Services changes LGMT.
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.
Code changes look good and it works well! Left a couple of small suggestions around styling that I think should be addressed, but approving now since it otherwise LGTM 👍
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.tsx
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.tsx
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.tsx
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.tsx
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.tsx
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/components/data_types/logs/service_name_badge_cell.tsx
Outdated
Show resolved
Hide resolved
…custom-service-name-cell-renderer
@davismcphee Thanks a million for the great comments, I addressed them all. |
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.
Latest changes look and work great, thanks for addressing my feedback!
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
closes elastic#190456 ## 📝 Summary This PR adds the agent icon as a prefix to the service name if an agent name is available. ## 🎥 Demo https://github.com/user-attachments/assets/4fad743a-6806-4440-91eb-fdfa35785a19 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@mohamedhamed-ahmed can you check if this needs to be backported to 8.x? |
@davismcphee wdyt? we can backport this I guess to 8.16 should we go forward with this? |
@mohamedhamed-ahmed Yes we definitely should! Missed this in my review, thanks @jbudz 👍 |
closes elastic#190456 ## 📝 Summary This PR adds the agent icon as a prefix to the service name if an agent name is available. ## 🎥 Demo https://github.com/user-attachments/assets/4fad743a-6806-4440-91eb-fdfa35785a19 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 7b3fa3a)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[One Discover] Custom Service Name Cell (#192381)](#192381) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"mohamedhamed-ahmed","email":"mohamed.ahmed@elastic.co"},"sourceCommit":{"committedDate":"2024-09-15T17:28:04Z","message":"[One Discover] Custom Service Name Cell (#192381)\n\ncloses #190456 📝 Summary\r\n\r\nThis PR adds the agent icon as a prefix to the service name if an agent\r\nname is available.\r\n\r\n## 🎥 Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/4fad743a-6806-4440-91eb-fdfa35785a19\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"7b3fa3ab100ed438bbb8f087a8d651d23378e174","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","ci:project-deploy-observability","Team:obs-ux-logs","Team:obs-ux-infra_services","Project:OneDiscover","v8.16.0","backport:version"],"title":"[One Discover] Custom Service Name Cell","number":192381,"url":"#192381 Discover] Custom Service Name Cell (#192381)\n\ncloses #190456 📝 Summary\r\n\r\nThis PR adds the agent icon as a prefix to the service name if an agent\r\nname is available.\r\n\r\n## 🎥 Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/4fad743a-6806-4440-91eb-fdfa35785a19\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"7b3fa3ab100ed438bbb8f087a8d651d23378e174"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"#192381 Discover] Custom Service Name Cell (#192381)\n\ncloses #190456 📝 Summary\r\n\r\nThis PR adds the agent icon as a prefix to the service name if an agent\r\nname is available.\r\n\r\n## 🎥 Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/4fad743a-6806-4440-91eb-fdfa35785a19\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"7b3fa3ab100ed438bbb8f087a8d651d23378e174"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: mohamedhamed-ahmed <mohamed.ahmed@elastic.co>
closes #190456
📝 Summary
This PR adds the agent icon as a prefix to the service name if an agent name is available.
🎥 Demo
ServiceNameBadge.mov