Skip to content

Fix feature flag check for productivity analytics

Adam Hegyi requested to merge fix-pa-feature-flag-check into master

What does this MR do?

This MR makes sure that we use the productivity_analytics_enabled? helper method to check if feature flag is enabled. The FF is enabled by default: it caused a bug, since the previous implementation didn't use the default_enabled key for the FeatureConstrainer when looking up the FF.

Feature.enabled?(:productivity_analytics) => false

Feature.enabled?(:productivity_analytics, default_enabled: true) => true

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Closes #34786 (closed)

Edited by Adam Hegyi

Merge request reports