Skip to content

Update InstructionView to consume turn lane data from sub BannerText#1440

Merged
danesfeder merged 1 commit into
masterfrom
dan-instruction
Oct 23, 2018
Merged

Update InstructionView to consume turn lane data from sub BannerText#1440
danesfeder merged 1 commit into
masterfrom
dan-instruction

Conversation

@danesfeder
Copy link
Copy Markdown
Contributor

The final piece to the InstructionView BannerInstructions puzzle. Previously, we were gathering turn lane data from the RouteProgress every update and waiting to show them based on duration remaining on the step.

This PR removes that logic, as the turn lane data is provided via the sub() BannerText.

ezgif com-crop

@danesfeder danesfeder added this to the 0.22.0 milestone Oct 19, 2018
@danesfeder danesfeder self-assigned this Oct 19, 2018
Copy link
Copy Markdown
Contributor

@Guardiola31337 Guardiola31337 left a comment

Choose a reason for hiding this comment

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

Great work here @danesfeder 💪

Other than one minor comment, this looks great to me 🚀

* If true, update the "then" maneuver and the "then" step text.
* If false, hide the then layout.
*
* @param subText to determine if the then step layout should be shown
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What about adding the new @param or removing the Javadoc completely?

@danesfeder danesfeder merged commit 0a8b705 into master Oct 23, 2018
@danesfeder danesfeder deleted the dan-instruction branch October 23, 2018 14:53
@danesfeder danesfeder mentioned this pull request Oct 24, 2018
11 tasks
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.

2 participants