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

Move SavedQuery ⇒ NP #51024

Closed
4 tasks done
lizozom opened this issue Nov 19, 2019 · 1 comment
Closed
4 tasks done

Move SavedQuery ⇒ NP #51024

lizozom opened this issue Nov 19, 2019 · 1 comment
Assignees
Labels
Feature:NP Migration release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.6.0 v8.0.0

Comments

@lizozom
Copy link
Contributor

lizozom commented Nov 19, 2019

Summary

Dev Docs

Saved Query Service

Saved query service is now available on the data plugin's query start contract.

class MyPlugin {
    public start(core: CoreStart, { data }: MyPluginDependencies) {
        const allSavedQueries = data.query.savedQueries.getAllSavedQueries()
    }
}
  

Saved Query UI Components

The Saved Query management UI components can be imported from data plugin directly.

   import { SavedQueryManagementComponent, SaveQueryForm } from '../../plugins/data/public';

SavedQueryManagementComponent

image

SaveQueryForm

image

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@lizozom lizozom added the release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. label Nov 28, 2019
@lizozom lizozom self-assigned this Dec 2, 2019
@lizozom lizozom closed this as completed Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:NP Migration release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.6.0 v8.0.0
Projects
None yet
Development

No branches or pull requests

2 participants