Skip to content

Editor Lite: support creation of a DiffInstance

Denys Mishunov requested to merge 292498/editor-lite-diff-editor into master

What does this MR do?

Provides functionality for creating a Diff Instance in addition to the simple Code Instance. This MR is part of a bigger effort of replacing the custom one-off editor implementation in WebIDE with Editor Lite: #292498 (closed)

Note that this MR also refactors the Jest spec a bit for it to be closer to the integration rather than pure utility tests.

Screenshots (strongly suggested)

With this MR
Single-file editor Screenshot_2021-02-03_at_12.02.56
Snippet Screenshot_2021-02-03_at_12.02.35

As this MR moves us towards integrating Editor Lite into WebIDE, here's how it looks like when the last bits from the relevant PoC are added on top of this MR.

Screenshot_2021-02-01_at_23.36.51

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Relates to #297383 (closed), #292498 (closed)

Edited by Denys Mishunov

Merge request reports