Skip to content
Snippets Groups Projects
Commit c606a96d authored by Denys Mishunov's avatar Denys Mishunov 🌴 Committed by Mayra Cabrera
Browse files

Enable :snippets_vue by default

The commit enables :snippets_vue feature flag by default in both
frontend and backend to slowly introduce this feature to the
self-hosted instances
parent cd1f348f
No related branches found
No related tags found
1 merge request!31734Update stable branch 13-0-stable-ee for automatic RC 13.0.0-rc20200512114055
......@@ -3,7 +3,7 @@
- breadcrumb_title @snippet.to_reference
- page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
- if Feature.enabled?(:snippets_vue)
- if Feature.enabled?(:snippets_vue, default_enabled: true)
#js-snippet-view{ data: {'qa-selector': 'snippet_view', 'snippet-gid': @snippet.to_global_id} }
- else
= render 'shared/snippets/header'
......
......@@ -4,7 +4,7 @@
- breadcrumb_title @snippet.to_reference
- page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
- if Feature.enabled?(:snippets_vue)
- if Feature.enabled?(:snippets_vue, default_enabled: true)
#js-snippet-view{ data: {'qa-selector': 'snippet_view', 'snippet-gid': @snippet.to_global_id} }
- else
= render 'shared/snippets/header'
......
---
title: Refactored Snippet view to Vue
merge_request: 31450
author:
type: added
......@@ -42,7 +42,7 @@ def add_gon_variables
# Initialize gon.features with any flags that should be
# made globally available to the frontend
push_frontend_feature_flag(:snippets_vue, default_enabled: false)
push_frontend_feature_flag(:snippets_vue, default_enabled: true)
push_frontend_feature_flag(:monaco_blobs, default_enabled: false)
push_frontend_feature_flag(:monaco_ci, default_enabled: false)
push_frontend_feature_flag(:snippets_edit_vue, default_enabled: false)
......
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