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
db1959ca
Commit
db1959ca
authored
Aug 17, 2020
by
Denys Mishunov
Committed by
Markus Koller
Aug 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed reference to monaco_blobs
We do not need to load ace library at all now.
parent
a3083700
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
app/views/projects/blob/edit.html.haml
app/views/projects/blob/edit.html.haml
+0
-3
app/views/projects/blob/new.html.haml
app/views/projects/blob/new.html.haml
+0
-3
changelogs/unreleased/198611-monaco_blobs-on-by-default.yml
changelogs/unreleased/198611-monaco_blobs-on-by-default.yml
+5
-0
lib/gitlab/gon_helper.rb
lib/gitlab/gon_helper.rb
+1
-1
No files found.
app/views/projects/blob/edit.html.haml
View file @
db1959ca
-
breadcrumb_title
_
(
"Repository"
)
-
page_title
_
(
"Edit"
),
@blob
.
path
,
@ref
-
unless
Feature
.
enabled?
(
:monaco_blobs
)
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_tag
(
'lib/ace.js'
)
-
if
@conflict
.alert.alert-danger
...
...
app/views/projects/blob/new.html.haml
View file @
db1959ca
-
breadcrumb_title
_
(
"Repository"
)
-
page_title
_
(
"New File"
),
@path
.
presence
,
@ref
-
unless
Feature
.
enabled?
(
:monaco_blobs
)
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_tag
(
'lib/ace.js'
)
.editor-title-row
%h3
.page-title.blob-new-page-title
...
...
changelogs/unreleased/198611-monaco_blobs-on-by-default.yml
0 → 100644
View file @
db1959ca
---
title
:
Enabled monaco_blobs FF by default
merge_request
:
39441
author
:
type
:
changed
lib/gitlab/gon_helper.rb
View file @
db1959ca
...
...
@@ -43,7 +43,7 @@ module Gitlab
# Initialize gon.features with any flags that should be
# made globally available to the frontend
push_frontend_feature_flag
(
:snippets_vue
,
default_enabled:
true
)
push_frontend_feature_flag
(
:monaco_blobs
,
default_enabled:
fals
e
)
push_frontend_feature_flag
(
:monaco_blobs
,
default_enabled:
tru
e
)
push_frontend_feature_flag
(
:monaco_ci
,
default_enabled:
false
)
push_frontend_feature_flag
(
:snippets_edit_vue
,
default_enabled:
false
)
push_frontend_feature_flag
(
:webperf_experiment
,
default_enabled:
false
)
...
...
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