Commit 8b4932c0 authored by Dmytro Zaporozhets's avatar Dmytro Zaporozhets

Merge branch 'justin_ho-enable-integration_form_refactor-by-default' into 'master'

Enable integration_form_refactor by default

See merge request gitlab-org/gitlab!35582
parents 2aa1fabe 9b0be076
......@@ -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