Skip to content

Fix #48934 - Focus on text input on danger confirmation

Jamie Schembri requested to merge shkm/gitlab-ce:48934 into master

What does this MR do?

Improves the danger confirmation modals by focusing on the text input field.

The issue just mentions one instance of this, but at implementation time I found that it's used in a few places. I've accordingly added tests to these places.

Are there points in the code the reviewer needs to double check?

Did I miss somewhere that these modals are used? If so, maybe we need a spec there too.

Why was this MR needed?

UX improvement, see issue.

Screenshots (if relevant)

48934

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Jamie Schembri

Merge request reports