Commit 2bb468d6 authored by Phil Hughes's avatar Phil Hughes

Remove issue_suggestions feature flag

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55166
parent 0a6c217c
......@@ -17,7 +17,7 @@ export default () => {
new MilestoneSelect();
new IssuableTemplateSelectors();
if (gon.features.issueSuggestions && gon.features.graphql) {
if (gon.features.graphql) {
initSuggestions();
}
};
......@@ -43,6 +43,6 @@ class GraphqlController < ApplicationController
end
def check_graphql_feature_flag!
render_404 unless Feature.enabled?(:graphql)
render_404 unless Feature.enabled?(:graphql, default_enabled: true)
end
end
......@@ -268,7 +268,6 @@ class Projects::IssuesController < Projects::ApplicationController
end
def set_suggested_issues_feature_flags
push_frontend_feature_flag(:graphql)
push_frontend_feature_flag(:issue_suggestions)
push_frontend_feature_flag(:graphql, default_enabled: true)
end
end
......@@ -17,7 +17,7 @@
= render 'shared/issuable/form/template_selector', issuable: issuable
= render 'shared/issuable/form/title', issuable: issuable, form: form, has_wip_commits: commits && commits.detect(&:work_in_progress?)
- if Feature.enabled?(:issue_suggestions) && Feature.enabled?(:graphql)
- if Feature.enabled?(:graphql, default_enabled: true)
#js-suggestions{ data: { project_path: @project.full_path } }
= render 'shared/form_elements/description', model: issuable, form: form, project: project
......
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