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
6667b13d
Commit
6667b13d
authored
Jun 28, 2021
by
Samantha Ming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn fork_project_form feature flag default on
Issue:
https://gitlab.com/gitlab-org/gitlab/-/issues/321387
parent
59d05aaf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/controllers/projects/forks_controller.rb
app/controllers/projects/forks_controller.rb
+1
-1
app/views/projects/forks/new.html.haml
app/views/projects/forks/new.html.haml
+1
-1
config/feature_flags/development/fork_project_form.yml
config/feature_flags/development/fork_project_form.yml
+1
-1
No files found.
app/controllers/projects/forks_controller.rb
View file @
6667b13d
...
...
@@ -17,7 +17,7 @@ class Projects::ForksController < Projects::ApplicationController
feature_category
:source_code_management
before_action
do
push_frontend_feature_flag
(
:fork_project_form
)
push_frontend_feature_flag
(
:fork_project_form
,
@project
,
default_enabled: :yaml
)
end
def
index
...
...
app/views/projects/forks/new.html.haml
View file @
6667b13d
-
page_title
s_
(
"ForkProject|Fork project"
)
-
if
Feature
.
enabled?
(
:fork_project_form
)
-
if
Feature
.
enabled?
(
:fork_project_form
,
@project
,
default_enabled: :yaml
)
#fork-groups-mount-element
{
data:
{
fork_illustration:
image_path
(
'illustrations/project-create-new-sm.svg'
),
endpoint:
new_project_fork_path
(
@project
,
format: :json
),
new_group_path:
new_group_path
,
...
...
config/feature_flags/development/fork_project_form.yml
View file @
6667b13d
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/321387
milestone
:
'
13.10'
type
:
development
group
:
group::source code
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