The Throughput Analytics feature (introduced under #229045 (closed)) is not very useful without the ability to apply filters that scope your perspective of the data.
Proposal
The Throughput Analytics feature should have a filter bar similar to Value Stream Analytics, which allows for filtering Merge Requests by:
Assignee
Author
Labels
Milestone
Branch
Datepicker is covered in #229375 (closed) and we'll use a fixed timeframe until that issue is worked on.
@djensen@npost: Thanks for this issue, I added that we should ideally be able to support a NOT filter and also ideally be able to filter on branch (we'll use master by default).
I propose we leave Assignee and Author out of this iteration, we've discussed in the past skewing away from features that might make these tools used to evaluate individuals. We'll get this feature request but let's just focus on dogfooding and the features we need to accomplish that.
Should we support multiple projects? Most of the filters we are about to introduce are project-specific, such as assignee, milestone, branch, ... So in case we want to enable users to select/exclude multiple projects, we would need a possibility to take this selection into account when fetching data for the other filter dropdowns (assignee, milestone, branch ...). Is this something our API currently supports? @djensen@ahegyi
Same problem with the NOT operator. If we want to exclude a certain project, how do we expect to fetch data for the remaining filter dropdowns?
So in case we want to enable users to select/exclude multiple projects, we would need a possibility to take this selection into account when fetching data for the other filter dropdowns
I'm okay with this. Just want to point out that the impact of this will be that we can only display data for one group (with a given subset of filters) but won't be able to include/exclude certain projects ini the MVC. Are we all okay with this reduced scope for the MVC? @jeremy@npost
I don't see a reason why we couldn't use the standard MergeRequest finder, so this should be pretty straightforward. I set the weight as 2. Feel free to comment if you have other suggestion.
I just moved this into workflowscheduling. I'm hopeful we can get this into %13.3, but it's blocked by the first second step, which is the chart, and the first step, which is the page.
@blabuschagne is working on implementing the chart. I guess that issue would block this, right? [Update: Yes it is. It is already listed as blocking on the issue]. Also, do you see any challenges with using that generic filter bar here?
@mlunoe I'm not familiar with the Generic Filter Bar implementation but I've browsed the diff which you linked and I don't see any obvious challenges here. The component actually looks quite functional
Yes, it should work for this case! A few extra tokens, but that should be manageable. Take a look at this issue related MRs for progress on this: #232465 (closed)
The short update is that it now handles its own state. The next step is to bring its own store, gracefully enhancing the application where it is being used.