Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-render react component when vis.params are updated #12347

Merged
merged 1 commit into from
Jun 15, 2017

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Jun 14, 2017

stageEditorParams really helps, thanks. Now react editors can be stateless!!! - with the state being managed by vis_options. The only missing link is to re-render the component when the state changes. This PR fixes that.

If you are worried about performance, it should not be a problem. ngReact does the same thing. Any time the props change, ngReact calls render again.For more information about re-rendering react components.

@ppisljar ppisljar merged commit 075c42b into elastic:feature/visualize Jun 15, 2017
ppisljar added a commit that referenced this pull request Jun 26, 2017
fixing tests

fixing tsvb auto apply button

fix tsvb resizing issue

update scope.$apply for react editor components

re-render react component when vis.params are updated (#12347)

fixing heatmap

remove obsolete maps_renderbot indirection

remove cruft/ remove custom resizing and hook into global event

fixing brush event

fixing resize event for vislib_vis_type

fixing legend

changing based on nathans review
ppisljar added a commit that referenced this pull request Jun 29, 2017
fixing tests

fixing tsvb auto apply button

fix tsvb resizing issue

update scope.$apply for react editor components

re-render react component when vis.params are updated (#12347)

fixing heatmap

remove obsolete maps_renderbot indirection

remove cruft/ remove custom resizing and hook into global event

fixing brush event

fixing resize event for vislib_vis_type

fixing legend

changing based on nathans review
thomasneirynck pushed a commit that referenced this pull request Jul 4, 2017
fixing tests

fixing tsvb auto apply button

fix tsvb resizing issue

update scope.$apply for react editor components

re-render react component when vis.params are updated (#12347)

fixing heatmap

remove obsolete maps_renderbot indirection

remove cruft/ remove custom resizing and hook into global event

fixing brush event

fixing resize event for vislib_vis_type

fixing legend

changing based on nathans review
ppisljar added a commit that referenced this pull request Jul 7, 2017
fixing tests

fixing tsvb auto apply button

fix tsvb resizing issue

update scope.$apply for react editor components

re-render react component when vis.params are updated (#12347)

fixing heatmap

remove obsolete maps_renderbot indirection

remove cruft/ remove custom resizing and hook into global event

fixing brush event

fixing resize event for vislib_vis_type

fixing legend

changing based on nathans review
ppisljar added a commit that referenced this pull request Jul 7, 2017
* converting Vis to es6 class

* <visualize>, <visualization> and <visualization-editor>

* editor, responseHandler and requestHandler registries

* updating visualize editor app

* vis, default editor, request handlers and vis types

* updating vis types

* updating kibana to work with new visualize

* migrating existing visualizations

* fixing bugs with rebase

fixing tests

fixing tsvb auto apply button

fix tsvb resizing issue

update scope.$apply for react editor components

re-render react component when vis.params are updated (#12347)

fixing heatmap

remove obsolete maps_renderbot indirection

remove cruft/ remove custom resizing and hook into global event

fixing brush event

fixing resize event for vislib_vis_type

fixing legend

changing based on nathans review

* fixing tests

* fixing renderComplete issues with editor

* map updates

* fixing maps zoom

* fixing based on nathans review

* fixing render complete issue and doulbe rendering with maps

* trying to get maps in order .... wip

* removing resize method from visualizations

* changing the rendering process a bit

* fixing metric chart type auto changing

* minor simplifications in coordinate map viz

* more simplications now we only have single render

* minor fixes

* do not recreate layer when not necessary

* minor changes

* fixing maps bounding box filter

* fixing desaturation option

* fix zoom settings when toggling between WMS/basemap

* adding status to the render method (to figure out what changed)

* fixing legend open icon going out of page

* skip index selection for timelion

* timelion brush fix

* fixing circular json issue

* fix faulty rebase

* fixing updateStatus

* removing timelion requesthandler registration

* removing double slash

* fixing maps

* add debug statement

* test CI with guard statement

* fixing rebase
thomasneirynck pushed a commit that referenced this pull request Jul 7, 2017
fixing tests

fixing tsvb auto apply button

fix tsvb resizing issue

update scope.$apply for react editor components

re-render react component when vis.params are updated (#12347)

fixing heatmap

remove obsolete maps_renderbot indirection

remove cruft/ remove custom resizing and hook into global event

fixing brush event

fixing resize event for vislib_vis_type

fixing legend

changing based on nathans review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants