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 FilterBar ⇒ NP #51020

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

Move FilterBar ⇒ NP #51020

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

Deprecated the filter-bar directive

If you need to render a filter bar from angular, use the kbn-top-nav directive with the following configuration:

<kbn-top-nav
  app-name="'my-app'"
  show-search-bar="true"
  show-filter-bar="true"
  show-save-query="false"
  show-date-picker="false"

  filters="filters"
  on-filters-updated="updateFilters"
  index-patterns="[indexPattern]"
>
</kbn-top-nav>

Move FilterBar React component to NP

The FilterBar component is now available by importing from the data plugin.

import { FilterBar } from '../../../plugins/data/public';

Move filter related utilities to NP

  • IDataPluginServices ⇒ import from data
  • getDisplayValueFromFilterdata.utils
  • buildCustomFilteresFilters.buildCustomFilter
  • buildFilteresFilters.buildFilter
  • getFilterParamsesFilters.getFilterParams
  • getIndexPatternFromFilterutils.getIndexPatternFromFilter
  • getQueryDslFromFilter ⇒ replaced with esFilters.cleanFIlter
  • isFilterable ⇒ import from data
@elasticmachine
Copy link
Contributor

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

@lizozom lizozom self-assigned this Nov 20, 2019
@lizozom lizozom added the release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. label Nov 21, 2019
@lizozom lizozom closed this as completed Dec 9, 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