Skip to content

Group Settings Default initial branch h4 expand

What does this MR do?

This MR adds classes settings-title, js-settings-toggle and js-settings-toggle-trigger-only to the h4 header Group Settings / Repository Settings / Default initial branch name. This enables the expand/collapse behavior on mouse-click / tap for the h4 header.

Related to issue #334655 (closed) reported by @mle.

Screenshots (strongly suggested)

Current behavior: no on-click / on-tap expand/collapse

Group_Settings_Repository_Header-no-click

Behavior after applying this MR: on-click / on-tap expand/collapse

(Copied from my first related MR !55228 (merged) for simplicity. I will update the screenshots and video 😸 )

Screenshot_2021-08-25_at_08.56.24 Screenshot_2021-08-25_at_08.56.32

Screen_Recording_2021-08-25_at_08.57.55

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 Daniel Schömer

Merge request reports