Commit 040c2785 authored by Aleksei Lipniagov's avatar Aleksei Lipniagov

Merge branch...

Merge branch '343433-feature-flag-jupyter_clean_diffs-custom-and-cleaner-diffs-for-jupyter-notebooks' into 'master'

Resolve "[Feature Flag] jupyter_clean_diffs - Custom and cleaner diffs for Jupyter Notebooks"

See merge request gitlab-org/gitlab!74187
parents 969e92bc a578853e
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/343433
milestone: '14.5'
type: development
group: group::incubation
default_enabled: false
default_enabled: true
......@@ -44,7 +44,7 @@ module Gitlab
new_blob_lazy
old_blob_lazy
preprocess_before_diff(diff) if Feature.enabled?(:jupyter_clean_diffs, repository.project)
preprocess_before_diff(diff) if Feature.enabled?(:jupyter_clean_diffs, repository.project, default_enabled: true)
end
def position(position_marker, position_type: :text)
......
......@@ -153,7 +153,7 @@ module Gitlab
blob.load_all_data!
return blob.present.highlight_transformed.lines if Feature.enabled?(:jupyter_clean_diffs, @project)
return blob.present.highlight_transformed.lines if Feature.enabled?(:jupyter_clean_diffs, @project, default_enabled: true)
blob.present.highlight.lines
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