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

Add new bus route for BNR #858

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Add new bus route for BNR #858

merged 1 commit into from
Dec 13, 2024

Conversation

PaulJKim
Copy link
Collaborator

Summary of changes

Asana Ticket: [add-on] signs config updates for BNR

Adds route 109 to the harvard upper busway as well as new audio for this route and its headsign.

@PaulJKim PaulJKim requested a review from a team as a code owner December 13, 2024 15:56
@@ -579,7 +580,8 @@ defmodule PaEss.Utilities do
{"Gallivan Blvd", "881"},
{"Brookline Ave", "885"},
{"Brookline Village", "886"},
{"Cobbs Corner Canton", "887"}
{"Cobbs Corner Canton", "887"},
{"Linden Sq", "889"}
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be the original headsign rather than the shortened one, i.e. "Linden Square"? The one above, "Cobbs Corner Canton", uses the full headsign.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The caller that references this list uses String.starts_with?/2 https://github.com/mbta/realtime_signs/blob/main/lib/pa_ess/utilities.ex#L678 so we don't need to use the original headsign. I decided to use Linden Sq to be a little more flexible in case the headsign ever happens to change for some reason and come in as the abbreviated version.

@digitalcora
Copy link
Contributor

Requesting review from @panentheos just to double-check everything is correct here!

Copy link
Collaborator

@panentheos panentheos 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!

@PaulJKim PaulJKim merged commit a2ce248 into main Dec 13, 2024
2 checks passed
@PaulJKim PaulJKim deleted the pk/bnr-config-updates branch December 13, 2024 20:33
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