Skip to content

Feat: License filtering in search#11

Merged
Alessandro100 merged 2 commits intomainfrom
feat/1604-license-filtering
Feb 25, 2026
Merged

Feat: License filtering in search#11
Alessandro100 merged 2 commits intomainfrom
feat/1604-license-filtering

Conversation

@Alessandro100
Copy link
Contributor

Closes #22

Summary:

Adds Licence Search based on the PR in the original repository

https://github.com/MobilityData/mobility-feed-api/pull/1595/changes

Expected behavior:

When filtering by license, it should display the licenses in an OR method. It should also display a chip with the ability to clear it and have the license in the URL. It should also display the license in the search row

Testing tips:

Go on the feeds search page and play around with license filtering

Design Assumption

I filter / display the license exclusively by their ID as the real name is very long and cluttering. This is done with the assumption that people who will be interested in license data will be familiar with the abbreviations (ex: CC-BY-4.0).

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with yarn test to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)
Screenshot 2026-02-25 at 11 03 03

@Alessandro100 Alessandro100 self-assigned this Feb 25, 2026
@vercel
Copy link

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mobilitydatabase-web Ready Ready Preview, Comment Feb 25, 2026 4:07pm

Request Review

@github-actions
Copy link

*Lighthouse ran on https://mobilitydatabase-g5j2g0vxv-mobility-data.vercel.app/ * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 92 🟢 96 🟢 100 🟢 100

*Lighthouse ran on https://mobilitydatabase-g5j2g0vxv-mobility-data.vercel.app/feeds * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 95 🟢 96 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-g5j2g0vxv-mobility-data.vercel.app/feeds/gtfs/mdb-2126 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🔴 40 🟢 90 🟢 96 🟠 88

*Lighthouse ran on https://mobilitydatabase-g5j2g0vxv-mobility-data.vercel.app/feeds/gtfs_rt/mdb-2585 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 83 🟠 83 🟢 100 🟠 88

*Lighthouse ran on https://mobilitydatabase-g5j2g0vxv-mobility-data.vercel.app/gbfs/gbfs-flamingo_porirua * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 100 🟢 96 🟢 96 🟢 100

Copy link
Member

@davidgamez davidgamez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Alessandro100 Alessandro100 merged commit 96ec10d into main Feb 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSR: Include license filtering

2 participants