Repository navigation
[Line Diagram][Stop Card] Show platform names according to the same rules as the departures page - #3665
Merged
Conversation
…then filter that by the search phrase. Fixed case-sensitivity of the stop search.
…uld be called for each route, used that for the search UI on the new line diagram
…te connecting routes for each stop. Next step is to make them look good.
…onents.route_icon component. It looks okay.
…sting them kinda broke everything.
…ls. The ferry and commuter icons are smaller than the rest though....
…ons to better fit with the Green Line icons and the Text Based Bus Pills
…ive bus pill tooltips some love
… in the other variants search title
… is updated. Updated handle_params so that it recomputes the "other" stops when variant or direction changes.
…iagram/variant_stop_search
….com/mbta/dotcom into lev/line_diagram/platform_names
…iagram/platform_names # Conflicts: # lib/dotcom_web/live/line_diagram_live.ex # priv/gettext/es/LC_MESSAGES/dotcom.po # priv/gettext/fr-FR/LC_MESSAGES/dotcom.po # priv/gettext/ht/LC_MESSAGES/dotcom.po # priv/gettext/pt-BR/LC_MESSAGES/dotcom.po # priv/gettext/vi/LC_MESSAGES/dotcom.po # priv/gettext/zh-CN/LC_MESSAGES/dotcom.po # priv/gettext/zh-TW/LC_MESSAGES/dotcom.po
jlucytan
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Asana Ticket: 💈🎣 [Bus] Show platform names according to the same rules as the departures page
Implementation
Added a bit of layout and logic to use
Dotcom.ScheduleFinder.Platforms.has_platforms?when deciding whether to show@stop.platform_nameor not.Builds upon #3662 and #3640
If those are merged first then this PR should look much simpler.(✅ Done, and it does)Screenshots
How to test
http://localhost:4001/schedules/19/line_new has a good amount of stops with platform names.