mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Dashboard] Services abstraction (#139145)
* Service abstraction for data service * Remove unnecessary files * Fix jest tests for new data service * Service abstraction for HTTP service + fix Jest tests * Services abstraction for visualizations service * Services abstraction for data views editor service * Services abstraction for spaces service * Services abstraction for settings service * Remove more unnecessary files + clean up imports * Add theme to new settings service + fix imports * Services abstraction for overlays service * Services abstraction for navigation service * Services abstraction for chrome service * Services abstraction for embeddable service + fix Jest tests * Services abstraction for notifications service * Services abstraction for dashboard capabilities service * Remove unecessary context provider * Services abstraction for screenshot mode service * Services abstraction for url forwarding service * Services abstraction for share service * Services abstraction for usage collection service * Another round of code cleanup * Services abstraction for initializer context service * Clean up more unecessary files * Services abstraction for application service * Remove duplicated saved object client service * Services abstraction for saved objects service * Services abstraction for saved objects tagging service * Services abstraction for dashboard session storage service * Services abstraction for core context service * Clean up initializer context code * Refactor to create singular no data page context service * Create and use dashboard mount context provider * Clean up + abstraction for docs link service * Remove dashboard container services * Temporarily revert back to deprecated fullscreen button * Remove PlaceholderEmbeddableServices + more code clean up * More code clean up * Clean up plugin code * Investigated possibly flaky test - doesn't actually seem to be flaky * Update snapshot for new services * Clean up actions code * Clean up dashboard container code * Add to documentation links service to remove type casting * Address feedback * Undo move of services in dashboard container factory
This commit is contained in:
parent
d02cd07d2c
commit
138f2cda0d
192 changed files with 3440 additions and 2782 deletions
|
@ -27,10 +27,20 @@ exports[`should render BoundaryIndexExpression 1`] = `
|
|||
"clearCache": [MockFunction],
|
||||
"createField": [MockFunction],
|
||||
"createFieldList": [MockFunction],
|
||||
"ensureDefaultDataView": [MockFunction],
|
||||
"ensureDefaultIndexPattern": [MockFunction],
|
||||
"find": [MockFunction],
|
||||
"get": [MockFunction],
|
||||
"getCanSaveSync": [MockFunction],
|
||||
"getDefaultDataView": [MockFunction],
|
||||
"getDefaultId": [MockFunction],
|
||||
"getFieldsForIndexPattern": [MockFunction],
|
||||
"getIdsWithTitle": [MockFunction],
|
||||
"hasData": Object {
|
||||
"hasDataView": [MockFunction],
|
||||
"hasESData": [MockFunction],
|
||||
"hasUserDataView": [MockFunction],
|
||||
},
|
||||
"make": [Function],
|
||||
}
|
||||
}
|
||||
|
@ -104,10 +114,20 @@ exports[`should render EntityIndexExpression 1`] = `
|
|||
"clearCache": [MockFunction],
|
||||
"createField": [MockFunction],
|
||||
"createFieldList": [MockFunction],
|
||||
"ensureDefaultDataView": [MockFunction],
|
||||
"ensureDefaultIndexPattern": [MockFunction],
|
||||
"find": [MockFunction],
|
||||
"get": [MockFunction],
|
||||
"getCanSaveSync": [MockFunction],
|
||||
"getDefaultDataView": [MockFunction],
|
||||
"getDefaultId": [MockFunction],
|
||||
"getFieldsForIndexPattern": [MockFunction],
|
||||
"getIdsWithTitle": [MockFunction],
|
||||
"hasData": Object {
|
||||
"hasDataView": [MockFunction],
|
||||
"hasESData": [MockFunction],
|
||||
"hasUserDataView": [MockFunction],
|
||||
},
|
||||
"make": [Function],
|
||||
}
|
||||
}
|
||||
|
@ -187,10 +207,20 @@ exports[`should render EntityIndexExpression w/ invalid flag if invalid 1`] = `
|
|||
"clearCache": [MockFunction],
|
||||
"createField": [MockFunction],
|
||||
"createFieldList": [MockFunction],
|
||||
"ensureDefaultDataView": [MockFunction],
|
||||
"ensureDefaultIndexPattern": [MockFunction],
|
||||
"find": [MockFunction],
|
||||
"get": [MockFunction],
|
||||
"getCanSaveSync": [MockFunction],
|
||||
"getDefaultDataView": [MockFunction],
|
||||
"getDefaultId": [MockFunction],
|
||||
"getFieldsForIndexPattern": [MockFunction],
|
||||
"getIdsWithTitle": [MockFunction],
|
||||
"hasData": Object {
|
||||
"hasDataView": [MockFunction],
|
||||
"hasESData": [MockFunction],
|
||||
"hasUserDataView": [MockFunction],
|
||||
},
|
||||
"make": [Function],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue