Resolve "Notebook Diff being displayed twice"
What does this MR do and why?
On commit page, after clicking "Expand Files" on for .ipynb, we were displaying the semantic notebook diff twice instead of the original and semantic diffs
How to set up and validate locally
Example below:
-
Open a commit with a collapsed notebook diff (eg gitlab-test@9fd7ad70)
-
Click "Click to expand it"
-
Without the changes, not that the semantic diff is displayed twice, and the buttons to swap between semantic and raw diff don't work as expected
-
With the changes, upon clicking the semantic diff is displayed, and we are able to swap between the viewer modes
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #364531 (closed)
Edited by Eduardo Bonet