Skip to content

[5.x]: Trigger renderComplete on DOM instead of the Vis (#9176)#9183

Merged
epixa merged 1 commit intoelastic:5.xfrom
w33ble:backport/9176/5.x
Nov 23, 2016
Merged

[5.x]: Trigger renderComplete on DOM instead of the Vis (#9176)#9183
epixa merged 1 commit intoelastic:5.xfrom
w33ble:backport/9176/5.x

Conversation

@w33ble
Copy link
Copy Markdown
Contributor

@w33ble w33ble commented Nov 22, 2016

Backport of #9176

Required removing the tagcloud changes

)

* correctly use implementsRenderComplete from vis config

* set implementsRenderComplete on all vis types

* emit on DOM instead of the vis

* vis doesn't need to be an EventEmitter

* listen for renderComplete on visualize

set and update element attributes as the event(s) fire, and indicate if
they ever will

* [vislib/handler] fall through to lower return

* [vislibRenderbot/tests] reduce expected call count

* [vis/tests] add $element to test injectors

* [markdownVis] fix test
@w33ble w33ble added the review label Nov 22, 2016
@w33ble w33ble assigned ppisljar and spalger and unassigned ppisljar Nov 22, 2016
Copy link
Copy Markdown
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

LGTM

@ppisljar
Copy link
Copy Markdown
Contributor

LGTM

@epixa
Copy link
Copy Markdown
Contributor

epixa commented Nov 23, 2016

This will need to be backported to the 5.1 branch as well if you want it in that release.

@epixa epixa changed the title BACKPORT [5.x]: Trigger renderComplete on DOM instead of the Vis (#9176) [5.x]: Trigger renderComplete on DOM instead of the Vis (#9176) Nov 23, 2016
@epixa epixa merged commit 8b47723 into elastic:5.x Nov 23, 2016
elastic-jasper added a commit that referenced this pull request Nov 23, 2016
Backports PR #9183

**Commit 1:**
BACKPORT: Trigger renderComplete on DOM instead of the Vis (#9176)

* correctly use implementsRenderComplete from vis config

* set implementsRenderComplete on all vis types

* emit on DOM instead of the vis

* vis doesn't need to be an EventEmitter

* listen for renderComplete on visualize

set and update element attributes as the event(s) fire, and indicate if
they ever will

* [vislib/handler] fall through to lower return

* [vislibRenderbot/tests] reduce expected call count

* [vis/tests] add $element to test injectors

* [markdownVis] fix test

* Original sha: 7190260
* Authored by Joe Fleming <joe.fleming@gmail.com> on 2016-11-22T16:49:16Z
epixa pushed a commit that referenced this pull request Nov 23, 2016
Backports PR #9183

**Commit 1:**
BACKPORT: Trigger renderComplete on DOM instead of the Vis (#9176)

* correctly use implementsRenderComplete from vis config

* set implementsRenderComplete on all vis types

* emit on DOM instead of the vis

* vis doesn't need to be an EventEmitter

* listen for renderComplete on visualize

set and update element attributes as the event(s) fire, and indicate if
they ever will

* [vislib/handler] fall through to lower return

* [vislibRenderbot/tests] reduce expected call count

* [vis/tests] add $element to test injectors

* [markdownVis] fix test

* Original sha: 7190260
* Authored by Joe Fleming <joe.fleming@gmail.com> on 2016-11-22T16:49:16Z
thomasneirynck added a commit to thomasneirynck/kibana that referenced this pull request Dec 5, 2016
Backport of renderComplete change (elastic#9183) happened before Tagcloud was backported to 5.x/5.1. This caused a divergence in master vs 5.x/5.1 in the tag-cloud code.
thomasneirynck added a commit that referenced this pull request Dec 5, 2016
Backport of renderComplete change (#9183) happened before Tagcloud was backported to 5.x/5.1. This caused a divergence in master vs 5.x/5.1 in the tag-cloud code.
elastic-jasper added a commit that referenced this pull request Dec 5, 2016
Backports PR #9372

**Commit 1:**
Fix renderComplete backport

Backport of renderComplete change (#9183) happened before Tagcloud was backported to 5.x/5.1. This caused a divergence in master vs 5.x/5.1 in the tag-cloud code.

* Original sha: 0fa4808
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-12-05T18:29:04Z
thomasneirynck pushed a commit that referenced this pull request Dec 5, 2016
Backports PR #9372

**Commit 1:**
Fix renderComplete backport

Backport of renderComplete change (#9183) happened before Tagcloud was backported to 5.x/5.1. This caused a divergence in master vs 5.x/5.1 in the tag-cloud code.

* Original sha: 0fa4808
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-12-05T18:29:04Z
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
elastic#9203)

Backports PR elastic#9183

**Commit 1:**
BACKPORT: Trigger renderComplete on DOM instead of the Vis (elastic#9176)

* correctly use implementsRenderComplete from vis config

* set implementsRenderComplete on all vis types

* emit on DOM instead of the vis

* vis doesn't need to be an EventEmitter

* listen for renderComplete on visualize

set and update element attributes as the event(s) fire, and indicate if
they ever will

* [vislib/handler] fall through to lower return

* [vislibRenderbot/tests] reduce expected call count

* [vis/tests] add $element to test injectors

* [markdownVis] fix test

* Original sha: 7190260
* Authored by Joe Fleming <joe.fleming@gmail.com> on 2016-11-22T16:49:16Z
Former-commit-id: 67db8dd
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
Backport of renderComplete change (elastic#9183) happened before Tagcloud was backported to 5.x/5.1. This caused a divergence in master vs 5.x/5.1 in the tag-cloud code.

Former-commit-id: 75d284a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants