-
Notifications
You must be signed in to change notification settings - Fork 88
feat(alerts): Alert effects (MTC) #583
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
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #583 +/- ##
===========================================
- Coverage 37.82% 15.82% -22.01%
===========================================
Files 315 315
Lines 17255 16085 -1170
Branches 5267 4894 -373
===========================================
- Hits 6527 2545 -3982
- Misses 9315 11556 +2241
- Partials 1413 1984 +571
Continue to review full report at Codecov.
|
lib/alerts/util/index.js
Outdated
'STOP_MOVED', | ||
'OTHER_EFFECT' | ||
'OTHER_EFFECT', | ||
// Items introduced by MTC. |
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.
This comment is incorrect. These are items added in v2 of GTFS-rt: https://gtfs.org/reference/realtime/v2/#enum-effect
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.
Just pushed.
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.
Looks good, thanks. The comment needs fixing though.
Although I like that this has a target of being merged to dev and I think we should be merging to dev for all MTC branches, I'll wait and see if Landon wanted to merge it into some other random MTC branch. |
Blocked from merge. Awaiting merge/deployment on June 17, 2020. |
🎉 This PR is included in version 4.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Checklist
Description
This adds two supported service alert effects to the alerts editor (see screenshot):