Skip to content

Fix turn-by-turn UI voice instructions repeated after a config change#1622

Merged
Guardiola31337 merged 1 commit into
masterfrom
pg-route-update-turn-by-turn-ui
Dec 12, 2018
Merged

Fix turn-by-turn UI voice instructions repeated after a config change#1622
Guardiola31337 merged 1 commit into
masterfrom
pg-route-update-turn-by-turn-ui

Conversation

@Guardiola31337
Copy link
Copy Markdown
Contributor

  • Fixes updateRoute in turn-by-turn UI (NavigationViewModel) to be called only if navigation is not running (first time / once) or if it is off route - preventing setting new routes unnecessarily which ended up in announcing voice instructions already announced

@Guardiola31337 Guardiola31337 added this to the v0.25.0 milestone Dec 11, 2018
@Guardiola31337 Guardiola31337 self-assigned this Dec 11, 2018
@Guardiola31337 Guardiola31337 force-pushed the pg-route-update-turn-by-turn-ui branch from 7af0050 to 6a087a4 Compare December 11, 2018 20:50
@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 11, 2018

Codecov Report

Merging #1622 into master will increase coverage by 0.13%.
The diff coverage is 45.16%.

@@             Coverage Diff              @@
##             master    #1622      +/-   ##
============================================
+ Coverage     23.58%   23.71%   +0.13%     
- Complexity      728      735       +7     
============================================
  Files           193      194       +1     
  Lines          8276     8281       +5     
  Branches        609      608       -1     
============================================
+ Hits           1952     1964      +12     
+ Misses         6139     6132       -7     
  Partials        185      185

Copy link
Copy Markdown
Contributor

@danesfeder danesfeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Guardiola31337 thanks for the refactoring and tests here! ✅

…led only if navigation is not running (first time / once) or if it is off route - preventing setting new routes unnecessarily which ended up in announcing voice instructions already announced
@Guardiola31337 Guardiola31337 force-pushed the pg-route-update-turn-by-turn-ui branch from 6a087a4 to 7bf9017 Compare December 12, 2018 14:42
@Guardiola31337 Guardiola31337 merged commit a7b2da2 into master Dec 12, 2018
@Guardiola31337 Guardiola31337 deleted the pg-route-update-turn-by-turn-ui branch December 12, 2018 15:07
@danesfeder danesfeder mentioned this pull request Dec 16, 2018
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Defect to be fixed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants