Skip to content

Universally resize Source Editor when the parent element gets resized

Denys Mishunov requested to merge 322716-resize-source-editor into master

What does this MR do and why?

Unifies the behavior of Source Editor when a parent element gets resized. In general, this includes resizing the window. There are these particular scenarios where we have to make sure to test this:

  • Regular single-file editor
  • Single-file editor with Markdown Live Preview shown
  • WebIDE editing a file
  • WebIDE editing a markdown file with Live Preview
  • WebIDE "Review" or "Commit" tabs where we have DiffEditor instead of a CodeEditor
  • WebIDE resizing the left-hand tree panel
  • WebIDE toggle the right-hand panel
  • Multi-file Snippet edit form

This MR addresses all of those cases.

Screenshots or screen recordings

78096-resize-se-780

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Related to #322716 (closed)

Edited by Denys Mishunov

Merge request reports

Loading