Skip to content

[Maps] unmount map embeddable component on destroy#45183

Merged
nreese merged 1 commit intoelastic:masterfrom
nreese:embeddable_destroy
Sep 10, 2019
Merged

[Maps] unmount map embeddable component on destroy#45183
nreese merged 1 commit intoelastic:masterfrom
nreese:embeddable_destroy

Conversation

@nreese
Copy link
Contributor

@nreese nreese commented Sep 9, 2019

Fixes bug where map embeddable component was not getting properly unmounted when the embeddable is destroyed.

To test, place break point at https://github.com/elastic/kibana/blob/master/x-pack/legacy/plugins/maps/public/connected_components/gis_map/view.js#L50 and verify componentWillUnmount is called

@nreese nreese added release_note:fix Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 v7.4.0 v7.5.0 labels Sep 9, 2019
@nreese nreese requested a review from kindsun September 9, 2019 19:10
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@nickpeihl nickpeihl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

tested in chrome by deleting viz from dashboard and ensuring componentWillUnmount is called at suggested breakpoint

Copy link
Contributor

@kindsun kindsun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

  • code review
  • tested in chrome

@nreese
Copy link
Contributor Author

nreese commented Sep 9, 2019

jenkins, test this

1 similar comment
@nreese
Copy link
Contributor Author

nreese commented Sep 10, 2019

jenkins, test this

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@nreese nreese merged commit e2ea56d into elastic:master Sep 10, 2019
nreese added a commit to nreese/kibana that referenced this pull request Sep 10, 2019
nreese added a commit to nreese/kibana that referenced this pull request Sep 10, 2019
jloleysens added a commit to jloleysens/kibana that referenced this pull request Sep 10, 2019
…-to-np-ready

* 'master' of github.com:elastic/kibana: (138 commits)
  [Canvas] i18n work on workpad header (and a few header CTAs) and convert to typescript (elastic#44943)
  update close/delete system index modals (elastic#45037)
  TS return type of createIndexPatternSelect (elastic#45107)
  [ML] Fix focus chart updating. (elastic#45146)
  [ML] Data frame transform: Fix progress in wizard create step. (elastic#45116)
  [Graph] Re-enable functional test (elastic#44683)
  [SIEM] unique table id for each top talkers table (elastic#45014)
  [SIEM] ip details heading draggable (elastic#45179)
  [Maps][File upload] Set complete on index pattern creation (elastic#44423)
  [Maps] unmount map embeddable component on destroy (elastic#45183)
  [SIEM] Adds error toasts to MapEmbeddable component (elastic#45088)
  fix redirect to maintain search query string (elastic#45184)
  [APM] One-line trace summary (elastic#44842)
  [Infra UI] Display non-metric details on Node Detail page (elastic#43551)
  [Maps][File upload] Removing bbox from parsed file pending upstream lib fix (elastic#45194)
  [Logs UI] Improve live streaming behavior when scrolling (elastic#44923)
  [APM] Fix indefinite loading state in agent settings for unauthorized user roles (elastic#44970)
  [Reporting] Rewrite addForceNowQuerystring to getFullUrls (elastic#44851)
  [Reporting/ESQueue] Improve logging of doc-update events (elastic#45077)
  [Reporting] Make screenshot capture less noisy by default (elastic#45185)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:fix Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v7.4.0 v7.5.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants