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

correct showScheduleDeviation, enable flex #1346

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

miles-grant-ibigroup
Copy link
Collaborator

showScheduleDeviation was incorrectly configured to not pull the config from the itinerary settings object. Additionally there was no flex support. This is now corrected.

Copy link
Contributor

@amy-corson-ibigroup amy-corson-ibigroup left a comment

Choose a reason for hiding this comment

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

While we're in here, can we change the example config to indicate the default for showScheduleDeviation is false

@@ -301,6 +301,8 @@ export interface ItineraryConfig {
showLegDurations?: boolean
showPlanFirstLastButtons?: boolean
showRouteFares?: boolean
/** Whether to show the x minutes late/early in the itinerary body */
Copy link
Contributor

Choose a reason for hiding this comment

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

Weird that AppConfig has these comments and ItineraryConfig doesn't, but I guess having this one be the only item with a comment doesn't really matter?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah it's the first of many in this file!

Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

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

Looks good

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.

3 participants