Skip to content

Draft: Unified the editor's behavior on resize

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

What does this MR do?

Unifies the behavior of Source Editor on window resize. There are 4 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 "Review" or "Commit" tabs where we have DiffEditor instead of a CodeEditor

This MR addresses all of those cases. Though lacks the tests at the time of creation

Screenshots or Screencasts (strongly suggested)

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #322716 (closed)

Merge request reports