Commit d3606d83 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/removeVueLfsFeatureFlag' into 'master'

Remove Vue file list LFS badge feature flag

See merge request gitlab-org/gitlab!36175
parents fffe2335 806be97e
......@@ -5,7 +5,6 @@ import FileTable from './table/index.vue';
import getRefMixin from '../mixins/get_ref';
import filesQuery from '../queries/files.query.graphql';
import projectPathQuery from '../queries/project_path.query.graphql';
import vueFileListLfsBadgeQuery from '../queries/vue_file_list_lfs_badge.query.graphql';
import FilePreview from './preview/index.vue';
import { readmeFile } from '../utils/readme';
......@@ -21,9 +20,6 @@ export default {
projectPath: {
query: projectPathQuery,
},
vueFileListLfsBadge: {
query: vueFileListLfsBadgeQuery,
},
},
props: {
path: {
......@@ -47,7 +43,6 @@ export default {
blobs: [],
},
isLoadingFiles: false,
vueFileListLfsBadge: false,
};
},
computed: {
......@@ -82,7 +77,6 @@ export default {
path: this.path || '/',
nextPageCursor: this.nextPageCursor,
pageSize: PAGE_SIZE,
vueLfsEnabled: this.vueFileListLfsBadge,
},
})
.then(({ data }) => {
......
......@@ -24,7 +24,6 @@ export default function setupVueRepositoryList() {
projectShortPath,
ref,
escapedRef,
vueFileListLfsBadge: gon.features?.vueFileListLfsBadge || false,
commits: [],
},
});
......
......@@ -14,7 +14,6 @@ query Files(
$ref: String!
$pageSize: Int!
$nextPageCursor: String
$vueLfsEnabled: Boolean = false
) {
project(fullPath: $projectPath) {
repository {
......@@ -47,7 +46,7 @@ query Files(
node {
...TreeEntry
webPath
lfsOid @include(if: $vueLfsEnabled)
lfsOid
}
}
pageInfo {
......
......@@ -11,10 +11,6 @@ class Projects::RefsController < Projects::ApplicationController
before_action :assign_ref_vars
before_action :authorize_download_code!
before_action only: [:logs_tree] do
push_frontend_feature_flag(:vue_file_list_lfs_badge, default_enabled: true)
end
def switch
respond_to do |format|
format.html do
......
......@@ -15,10 +15,6 @@ class Projects::TreeController < Projects::ApplicationController
before_action :authorize_download_code!
before_action :authorize_edit_tree!, only: [:create_dir]
before_action only: [:show] do
push_frontend_feature_flag(:vue_file_list_lfs_badge, default_enabled: true)
end
def show
return render_404 unless @commit
......
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