Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
856b5c9d
Commit
856b5c9d
authored
Dec 14, 2020
by
Phil Hughes
Committed by
Kushal Pandya
Dec 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable gradual diffs load by default
Enabled the graudal loading of diffs by default
parent
5728180f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
app/controllers/projects/merge_requests_controller.rb
app/controllers/projects/merge_requests_controller.rb
+1
-1
changelogs/unreleased/ph-diffsGradualLoadDefaultEnabled.yml
changelogs/unreleased/ph-diffsGradualLoadDefaultEnabled.yml
+5
-0
config/feature_flags/development/diffs_gradual_load.yml
config/feature_flags/development/diffs_gradual_load.yml
+1
-1
lib/gitlab/diff/file_collection/merge_request_diff_batch.rb
lib/gitlab/diff/file_collection/merge_request_diff_batch.rb
+1
-1
No files found.
app/controllers/projects/merge_requests_controller.rb
View file @
856b5c9d
...
...
@@ -43,7 +43,7 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
push_frontend_feature_flag
(
:core_security_mr_widget_downloads
,
@project
,
default_enabled:
true
)
push_frontend_feature_flag
(
:remove_resolve_note
,
@project
,
default_enabled:
true
)
push_frontend_feature_flag
(
:test_failure_history
,
@project
)
push_frontend_feature_flag
(
:diffs_gradual_load
,
@project
)
push_frontend_feature_flag
(
:diffs_gradual_load
,
@project
,
default_enabled:
true
)
record_experiment_user
(
:invite_members_version_a
)
record_experiment_user
(
:invite_members_version_b
)
...
...
changelogs/unreleased/ph-diffsGradualLoadDefaultEnabled.yml
0 → 100644
View file @
856b5c9d
---
title
:
Gradually load more diffs async
merge_request
:
49476
author
:
type
:
changed
config/feature_flags/development/diffs_gradual_load.yml
View file @
856b5c9d
...
...
@@ -5,4 +5,4 @@ rollout_issue_url:
milestone
:
'
13.7'
type
:
development
group
:
group::code review
default_enabled
:
fals
e
default_enabled
:
tru
e
lib/gitlab/diff/file_collection/merge_request_diff_batch.rb
View file @
856b5c9d
...
...
@@ -82,7 +82,7 @@ module Gitlab
# rubocop: enable CodeReuse/ActiveRecord
def
batch_gradual_load?
Feature
.
enabled?
(
:diffs_gradual_load
,
@merge_request_diff
.
project
)
Feature
.
enabled?
(
:diffs_gradual_load
,
@merge_request_diff
.
project
,
default_enabled:
true
)
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment