• Bob Van Landuyt's avatar
    Only expose 1 diff style in diffs endpoint · d4afb16d
    Bob Van Landuyt authored
    When enabling the `single_mr_diff_view` feature flag, the backend will
    only render one kind of diff: inline or parallel. The feature is
    disabled for now until the frontend has been updated.
    
    To switch the view, the frontend can pass a `view` param containing
    either `inline` or `parallel`. That will get written to a cookie. The
    response for diff files will then contain either
    `highlighted_diff_lines` or `parallel_diff_lines` but no longer both.
    d4afb16d
user_reviews_image_spec.rb 1.21 KB