Repository navigation
Add method to re-link visualizations with missing index-pattern - #132336
Conversation
|
@elasticmachine merge upstream |
|
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
|
@elasticmachine merge upstream |
| this.data.indexPattern = new DataView({ | ||
| spec: { | ||
| id: state.data.searchSource?.index, | ||
| type: 'fallback', |
There was a problem hiding this comment.
I'm pretty sure this is not what type is meant for - it's to capture rollup vs regular data views?
There was a problem hiding this comment.
What about using the default data view instead if we need to fill in something?
There was a problem hiding this comment.
I just understood you used this trick to get "Data view not found" into the picker. It seems like we should take a more stable approach for that. What do you think @stratoula ?
There was a problem hiding this comment.
ok. updated that to more legal way
flash1293
left a comment
There was a problem hiding this comment.
Tested and works fine for me. LGTM!
|
@elasticmachine merge upstream |
|
@elastic/kibana-app-services please have a look |
ppisljar
left a comment
There was a problem hiding this comment.
app services changes LGTM
|
@elastic/kibana-presentation please have a look |
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Public APIs missing exports
Page load bundle
History
To update your PR or re-run it, just comment with: cc @alexwizp |
…tic#132336) * Add method to re-link visualizations with missing index-pattern * fix CI * push some updates * fix navigation to TSVB * remove 'fallback' type from DataView Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Closes: #127203
Summary
This PR modifies the logic so that the user can open a classic visualization with a broken data view without navigating to the
Listing PageA custom
EmbeddableErrorhas also been added to emulate the behavior in LensScreen
Screen.Recording.2022-05-18.at.2.30.14.PM.mov