Skip to content

Conversation

@danoswaltCL
Copy link
Collaborator

environment.json setup replaced by new infrastructure setup, feature-flags is permanent now so no longer needs a frontend toggle, key-value bubble is just a custom clunky debugger thing that has gone unused.

…gs no longer needs a toggle, key-value bubble is just a custom clunky debugger thing that has gone unused
@danoswaltCL danoswaltCL requested review from bcb37 and zackcl April 9, 2025 18:56
private versionService: VersionService
) {
if (this.environment.featureFlagNavToggle) {
this.addFeatureFlagsLink();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we still need the addFeatureFlagsLink() method? Doesn't look like it was called from anywhere else?

providers: [
{ provide: ENV, useValue: environment },
provideAppInitializer(() => {
const initializerFn = getEnvironmentConfig(inject(HttpClient), inject(ENV));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Both inject() and provideAppInitializer() are now unused and can be removed from the imports

Copy link
Collaborator

@bcb37 bcb37 left a comment

Choose a reason for hiding this comment

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

Just a couple nits.

@danoswaltCL danoswaltCL merged commit c85a641 into dev Apr 10, 2025
8 checks passed
@danoswaltCL danoswaltCL deleted the feature/remove-dead-code branch April 10, 2025 15:55
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.

3 participants