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

[Discover] Add kibana services provider for embeddable #121621

Merged

Conversation

dimaanj
Copy link
Contributor

@dimaanj dimaanj commented Dec 20, 2021

Summary

Fixes #121183

This PR adds kibana services provider for embeddable.

@dimaanj dimaanj added Feature:Discover Discover Application release_note:fix v8.1.0 Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) v7.17.0 labels Dec 20, 2021
@dimaanj dimaanj self-assigned this Dec 20, 2021
@dimaanj dimaanj added this to PRs in Discover via automation Dec 20, 2021
@dimaanj dimaanj marked this pull request as ready for review December 20, 2021 11:03
@dimaanj dimaanj requested a review from a team as a code owner December 20, 2021 11:03
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@dimaanj
Copy link
Contributor Author

dimaanj commented Dec 20, 2021

@elasticmachine merge upstream

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

This PR fixes the bug 👍 tested and confirmed in Safari, MacOS. Could you add a functional test for it? we need to back port this. many thx. BTW about functional testing of the expand functionality, I'm currently working on making an existing test unflaky #107311
This test wouldn't cover the expand functionality on a dashboard, but it can be used as a template to not having to reinvent the wheel :)

@dimaanj
Copy link
Contributor Author

dimaanj commented Dec 23, 2021

@elasticmachine merge upstream

@dimaanj dimaanj added the technical debt Improvement of the software architecture and operational architecture label Dec 29, 2021
@dimaanj
Copy link
Contributor Author

dimaanj commented Dec 30, 2021

@elasticmachine merge upstream

@dimaanj dimaanj removed the technical debt Improvement of the software architecture and operational architecture label Dec 30, 2021
@kertal
Copy link
Member

kertal commented Jan 4, 2022

@elasticmachine merge upstream

@kertal kertal added the v8.0.0 label Jan 5, 2022
@dimaanj
Copy link
Contributor Author

dimaanj commented Jan 10, 2022

@elasticmachine merge upstream

@dimaanj dimaanj requested a review from kertal January 10, 2022 11:46
Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

LGTM, didn't test again, but there was just a functional test added, thx a lot for it 👍

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

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
discover 330.6KB 330.7KB +67.0B

History

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

cc @dmitriynj

@kertal kertal added the auto-backport Deprecated: Automatically backport this PR after it's merged label Jan 10, 2022
@dimaanj dimaanj merged commit f5aa068 into elastic:main Jan 10, 2022
Discover automation moved this from PRs to Done Jan 10, 2022
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.0 Backport failed because of merge conflicts
7.17 Backport failed because of merge conflicts

How to fix

Re-run the backport manually:

node scripts/backport --pr 121621

Questions ?

Please refer to the Backport tool documentation

dimaanj added a commit to dimaanj/kibana that referenced this pull request Jan 11, 2022
* [Discover] add kibana services provider for embeddable

* [Discover] add functional test

* [Discover] fix functional test

* [Discover] fix data grid test

* [Discover] go to discover main page before each test

* [Discover] remove redundant navigation to discover

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f5aa068)

# Conflicts:
#	src/plugins/discover/public/application/embeddable/saved_search_grid.tsx
dimaanj added a commit to dimaanj/kibana that referenced this pull request Jan 11, 2022
* [Discover] add kibana services provider for embeddable

* [Discover] add functional test

* [Discover] fix functional test

* [Discover] fix data grid test

* [Discover] go to discover main page before each test

* [Discover] remove redundant navigation to discover

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f5aa068)

# Conflicts:
#	src/plugins/discover/public/application/embeddable/saved_search_grid.tsx
gbamparop pushed a commit to gbamparop/kibana that referenced this pull request Jan 12, 2022
* [Discover] add kibana services provider for embeddable

* [Discover] add functional test

* [Discover] fix functional test

* [Discover] fix data grid test

* [Discover] go to discover main page before each test

* [Discover] remove redundant navigation to discover

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 12, 2022
dimaanj added a commit that referenced this pull request Jan 13, 2022
#122702)

* [Discover] Add kibana services provider for embeddable (#121621)

* [Discover] add kibana services provider for embeddable

* [Discover] add functional test

* [Discover] fix functional test

* [Discover] fix data grid test

* [Discover] go to discover main page before each test

* [Discover] remove redundant navigation to discover

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f5aa068)

# Conflicts:
#	src/plugins/discover/public/application/embeddable/saved_search_grid.tsx

* [Discover] fix imports

* [Discover] return data grid expand action

* [Discover] fix functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
dimaanj added a commit that referenced this pull request Jan 13, 2022
… (#122701)

* [Discover] Add kibana services provider for embeddable (#121621)

* [Discover] add kibana services provider for embeddable

* [Discover] add functional test

* [Discover] fix functional test

* [Discover] fix data grid test

* [Discover] go to discover main page before each test

* [Discover] remove redundant navigation to discover

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f5aa068)

# Conflicts:
#	src/plugins/discover/public/application/embeddable/saved_search_grid.tsx

* [Discover] fix imports

* [Discover] return data grid expand action

* [Discover] fix functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated: Automatically backport this PR after it's merged Feature:Discover Discover Application release_note:fix Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) v7.17.0 v8.0.0 v8.1.0
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Interacting with a cell on a 'Discovery' pane in a dashboard results in a blank page being displayed
5 participants