-
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
[Inventory][ECO] filter by type on grid #193875
[Inventory][ECO] filter by type on grid #193875
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
...ion/inventory/public/components/badge_filter_with_popover/badge_filter_with_popover.test.tsx
Show resolved
Hide resolved
...ugins/observability_solution/inventory/public/components/badge_filter_with_popover/index.tsx
Outdated
Show resolved
Hide resolved
...ugins/observability_solution/inventory/public/components/badge_filter_with_popover/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/inventory/public/components/entities_grid/index.tsx
Outdated
Show resolved
Hide resolved
onFilter: () => void; | ||
} | ||
|
||
export function BadgeFilterWithPopover({ property, value, onFilter, label }: Props) { |
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 can't reuse the component from logs explorer?
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.
That one used in the logs explorer belongs to the Discover plugin. I won't drag myself into refactoring that into a shareable place, at least not for now.
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.
make sense, thanks
...ugins/observability_solution/inventory/public/components/badge_filter_with_popover/index.tsx
Show resolved
Hide resolved
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.
Overall looks good to me. Thanks for adding the tests. Added some nits and comments
💛 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: |
💚 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`: - [[Inventory][ECO] filter by type on grid (#193875)](#193875) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Cauê Marcondes","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-25T11:40:12Z","message":"[Inventory][ECO] filter by type on grid (#193875)\n\ncloses https://github.com/elastic/kibana/issues/192669\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d8c51a63-6783-4a9c-a785-83004489cd5d","sha":"475fd6c2021ffc79e91afae05fa6793f42a4bb6a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","v8.16.0"],"title":"[Inventory][ECO] filter by type on grid","number":193875,"url":"https://github.com/elastic/kibana/pull/193875","mergeCommit":{"message":"[Inventory][ECO] filter by type on grid (#193875)\n\ncloses https://github.com/elastic/kibana/issues/192669\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d8c51a63-6783-4a9c-a785-83004489cd5d","sha":"475fd6c2021ffc79e91afae05fa6793f42a4bb6a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193875","number":193875,"mergeCommit":{"message":"[Inventory][ECO] filter by type on grid (#193875)\n\ncloses https://github.com/elastic/kibana/issues/192669\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d8c51a63-6783-4a9c-a785-83004489cd5d","sha":"475fd6c2021ffc79e91afae05fa6793f42a4bb6a"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Cauê Marcondes <[email protected]>
closes #192669
Screen.Recording.2024-09-24.at.15.mp4