Commit 4d92f6bd authored by Igor Drozdov's avatar Igor Drozdov

Merge branch '216332-remove-ff-webide_dark_theme' into 'master'

Remove feature flag :webide_dark_theme

See merge request gitlab-org/gitlab!30916
parents b2d93df5 ac51c525
...@@ -28,7 +28,6 @@ function importMermaidModule() { ...@@ -28,7 +28,6 @@ function importMermaidModule() {
if ( if (
window.gon?.user_color_scheme === 'dark' && window.gon?.user_color_scheme === 'dark' &&
window.gon?.features?.webideDarkTheme &&
// if on the Web IDE page // if on the Web IDE page
document.querySelector('.ide') document.querySelector('.ide')
) { ) {
......
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
'editorTheme', 'editorTheme',
]), ]),
themeName() { themeName() {
return this.glFeatures.webideDarkTheme && window.gon?.user_color_scheme; return window.gon?.user_color_scheme;
}, },
}, },
mounted() { mounted() {
......
...@@ -6,10 +6,6 @@ class IdeController < ApplicationController ...@@ -6,10 +6,6 @@ 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment