[Canvas] Fix reports embeddables#93482
Merged
crob611 merged 3 commits intoelastic:masterfrom Mar 4, 2021
Merged
Conversation
added 2 commits
March 2, 2021 16:54
Contributor
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
poffdeluxe
approved these changes
Mar 4, 2021
| embeddablesRegistry[uniqueId].reload(); | ||
| const embeddable = embeddablesRegistry[uniqueId]; | ||
|
|
||
| if ('updateInput' in embeddable) { |
Contributor
There was a problem hiding this comment.
it would be cool if there was a nicer way to check to see if this was a promise or something but it'll work for now
Contributor
Author
There was a problem hiding this comment.
Yeah agree with that. It's probably not a great practice for something to be thing or promise and instead just let it always be the promise? I dunno but agree it's worth revisiting.
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
💚 Build SucceededMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
kibanamachine
added a commit
to kibanamachine/kibana
that referenced
this pull request
Mar 4, 2021
* wip * WIP Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Contributor
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Mar 4, 2021
* master: (107 commits) [Logs UI] Fix log stream data fetching (elastic#93201) [App Search] Added relevance tuning search preview (elastic#93054) [Canvas] Fix reports embeddables (elastic#93482) [ILM] Added new functional test in ILM for creating a new policy (elastic#92936) Remove direct dependency on statehood package (elastic#93592) [Maps] Track tile loading status (elastic#91585) [Discover][Doc] Improve main documentation (elastic#91854) [Upgrade Assistant] Disable UA and add prompt (elastic#92834) [Snapshot Restore] Remove cloud validation for slm policy (elastic#93609) [Maps] Support GeometryCollections in GeoJson upload (elastic#93507) [XY Charts] fix partial histogram endzones annotations (elastic#93091) [Core] Simplify context typings (elastic#93579) [Alerting] Improving health status check (elastic#93282) [Discover] Restore context documentation (elastic#90784) [core-docs] Edits core-intro section for the new docs system (elastic#93540) add missed codeowners (elastic#89714) fetch node labels via script execution (elastic#93225) [Security Solution] Adds getMockTheme function (elastic#92840) Sort dependencies in package.json correctly (elastic#93590) [Bug] missing timepicker:quickRanges migration (elastic#93409) ...
kibanamachine
added a commit
that referenced
this pull request
Mar 4, 2021
This was referenced Aug 24, 2021
crob611
pushed a commit
to crob611/kibana
that referenced
this pull request
Aug 24, 2021
* wip * WIP Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
crob611
pushed a commit
to crob611/kibana
that referenced
this pull request
Aug 24, 2021
* wip * WIP Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
crob611
pushed a commit
to crob611/kibana
that referenced
this pull request
Aug 24, 2021
* wip * WIP Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
crob611
pushed a commit
that referenced
this pull request
Aug 24, 2021
crob611
pushed a commit
that referenced
this pull request
Aug 24, 2021
crob611
pushed a commit
that referenced
this pull request
Aug 25, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Maps in reports were having issues and it appears to be from repeated creation/add to dom of the embeddable.
This PR makes it so when an embeddable is being created, it won't try to re-create if the initial creation isn't done.