Commit 87458f6c authored by Jan Provaznik's avatar Jan Provaznik

Merge branch '356601-feature-flag-cleanup-usage_data_diff_searches' into 'master'

Cleanup usage_data_diff_searches flag

See merge request gitlab-org/gitlab!84320
parents 5652c056 924b7d24
...@@ -534,10 +534,8 @@ export default { ...@@ -534,10 +534,8 @@ export default {
if (delta >= 0 && delta < 1000) { if (delta >= 0 && delta < 1000) {
this.disableVirtualScroller(); this.disableVirtualScroller();
if (window.gon?.features?.usageDataDiffSearches) { api.trackRedisHllUserEvent('i_code_review_user_searches_diff');
api.trackRedisHllUserEvent('i_code_review_user_searches_diff'); api.trackRedisCounterEvent('diff_searches');
api.trackRedisCounterEvent('diff_searches');
}
} }
} }
}); });
......
...@@ -47,7 +47,6 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo ...@@ -47,7 +47,6 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
# Usage data feature flags # Usage data feature flags
push_frontend_feature_flag(:users_expanding_widgets_usage_data, project, default_enabled: :yaml) push_frontend_feature_flag(:users_expanding_widgets_usage_data, project, default_enabled: :yaml)
push_frontend_feature_flag(:diff_settings_usage_data, default_enabled: :yaml) push_frontend_feature_flag(:diff_settings_usage_data, default_enabled: :yaml)
push_frontend_feature_flag(:usage_data_diff_searches, project, default_enabled: :yaml)
end end
before_action do before_action do
......
---
name: usage_data_diff_searches
introduced_by_url:
rollout_issue_url:
milestone: '14.2'
type: development
group: group::code review
default_enabled: true
...@@ -246,7 +246,6 @@ ...@@ -246,7 +246,6 @@
redis_slot: code_review redis_slot: code_review
category: code_review category: code_review
aggregation: weekly aggregation: weekly
feature_flag: usage_data_diff_searches
- name: i_code_review_total_suggestions_applied - name: i_code_review_total_suggestions_applied
redis_slot: code_review redis_slot: code_review
category: code_review category: code_review
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment