Skip to content

[Inventory][ECO] filter by type on grid#193875

Merged
cauemarcondes merged 2 commits intoelastic:mainfrom
cauemarcondes:eco-filter-by-entity-type-on-table
Sep 25, 2024
Merged

[Inventory][ECO] filter by type on grid#193875
cauemarcondes merged 2 commits intoelastic:mainfrom
cauemarcondes:eco-filter-by-entity-type-on-table

Conversation

@cauemarcondes
Copy link
Copy Markdown
Contributor

@cauemarcondes cauemarcondes commented Sep 24, 2024

closes #192669

Screen.Recording.2024-09-24.at.15.mp4

@cauemarcondes cauemarcondes added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor v8.16.0 labels Sep 24, 2024
@cauemarcondes cauemarcondes requested a review from a team September 24, 2024 14:11
@botelastic botelastic Bot added the ci:project-deploy-observability Create an Observability project label Sep 24, 2024
@obltmachine
Copy link
Copy Markdown

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

onFilter: () => void;
}

export function BadgeFilterWithPopover({ property, value, onFilter, label }: Props) {
Copy link
Copy Markdown
Contributor

@kpatticha kpatticha Sep 25, 2024

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?

Copy link
Copy Markdown
Contributor Author

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sense, thanks

Copy link
Copy Markdown
Contributor

@kpatticha kpatticha left a 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

@cauemarcondes cauemarcondes enabled auto-merge (squash) September 25, 2024 10:04
@kibana-ci
Copy link
Copy Markdown

kibana-ci commented Sep 25, 2024

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #3 / When using CommandExecutionOutput component should show long running hint message if pending and >15s have passed

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
inventory 189 190 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
inventory 143.3KB 145.0KB +1.7KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@cauemarcondes cauemarcondes deleted the eco-filter-by-entity-type-on-table branch September 25, 2024 13:01
kibanamachine added a commit that referenced this pull request Sep 25, 2024
# 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":"55978943+cauemarcondes@users.noreply.github.com"},"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 <55978943+cauemarcondes@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes v8.16.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Inventory] filter by entity type component

5 participants