-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Update date/time picker to only load data on confirmation #43
Comments
That sounds reasonable. In the meantime you can set the start and end date in the URL before loading it. You can also create a browser bookmark with the specific start and end date if you wish to view that same period later. I like the Grafana time range picker for example: So instead of two separate date/time pickers it should probably become one explicit date/time range picker.
That's a great idea IMO but I'd prefer to not implement this in the frontend - that would mean that 1) it only persists in the browser you're currently using and 2) other parts of the OwnTracks ecosystem can't use it. |
Thank you for your reply!
Good point, I'll make sure to file an issue over there instead. |
I just installed owntracks and the frontend. And I also imported my Google location data since 2013. But it is impossible to view i.e. March 2015 because the frontend tries to load a lot of data the moment I select the start date and the website stalls :( I also would like to have some predefined buttons like the "Now" in the datepicker: toda, yesterday, this week, this month. That would be great. And if you select "today" it would be super handy to have navigation buttons to switch from day to day - but maybe this is more related to timeline view. |
Just amend the URL's query parameters for now - |
Yes, that works. But it breaks a little bit the idea of a shining ui 😉 |
I second the need for a date range picker. I don't know anything about Vue, but what about using something like this ? https://github.com/mengxiong10/vue2-datepicker |
If you select a period of time that is already a long time ago, the loading time is extended by the fact that the program immediately loads all data. Even before the user confirms the specified period.
So if the user selects a time period that starts more than a year ago, the program loads the entire last year. This leads to a crash of the tab.
Suggestions:
Thanks!
The text was updated successfully, but these errors were encountered: