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
ac51c525
Commit
ac51c525
authored
May 01, 2020
by
Himanshu Kapoor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove feature flag :webide_dark_theme
Needs to be shipped in 13.0
parent
e25b7b91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
app/assets/javascripts/behaviors/markdown/render_mermaid.js
app/assets/javascripts/behaviors/markdown/render_mermaid.js
+0
-1
app/assets/javascripts/ide/components/ide.vue
app/assets/javascripts/ide/components/ide.vue
+1
-1
app/controllers/ide_controller.rb
app/controllers/ide_controller.rb
+0
-4
No files found.
app/assets/javascripts/behaviors/markdown/render_mermaid.js
View file @
ac51c525
...
...
@@ -28,7 +28,6 @@ function importMermaidModule() {
if
(
window
.
gon
?.
user_color_scheme
===
'
dark
'
&&
window
.
gon
?.
features
?.
webideDarkTheme
&&
// if on the Web IDE page
document
.
querySelector
(
'
.ide
'
)
)
{
...
...
app/assets/javascripts/ide/components/ide.vue
View file @
ac51c525
...
...
@@ -57,7 +57,7 @@ export default {
'
editorTheme
'
,
]),
themeName
()
{
return
this
.
glFeatures
.
webideDarkTheme
&&
window
.
gon
?.
user_color_scheme
;
return
window
.
gon
?.
user_color_scheme
;
},
},
mounted
()
{
...
...
app/controllers/ide_controller.rb
View file @
ac51c525
...
...
@@ -6,10 +6,6 @@ class IdeController < ApplicationController
include
ClientsidePreviewCSP
include
StaticObjectExternalStorageCSP
before_action
do
push_frontend_feature_flag
(
:webide_dark_theme
)
end
def
index
Gitlab
::
UsageDataCounters
::
WebIdeCounter
.
increment_views_count
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