Repository navigation
feat: add License Information to the GTFS features filter - #285
Conversation
licenses.txt was adopted into GTFS and the validator now reports a "License Information" feature. Register it under Base add-ons so it appears in the Features filter and gets the right group decoration and gtfs.org link. Closes #280 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
*Lighthouse ran on https://mobilitydatabase-aq680tywp-mobility-data.vercel.app/ * (Desktop)
*Lighthouse ran on https://mobilitydatabase-aq680tywp-mobility-data.vercel.app/feeds * (Desktop)
*Lighthouse ran on https://mobilitydatabase-aq680tywp-mobility-data.vercel.app/feeds/gtfs/mdb-2126 * (Desktop)
*Lighthouse ran on https://mobilitydatabase-aq680tywp-mobility-data.vercel.app/feeds/gtfs_rt/mdb-2585 * (Desktop)
*Lighthouse ran on https://mobilitydatabase-aq680tywp-mobility-data.vercel.app/feeds/gbfs/gbfs-flamingo_porirua * (Desktop)
|
Summary
licenses.txthas been adopted into GTFS (google/transit#607) and the validator is adding a matching License Information feature. This registers it under Base add-ons so it appears in the Features filter on the feeds search.License Informationentry toDATASET_FEATURESinsrc/app/utils/consts.tsxBase add-onslicenses.txtThe Features filter, feature chips and metrics grouping all derive from
DATASET_FEATURES, so no other changes are needed.Closes #280
Notes
License Informationships; before then the filter will match no feeds.License Information).Testing
yarn lint: 0 errorsyarn test:ci: 608/608 passingnpx tsc --noEmit: cleangroupFeaturesByComponentplacesLicense Informationin the Base add-ons group (after Attributions)🤖 Generated with Claude Code
NOTE: This feature is not included on the gtfs feature tracker just yet
Results of prod run locally
