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

Feature: calculate arrival time between updates #18

Open
qistoph opened this issue Jul 25, 2020 · 3 comments
Open

Feature: calculate arrival time between updates #18

qistoph opened this issue Jul 25, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@qistoph
Copy link
Owner

qistoph commented Jul 25, 2020

The arrival time is currently only refreshed on interval updates.

An interesting idea mentioned in issue #17 is to calculate an up to date arrival time more often.

Thinks to take into account:
(suggestions welcome in comments)

  • won't work for commutes with public transport
  • maybe directions offers multiple replies for public transport that we can cache for a few minutes
@qistoph qistoph added the enhancement New feature or request label Jul 25, 2020
@requiemmg
Copy link

If not, you could restrict recalculation to non-public transport commutes.

@irsx02
Copy link

irsx02 commented Aug 6, 2020

For arrival time, is it possible to maybe turn it off? In other words, the screen would just show just the minutes till arrival, and nothing else?
ie. shows this;
[] Home 24 min
instead of
[] Home 24 min 18:24

@radokristof
Copy link

When I added this feature I also thought about this, but I think with the current design it is really hard to do this. It would be better to refactor the whole module and process each route individually (so they would update individually) which would enable us to just call a refresh every minute so that the displayed arrival time could be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants