-
Notifications
You must be signed in to change notification settings - Fork 133
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
feat: support for new speedtram type DT-5987 + DT-5988 + DT-5989 #4840
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The stop icons in search and also on map where a speed tram went through have wrong color and icon. In an itinerary view, the tram leg has wrong color on the left side of the details.
@@ -152,6 +155,14 @@ function getIconProperties( | |||
'TRAM-digitransit', | |||
{ icon: 'search-tram-stop-digitransit', color: 'mode-tram' }, | |||
], | |||
[ | |||
'SPEEDTRAM-default', | |||
{ icon: 'search-speedtram-stop-digitransit', color: 'mode-tram' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this have custom color?
@@ -8,13 +8,16 @@ import styles from './helpers/styles.scss'; | |||
|
|||
const BUS_EXPRESS = 702; | |||
const BUS_LOCAL = 704; | |||
const SPEEDTRAM = 902; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should call this TRAM_LOCAL in code instead of SPEEDTRAM as the spelling is more inline with the BUS_LOCAL and the 902 route type refers to Local Tram Service (even though in our context it means "pikaratikka").
Proposed Changes
Pull Request Check List
Review