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

Forcing a refresh when opening calendar filter. #527

Closed

Conversation

KarolakJakub
Copy link
Contributor

@KarolakJakub KarolakJakub commented Nov 29, 2019

This covers the case when when Turnilo is opened for a longer time without auto update applied. Calendar data can be out of sync with Druid. Opening the filter tab will, now, force a refresh.

Example:
Open a Data Cube view, add Time to FILTER and make sure that Auto Update is set to OFF. Wait until Druid side data is updated - so its available time range is increased by a day. In Turnilo, click on the time filter, go to Fixed and observe the calendar - it won't reflect the actual state of the Data Cube, i.e. new time range - day from which the new data comes will be greyed out. It would make sense for the calendar component to try and get latest available timekeeper data when it's being displayed.
This will also happen with smaller time units like hours etc.

@adrianmroz
Copy link
Collaborator

What calendar data goes out of sync?

@KarolakJakub
Copy link
Contributor Author

What calendar data goes out of sync?

Available date range.

@adrianmroz
Copy link
Collaborator

Please, provide full description of the issue because I don't know what problem is this PR trying to solve.

@KarolakJakub
Copy link
Contributor Author

Apologies, extended example added to my initial comment.

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.

None yet

3 participants