[data views] Only use Data Views API to load data views #133083
Labels
Feature:Data Views
Data Views code and UI - index patterns before 8.0
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:needs-research
This issue requires some research before it can be worked on or estimated
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
technical debt
Improvement of the software architecture and operational architecture
Only the Data Views API should perform CRUD related data view operations. The follow UIs are composing their own data view like objects. Instead, they should compose
DataViewSpec
s and instantiate them withDataViews.create
.x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx
x-pack/plugins/canvas/public/lib/es_service.ts
x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.ts
x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx
x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/editor/math_completion.ts
(unifiedSearch.autocomplete.getQuerySuggestions
) - [data views][Lens] Only use Data Views API to load data views #133295The text was updated successfully, but these errors were encountered: