Skip to content

Analytics: Group and project dropdown enhancements

What does this MR do?

This MR adds a the following enhancements to the dropdowns:

Groups Dropdown

  • Adds defaultGroup prop which allows passing a single group (selected by default) to the component

Projects Dropdown

  • Adds defaultProjects prop which allows passing an array of projects (selected by default) to the component
  • Updates the rowTemplate method by adding the is-active class to projects which are currently selected

Screenshots

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 Martin Wortschack

Merge request reports