-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Visualize refactor follow up #12930
Comments
moving shouldQuery out of request handler: for example courier requestHandler will only query if aggs have changed ... i think the same goes thru for responseHandlers as well, so adding some state to them would be my choice |
rename appState.vis the reason we are storing vis state here: we want everything in url (so you can forward/back and copy paste it to others) |
This ticket is a little too much of a jumble. Created new tickets to track these todos individually. |
could you link to those tickets here ? |
The refactor introduced a significant amount of changes.
Keep track here of internal changes/feedback to either tidy up or improve the code-base.
update_status
. The general-purpose serialization adds overhead. Especially for data-refreshes it's an overhead we do not need to incur. We have full-control over the backend and know when the requesthandler is called or not (and thus whether the data is refreshed). This is also buggy, as it flagged data changes where non happened (see Coordinates Map visualization re-creating geohashLayer on map move #12919).shouldQuery
logic out of the requestHandler so requestHandlers can be stateless. It would also avoid the bleeding of thevis.reload
flag into the requestHandler.appState.vis
toappState.visState
. (what is the reason we are storing this on the appState?)cc @ppisljar
The text was updated successfully, but these errors were encountered: