Skip to content
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] Fix discover link #198690

Merged
merged 3 commits into from
Nov 1, 2024
Merged

Conversation

kpatticha
Copy link
Contributor

@kpatticha kpatticha commented Nov 1, 2024

Summary

closes #198533

  • filter builtin*
  • add simple e2e

@kpatticha kpatticha requested a review from a team as a code owner November 1, 2024 14:52
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Nov 1, 2024
Copy link
Contributor

github-actions bot commented Nov 1, 2024

🤖 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!)

const discoverLink = discoverLocator?.getRedirectUrl({
indexPatternId: dataView?.id ?? '',
columns: ACTIVE_COLUMNS,
query: { query: kuery ?? '', language: 'kuery' },
query: { query: kueryWithEntityDefinitionFilters, language: 'kuery' },
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note

I pass it as a kuery cause the filter doesn't support pattern linke *

@kpatticha kpatticha added backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) v8.17.0 v9.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Nov 1, 2024
Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

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

LGTM

@kpatticha kpatticha enabled auto-merge (squash) November 1, 2024 17:10
@elasticmachine
Copy link
Contributor

elasticmachine commented Nov 1, 2024

💛 Build succeeded, but was flaky

  • Buildkite Build
  • Commit: 3dda0d4
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-198690-3dda0d4afed8

Failed CI Steps

Metrics [docs]

Async chunks

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

id before after diff
inventory 230.2KB 230.2KB -49.0B

History

@kpatticha kpatticha merged commit bc80825 into elastic:main Nov 1, 2024
28 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11635812105

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 1, 2024
## Summary

closes elastic#198533

- filter `builtin*`
- add simple e2e

(cherry picked from commit bc80825)
@kibanamachine
Copy link
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

kibanamachine added a commit that referenced this pull request Nov 1, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Inventory] Fix discover link
(#198690)](#198690)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Katerina","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-01T20:21:11Z","message":"[Inventory]
Fix discover link (#198690)\n\n## Summary\r\n\r\ncloses #198533
\r\n\r\n- filter `builtin*`\r\n- add simple
e2e","sha":"bc80825cd89029282bfbdd17a916392d99663fa0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.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.17.0"],"title":"[Inventory]
Fix discover
link","number":198690,"url":"https://github.com/elastic/kibana/pull/198690","mergeCommit":{"message":"[Inventory]
Fix discover link (#198690)\n\n## Summary\r\n\r\ncloses #198533
\r\n\r\n- filter `builtin*`\r\n- add simple
e2e","sha":"bc80825cd89029282bfbdd17a916392d99663fa0"}},"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/198690","number":198690,"mergeCommit":{"message":"[Inventory]
Fix discover link (#198690)\n\n## Summary\r\n\r\ncloses #198533
\r\n\r\n- filter `builtin*`\r\n- add simple
e2e","sha":"bc80825cd89029282bfbdd17a916392d99663fa0"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Katerina <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Inventory] Open in Discover link has wrong filters
4 participants