Universally resize Source Editor when the parent element gets resized
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
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #322716 (closed)
Edited by Denys Mishunov