Skip to content

Remove provider partnerships feature switches #5100

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

Merged
merged 3 commits into from
Apr 4, 2025

Conversation

inulty-dfe
Copy link
Contributor

@inulty-dfe inulty-dfe commented Mar 28, 2025

Context

We added a feature flag and many feature switches to the code so we could release ProviderPartnerships alongside the existing Enrichments implementation.

These switches need to be removed now, leaving only the Provider Partnership branches.

Some of these switches are in methods, some load different components or templates.

The remaining instances are in the routing constraint and in Provider#accredited_bodies.

The routing one will be removed when all the old controllers and view are removed.

The accredited_bodies one will be removed as above, the methods in Provider need to be refactored and I didn't want to do that in this PR.

Changes proposed in this pull request

  • Remove all accrediting provider enrichment feature switch branches
  • Leave only the code path for Provider Partnerships

Guidance to review

  • The routing constraints will be removed in a later PR

Trello

https://trello.com/c/HrBO8F7p

Checklist

  • I have moved hard-coded strings to locale files.
  • I have removed the usage of data-qa attributes in HTML files and updated the corresponding tests.

@inulty-dfe inulty-dfe force-pushed the im/remove-provider-partnerships-feature-switches branch from e159254 to 98823ac Compare March 28, 2025 13:50
@inulty-dfe inulty-dfe added the deploy A Review App will be created for PRs with this label label Mar 28, 2025
@inulty-dfe inulty-dfe changed the title Im/remove provider partnerships feature switches Remove provider partnerships feature switches Mar 28, 2025
Copy link

@inulty-dfe inulty-dfe marked this pull request as ready for review March 28, 2025 15:55
@inulty-dfe inulty-dfe requested a review from a team as a code owner March 28, 2025 15:55
  This commit only removes the places where the code switches based on
  `Settings.features.provider_partnerships`
  This includes the tests, but not routes
@inulty-dfe inulty-dfe force-pushed the im/remove-provider-partnerships-feature-switches branch from 98823ac to 3434418 Compare April 2, 2025 16:27
@inulty-dfe inulty-dfe merged commit d2ea50b into main Apr 4, 2025
33 of 34 checks passed
@inulty-dfe inulty-dfe deleted the im/remove-provider-partnerships-feature-switches branch April 4, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy A Review App will be created for PRs with this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants