-
Notifications
You must be signed in to change notification settings - Fork 417
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
Timeline error in epic "setIsIntervalData" #8346
Comments
@tdipisa Problem is caused because the Occurrences
Solution I will provide fix as part this issue itself. |
@ale-cristofori do you see any cons in what proposed by @dsuren1 above? |
@tdipisa @dsuren1 no, but I would refactor the epic with two epics to keep concerns separated. the one that listens for the one that listens for MapStore2/web/client/epics/playback.js Line 369 in 13d6dea
|
@ale-cristofori How should we pick the layer to be used in this scenario, should we go with the first layer instead? |
@dsuren1 if the purpose is to avoid the request being fired with export const setIsIntervalData = (action$, { getState = () => { } } = {}) =>
action$.ofType(SET_CURRENT_TIME, SELECT_LAYER)
.filter(({layerId}) => layerId || selectedLayerSelector(getState()))
.switchMap(({time: actionTime}) => getTimeIsInterval(actionTime, getState)); But maybe I am missing something. Let me know |
@ale-cristofori Kindly let me know if I can proceed with it. |
@dsuren1, sorry I typed that response yesterday, end of working day and I re-thought about it this morning. You can proceed with it, I tested and it seems the specific error is gone |
Co-authored-by: Suren <[email protected]>
Description
How to reproduce
Expected Result
We should fix the error and verify why is it not able to compute the result for the setIsIntervalData flow
Current Result
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
map for testing
timeline-map.zip
The text was updated successfully, but these errors were encountered: