Snowplow - Hide jitsu settings when snowplow feature flag is enabled
Problem to solve
The Jitsu fields continue to display on Admin > Settings and Project > Settings pages when the product_analytics_snowplow_support
feature flag is enabled. As a user this is confusing because I'm not sure which of the fields are applicable or not.
Screenshot
Suggested solution
Hide the Jitsu settings when product_analytics_snowplow_support
is enabled.
Implementation plan
frontend -
- Update
ee/app/views/admin/application_settings/_product_analytics.html.haml
to hide Jitsu fields whenproduct_analytics_snowplow_support
is enabled - Update
ee/app/views/admin/application_settings/_product_analytics.html.haml
to hide Snowplow related fields whenproduct_analytics_snowplow_support
is disabled - Update
ee/app/views/product_analytics/_project_settings.html.haml
to hide Jitsu fields whenproduct_analytics_snowplow_support
is enabled - Update
ee/app/views/product_analytics/_project_settings.html.haml
to hide Snowplow related fields whenproduct_analytics_snowplow_support
is disabled - Update tests in
views/admin/application_settings/general.html.haml_spec.rb:100
Edited by Robert Hunt