Skip to content

Auto-scroll to top of page upon committing in pipeline editor

Mireya Andres requested to merge auto-scroll-pipeline-editor-on-commit into master

What does this MR do?

For #300028 (closed).

When a user commits on the pipeline editor, the page will automatically scroll up after the commit to bring the user's attention to the alert component (which will show either the error message or a success confirmation). This is especially useful UX for users working on a long commit file, who may not notice the success alert because it's not on screen.

Screenshots

On successful commit Auto-scroll on success

On failed commit (sample error for demonstration) Auto-scroll on error

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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
Edited by Mireya Andres

Merge request reports

Loading