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
1ac69a5e
Commit
1ac69a5e
authored
Apr 13, 2020
by
Himanshu Kapoor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Web IDE dark theme feature flag
Add feature flag to support dark theme in the Web IDE
parent
a192c643
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
app/controllers/ide_controller.rb
app/controllers/ide_controller.rb
+4
-0
No files found.
app/controllers/ide_controller.rb
View file @
1ac69a5e
...
@@ -6,6 +6,10 @@ class IdeController < ApplicationController
...
@@ -6,6 +6,10 @@ class IdeController < ApplicationController
include
ClientsidePreviewCSP
include
ClientsidePreviewCSP
include
StaticObjectExternalStorageCSP
include
StaticObjectExternalStorageCSP
before_action
do
push_frontend_feature_flag
(
:webide_dark_theme
)
end
def
index
def
index
Gitlab
::
UsageDataCounters
::
WebIdeCounter
.
increment_views_count
Gitlab
::
UsageDataCounters
::
WebIdeCounter
.
increment_views_count
end
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