Commit c4323182 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'ph/enableVueFileListFlag' into 'master'

Enable Vue file listing flag by default

See merge request gitlab-org/gitlab!24450
parents 1bb1ce57 d4941c87
...@@ -32,7 +32,7 @@ class Projects::TreeController < Projects::ApplicationController ...@@ -32,7 +32,7 @@ class Projects::TreeController < Projects::ApplicationController
respond_to do |format| respond_to do |format|
format.html do format.html do
lfs_blob_ids if Feature.disabled?(:vue_file_list, @project) lfs_blob_ids if Feature.disabled?(:vue_file_list, @project, default_enabled: true)
@last_commit = @repository.last_commit_for_path(@commit.id, @tree.path) || @commit @last_commit = @repository.last_commit_for_path(@commit.id, @tree.path) || @commit
end end
......
...@@ -296,7 +296,7 @@ class ProjectsController < Projects::ApplicationController ...@@ -296,7 +296,7 @@ class ProjectsController < Projects::ApplicationController
private private
def show_blob_ids? def show_blob_ids?
repo_exists? && project_view_files? && Feature.disabled?(:vue_file_list, @project) repo_exists? && project_view_files? && Feature.disabled?(:vue_file_list, @project, default_enabled: true)
end end
# Render project landing depending of which features are available # Render project landing depending of which features are available
......
...@@ -703,7 +703,7 @@ module ProjectsHelper ...@@ -703,7 +703,7 @@ module ProjectsHelper
end end
def vue_file_list_enabled? def vue_file_list_enabled?
Feature.enabled?(:vue_file_list, @project) Feature.enabled?(:vue_file_list, @project, default_enabled: true)
end end
def native_code_navigation_enabled?(project) def native_code_navigation_enabled?(project)
......
---
title: Refactored repository browser to use Vue and GraphQL
merge_request: 24450
author:
type: performance
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