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
4e4a5c65
Commit
4e4a5c65
authored
Apr 08, 2021
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable the gldropdown_branches feature flag
parent
9965db91
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
app/controllers/projects/branches_controller.rb
app/controllers/projects/branches_controller.rb
+1
-1
app/helpers/branches_helper.rb
app/helpers/branches_helper.rb
+1
-1
changelogs/unreleased/jivanvl-enable-gldropdown-branches-ff.yml
...logs/unreleased/jivanvl-enable-gldropdown-branches-ff.yml
+5
-0
config/feature_flags/development/gldropdown_branches.yml
config/feature_flags/development/gldropdown_branches.yml
+1
-1
No files found.
app/controllers/projects/branches_controller.rb
View file @
4e4a5c65
...
...
@@ -13,7 +13,7 @@ class Projects::BranchesController < Projects::ApplicationController
before_action
:redirect_for_legacy_index_sort_or_search
,
only:
[
:index
]
before_action
:limit_diverging_commit_counts!
,
only:
[
:diverging_commit_counts
]
before_action
do
push_frontend_feature_flag
(
:gldropdown_branches
)
push_frontend_feature_flag
(
:gldropdown_branches
,
default_enabled: :yaml
)
end
feature_category
:source_code_management
...
...
app/helpers/branches_helper.rb
View file @
4e4a5c65
...
...
@@ -22,7 +22,7 @@ module BranchesHelper
end
def
gldropdrown_branches_enabled?
Feature
.
enabled?
(
:gldropdown_branches
)
Feature
.
enabled?
(
:gldropdown_branches
,
default_enabled: :yaml
)
end
end
...
...
changelogs/unreleased/jivanvl-enable-gldropdown-branches-ff.yml
0 → 100644
View file @
4e4a5c65
---
title
:
Update search and sort from the branches page
merge_request
:
58951
author
:
type
:
changed
config/feature_flags/development/gldropdown_branches.yml
View file @
4e4a5c65
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/326549
milestone
:
'
13.11'
type
:
development
group
:
group::continuous integration
default_enabled
:
fals
e
default_enabled
:
tru
e
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