Enable additional filtering on Productivity Analytics Page

Problem to solve

During 12.1, we decided to leave out the ability to select multiple groups, subgroups, projects and have the ability to look at 1 group or 1 project. Certain clients look at multiple groups at a time or multiple projects from different groups/subgroups, so we should enable a user to select multiple projects from different subgroups/groups or multiple groups before applying additional filters.

Intended users

EMs, PMs

Further details

Proposal

Until we enable multiple selections in the main filter menu, we will be using dropdowns as per: https://gitlab.com/gitlab-org/gitlab-ee/uploads/8d4550c5de118d5f26097aa5e6ae2150/group-selected.jpg.

I would recommend having the ability to select multiple groups or subgroups under the group dropdown and also have the ability to select multiple projects. If subgroups, groups are selected, we should show all projects under them available for selection.

We could have something similar to the ops dashboard for engineers to see the hierarchy?

Screen_Shot_2019-07-08_at_2.55.17_PM

Outstanding questions:

  1. what do we do when we want to select labels under different projects?
  • The same label is shared across projects - do you see any issues here, @pshutsin?
  • There are different labels under different projects - I would say for this we need the OR functionality of labels enabled as otherwise we can only select one label at a time. However, even if this is the way the filtering works for now, a user could still select multiple groups and projects and 1 particular author or milestone for example, which would be beneficial already.

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Solution

image

  • Let's show the full path to the group/project, similarly as we do on project dashboard.
  • The labels of the dropdowns should use the plural to indicate that multiple groups/projects can be selected.
  • When one group/project is selected we show its name in the closed dropdown. When more than one are selected, we show x groups/projects selected.
  • the search box should be automatically focused when the dropdown opens so that the user can start typing straight away.

Prototype video:

search

Edited Jul 17, 2019 by Matej Latin
Assignee Loading
Time tracking Loading