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
20caaa58
Commit
20caaa58
authored
Apr 14, 2020
by
Donald Cook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed sort_discussions feature flag
parent
561b2325
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
12 deletions
+2
-12
app/controllers/projects/issues_controller.rb
app/controllers/projects/issues_controller.rb
+0
-4
app/controllers/projects/merge_requests_controller.rb
app/controllers/projects/merge_requests_controller.rb
+0
-4
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+1
-2
app/views/projects/merge_requests/_awards_block.html.haml
app/views/projects/merge_requests/_awards_block.html.haml
+1
-2
No files found.
app/controllers/projects/issues_controller.rb
View file @
20caaa58
...
...
@@ -47,10 +47,6 @@ class Projects::IssuesController < Projects::ApplicationController
push_frontend_feature_flag
(
:save_issuable_health_status
,
project
.
group
,
default_enabled:
true
)
end
before_action
only: :show
do
push_frontend_feature_flag
(
:sort_discussions
,
@project
)
end
around_action
:allow_gitaly_ref_name_caching
,
only:
[
:discussions
]
respond_to
:html
...
...
app/controllers/projects/merge_requests_controller.rb
View file @
20caaa58
...
...
@@ -30,10 +30,6 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
push_frontend_feature_flag
(
:vue_issuable_sidebar
,
@project
.
group
)
end
before_action
only: :show
do
push_frontend_feature_flag
(
:sort_discussions
,
@project
)
end
around_action
:allow_gitaly_ref_name_caching
,
only:
[
:index
,
:show
,
:discussions
]
def
index
...
...
app/views/projects/issues/show.html.haml
View file @
20caaa58
...
...
@@ -87,8 +87,7 @@
.col-md-12.col-lg-6.js-noteable-awards
=
render
'award_emoji/awards_block'
,
awardable:
@issue
,
inline:
true
.col-md-12.col-lg-6.new-branch-col
-
if
Feature
.
enabled?
(
:sort_discussions
,
@project
)
#js-vue-sort-issue-discussions
#js-vue-sort-issue-discussions
#js-vue-discussion-filter
{
data:
{
default_filter:
current_user
&
.
notes_filter_for
(
@issue
),
notes_filters:
UserPreference
.
notes_filters
.
to_json
}
}
=
render
'new_branch'
if
show_new_branch_button?
...
...
app/views/projects/merge_requests/_awards_block.html.haml
View file @
20caaa58
...
...
@@ -2,6 +2,5 @@
=
render
'award_emoji/awards_block'
,
awardable:
@merge_request
,
inline:
true
do
-
if
mr_tabs_position_enabled?
.ml-auto.mt-auto.mb-auto
-
if
Feature
.
enabled?
(
:sort_discussions
,
@merge_request
.
target_project
)
#js-vue-sort-issue-discussions
#js-vue-sort-issue-discussions
=
render
"projects/merge_requests/discussion_filter"
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