-
Notifications
You must be signed in to change notification settings - Fork 3
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: update features for validator 6.0 #771
Conversation
@@ -104,31 +118,32 @@ export const DATASET_FEATURES: DatasetFeatures = { | |||
fileName: 'levels.txt', | |||
linkToInfo: 'https://gtfs.org/getting_started/features/pathways/#levels', | |||
}, | |||
'Traversal Time': { | |||
'In-station traversal time': { |
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.
TODO: revisit the upper / lower case of the spelling of this key
Decided to go with manually adding the
|
Preview Firebase Hosting URL: https://mobility-feeds-dev--pr-771-xr0pe191.web.app |
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.
LGTM
fileName: 'frequencies.txt', | ||
linkToInfo: | ||
'https://gtfs.org/getting_started/features/base_add-ons/#frequency-based-service ', | ||
}, | ||
}; | ||
|
||
// DEPRECATED FEATURES |
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.
👍
closes #733
Summary:
Update the Feature keys and links in the frontend to reflect the upcoming validator 6.0 release while also supporting previous versions
Expected behavior:
When going to the feed detail page of any feed, under the "Feature" section, you should be able to click on any of them and it will direct you to the correct gtfs.org page
Testing tips:
Go to any feed detail page, when you click on a feature make sure it maps correctly based on https://github.com/MobilityData/gtfs-validator/blob/master/docs/FEATURES.md
For the deprecated features (as of 6.0) they should navigate to the corresponding updated feature page
Please make sure these boxes are checked before submitting your pull request - thanks!
./scripts/api-tests.sh
to make sure you didn't break anything