GithubHelp home page GithubHelp logo

Comments (6)

streiman avatar streiman commented on June 1, 2024 2

Yes, that works. But it breaks a little bit the idea of a shining ui 😉

from frontend.

streiman avatar streiman commented on June 1, 2024 1

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.

from frontend.

linusg avatar linusg commented on June 1, 2024 1

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 :(

Just amend the URL's query parameters for now - ...&start=2014-12-31T23%3A00%3A00&end=2015-12-31T22%3A59%3A59&....

from frontend.

linusg avatar linusg commented on June 1, 2024

Start loading the data only when the user presses the green check mark.

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:

image

So instead of two separate date/time pickers it should probably become one explicit date/time range picker.

A functionality for bookmarks. Allow the user to tag a period and later search for tags. -> Only the mentioned period will be loaded. I personally like this functionality very much

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.
It should be a feature of the recorder and its API instead. Feel free to file an issue describing your proposal here: https://github.com/owntracks/recorder

from frontend.

AlertSubject avatar AlertSubject commented on June 1, 2024

Thank you for your reply!

Feel free to file an issue describing your proposal here: https://github.com/owntracks/recorder

Good point, I'll make sure to file an issue over there instead.

from frontend.

Tofee avatar Tofee commented on June 1, 2024

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
Maybe the integration could be simple, for someone who knows Vue.js?...

from frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.