Commit 9b0be076 authored by Justin Ho Tuan Duong's avatar Justin Ho Tuan Duong Committed by Dmytro Zaporozhets

Enable integration_form_refactor by default

Feature flag integration_form_refactor should be enabled
by default since it has been on production for some time
without any major issues. This will enable self-hosted
users to use the new form and report issues (if any).
parent 66cd7d8f
......@@ -6,7 +6,7 @@ class Admin::ServicesController < Admin::ApplicationController
before_action :service, only: [:edit, :update]
before_action :whitelist_query_limiting, only: [:index]
before_action only: :edit do
push_frontend_feature_flag(:integration_form_refactor)
push_frontend_feature_flag(:integration_form_refactor, default_enabled: true)
end
def index
......
......@@ -9,7 +9,7 @@ module IntegrationsActions
before_action :not_found, unless: :integrations_enabled?
before_action :integration, only: [:edit, :update, :test]
before_action only: :edit do
push_frontend_feature_flag(:integration_form_refactor)
push_frontend_feature_flag(:integration_form_refactor, default_enabled: true)
end
end
......
......@@ -12,7 +12,7 @@ class Projects::ServicesController < Projects::ApplicationController
before_action :set_deprecation_notice_for_prometheus_service, only: [:edit, :update]
before_action :redirect_deprecated_prometheus_service, only: [:update]
before_action only: :edit do
push_frontend_feature_flag(:integration_form_refactor)
push_frontend_feature_flag(:integration_form_refactor, default_enabled: true)
end
respond_to :html
......
......@@ -96,7 +96,7 @@ module ServicesHelper
end
def integration_form_refactor?
Feature.enabled?(:integration_form_refactor, @project)
Feature.enabled?(:integration_form_refactor, @project, default_enabled: true)
end
def integration_form_data(integration)
......
---
title: Update integration form to use GitLab UI components
merge_request: 35582
author:
type: changed
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