Skip to content

chore: Removed feature flags that are not in use#1546

Merged
qcdyx merged 12 commits intomainfrom
594-remove-feature-flags-that-are-not-in-use
Jan 14, 2026
Merged

chore: Removed feature flags that are not in use#1546
qcdyx merged 12 commits intomainfrom
594-remove-feature-flags-that-are-not-in-use

Conversation

@qcdyx
Copy link
Copy Markdown
Contributor

@qcdyx qcdyx commented Jan 9, 2026

Summary:

Closes #594

Expected behavior:

After this PR is merged, feature flags will be removed in DEV, QA, and Prod environments.

Testing tips:

Provide tips, procedures and sample files on how to test the feature.
Testers are invited to follow the tips AND to try anything they deem relevant outside the bounds of the testing tips.

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

  • Run the unit tests with ./scripts/api-tests.sh 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)

@qcdyx qcdyx linked an issue Jan 9, 2026 that may be closed by this pull request
@davidgamez
Copy link
Copy Markdown
Member

We can add to the list of flags to remove:

  • enableFeedSubmissionStepper
  • enableFeatureFilterSearch
  • enableIsOfficialFilterSearch
  • gbfsValidator

cc: @emmambd

@qcdyx qcdyx marked this pull request as draft January 12, 2026 17:30
@qcdyx qcdyx marked this pull request as ready for review January 14, 2026 14:15
qcdyx added 2 commits January 14, 2026 09:26
….com:MobilityData/mobility-feed-api into 594-remove-feature-flags-that-are-not-in-use
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 14, 2026

*Lighthouse ran on https://mobility-feeds-dev--pr-1546-7xkwebxn.web.app/ * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 76 🟢 100 🟢 100 🟢 100

*Lighthouse ran on https://mobility-feeds-dev--pr-1546-7xkwebxn.web.app/feeds * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 84 🟢 91 🟢 100 🟢 100

*Lighthouse ran on https://mobility-feeds-dev--pr-1546-7xkwebxn.web.app/feeds/gtfs/mdb-2126 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 73 🔴 0 🟢 93 🟢 100

*Lighthouse ran on https://mobility-feeds-dev--pr-1546-7xkwebxn.web.app/feeds/gtfs_rt/mdb-2585 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 89 🟠 87 🟢 100 🟢 100

*Lighthouse ran on https://mobility-feeds-dev--pr-1546-7xkwebxn.web.app/gbfs/gbfs-flamingo_porirua * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 99 🟢 100 🟢 100 🟢 100

@github-actions
Copy link
Copy Markdown

Preview Firebase Hosting URL: https://mobility-feeds-dev--pr-1546-7xkwebxn.web.app

Comment on lines 134 to -138
gbfs: false,
};
if (config.enableGbfsInSearchPage) {
checkedFeedTypes.gbfs = checkboxData[2].checked;
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

GBFS no longer appears in the Search Filters, on line 126 add gbfs: checkboxData[2].checked;

Comment thread web-app/src/app/screens/Feeds/index.tsx Outdated
md={2}
sx={{
minWidth: config.enableFeatureFilterSearch ? '275px' : '220px',
minWidth: '220px',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

since enableFeatureFilterSearch is removed and assumed to always be true, the value should be 275px

Comment on lines -82 to -89
if (config.enableGbfsInSearchPage) {
dataTypesCheckboxData.push({
title: t('common:gbfs'),
checked: selectedFeedTypes.gbfs,
type: 'checkbox',
});
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same for this, this removed gbfs. add it to dataTypesCheckboxData under gtfsRt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Copy Markdown
Contributor

@Alessandro100 Alessandro100 left a comment

Choose a reason for hiding this comment

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

looks go to me, nice stuff ✅

@qcdyx qcdyx merged commit c93c074 into main Jan 14, 2026
4 checks passed
@qcdyx qcdyx deleted the 594-remove-feature-flags-that-are-not-in-use branch January 14, 2026 16:25
@qcdyx
Copy link
Copy Markdown
Contributor Author

qcdyx commented Feb 23, 2026

Unused feature flags have been removed from prod.

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.

Remove feature flags that are not in use

3 participants