Skip to content

Improves css in ipynb mrs

Eduardo Bonet requested to merge ipynbdiff-nomap-css into master

What does this MR do and why?

Ipynb diffs introduced new css classes for lines that have no mapping in the source diff. Styles for the commit diff were in place, but not in MR.

Screenshots or screen recordings

. Before After
Light image image
Dark image image
Solarized Light image image
Solarized Dark image image
Monokai image image
None image image

How to set up and validate locally

  1. Open MR containing Notebooks (eg 5d6ed1503801ca9dc28e95eeb85a7cf863527aee into 9fd7ad70baf0ae69fb1b9ab7b336a1dccb77d23b for gitlab-org/gitlab-test)
  2. Verify that blocks of addition/removal have the same color, as per screenshots above
  3. Highlighting themes can be changed in Profile > Preferences

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Eduardo Bonet

Merge request reports