Skip to content

Draft: Resolve "Standardize clickable titles in settings"

What does this MR do?

In the Project Settings, the sections of each page can be expanded/collapsed by the Expand/Collapse button on the right of the section title.

In the Project Settings "Default" page, the section titles support expand/collapse on the section title texts (h4 elements "onclick/ontap" behaviour), in addition to the Expand/Collapse buttons.

This MR adds the onclick/ontap expand/collapse behaviour to (most) other Project Settings section titles (h4 elements). This is related to #205484.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

This MR adds CSS classes settings-title, js-settings-toggle and js-settings-toggle-trigger-only to h4 elements on Project Settings pages.

For changes to Haml view templates, I see little risk of tests failing, unless there are frontend snapshot test. I need to investigate this. For changes to Vue.js templates/components, I updated related frontend snapshot tests.

Security

This MR only updates Haml/Vue.js view templates/compontents (and may be frontend snapshot tests).

I do not yet see any security affecting changes.

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

Related to #205484

Edited by Daniel Schömer

Merge request reports