Commit 618f5977 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'kerrizor/remove-widget_visibility_polling-feature-flag' into 'master'

Remove widget_visibility_polling feature flag

See merge request gitlab-org/gitlab!51402
parents 4d67e117 8bd283b9
...@@ -307,8 +307,7 @@ export default { ...@@ -307,8 +307,7 @@ export default {
callback: this.checkStatus, callback: this.checkStatus,
startingInterval: this.startingPollInterval, startingInterval: this.startingPollInterval,
maxInterval: this.startingPollInterval + secondsToMilliseconds(4 * 60), maxInterval: this.startingPollInterval + secondsToMilliseconds(4 * 60),
hiddenInterval: hiddenInterval: secondsToMilliseconds(6 * 60),
window.gon?.features?.widgetVisibilityPolling && secondsToMilliseconds(6 * 60),
incrementByFactorOf: 2, incrementByFactorOf: 2,
}); });
}, },
......
...@@ -28,7 +28,6 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo ...@@ -28,7 +28,6 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
before_action :authenticate_user!, only: [:assign_related_issues] before_action :authenticate_user!, only: [:assign_related_issues]
before_action :check_user_can_push_to_source_branch!, only: [:rebase] before_action :check_user_can_push_to_source_branch!, only: [:rebase]
before_action only: [:show] do before_action only: [:show] do
push_frontend_feature_flag(:widget_visibility_polling, @project, default_enabled: true)
push_frontend_feature_flag(:mr_commit_neighbor_nav, @project, default_enabled: true) push_frontend_feature_flag(:mr_commit_neighbor_nav, @project, default_enabled: true)
push_frontend_feature_flag(:multiline_comments, @project, default_enabled: true) push_frontend_feature_flag(:multiline_comments, @project, default_enabled: true)
push_frontend_feature_flag(:file_identifier_hash) push_frontend_feature_flag(:file_identifier_hash)
......
---
name: widget_visibility_polling
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29318
rollout_issue_url:
milestone: '12.10'
type: development
group: group::code review
default_enabled: true
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