Skip to content
Snippets Groups Projects
Commit d5aa36f1 authored by Winnie Hellmann's avatar Winnie Hellmann
Browse files

Enable reply_to_individual_notes feature flag by default

parent c9e5ce8d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -8,7 +8,7 @@ module IssuableActions
before_action :authorize_destroy_issuable!, only: :destroy
before_action :authorize_admin_issuable!, only: :bulk_update
before_action only: :show do
push_frontend_feature_flag(:reply_to_individual_notes)
push_frontend_feature_flag(:reply_to_individual_notes, default_enabled: true)
end
end
 
Loading
Loading
Loading
Loading
@@ -14,7 +14,7 @@ class IndividualNoteDiscussion < Discussion
end
 
def can_convert_to_discussion?
noteable.supports_replying_to_individual_notes? && Feature.enabled?(:reply_to_individual_notes)
noteable.supports_replying_to_individual_notes? && Feature.enabled?(:reply_to_individual_notes, default_enabled: true)
end
 
def convert_to_discussion!(save: false)
Loading
Loading
---
title: Add button to start discussion from single comment
merge_request: 25575
author:
type: added
Loading
Loading
@@ -67,7 +67,7 @@ describe 'Merge request > User posts notes', :js do
end
end
 
describe 'when reply_to_individual_notes feature flag is not set' do
describe 'when reply_to_individual_notes feature flag is disabled' do
before do
stub_feature_flags(reply_to_individual_notes: false)
visit project_merge_request_path(project, merge_request)
Loading
Loading
@@ -78,9 +78,8 @@ describe 'Merge request > User posts notes', :js do
end
end
 
describe 'when reply_to_individual_notes feature flag is set' do
describe 'when reply_to_individual_notes feature flag is not set' do
before do
stub_feature_flags(reply_to_individual_notes: true)
visit project_merge_request_path(project, merge_request)
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment