quality-time icon indicating copy to clipboard operation
quality-time copied to clipboard

Allow for filtering metrics by source

Open Sebastiaan127001 opened this issue 3 years ago • 7 comments

Just like filtering on a label/tag, it would be useful to filter on one or more source. Maybe have the source icons on the top?

Rationale: As a Quality Manager, this is useful when you have come to notice that there is a change in a certain tool in the pipeline. Because of this new info, you need to go through all the metrics in your report that use this source. OR As a QM, you know that a metric is updated in the new version of QT. Because of this you need to change all these metrics.

It would be useful to have a small search box in the top right that, as soon as you start typing, starts filtering the metrics and shows only the metrics that match the search query. A result would look something like what happens when you click 'metrics requiring action'.

Blocked by: #3127.

Sebastiaan127001 avatar Jan 27 '22 20:01 Sebastiaan127001

To do this in a consistent manner, the dashboard would need to get a card for each source. Then, sources could be filtered in the same way tags can be filtered.

To prevent cluttering the dashboard with too many cards, it should be possible to hide the source-cards via the settings panel. By default, the source-cards shouldn't be visible.

Open issue: at the moment, each metric has its own source(s). So which sources should be considered to be same and put in the same card is potentially up for debate. A simple solution is just to match them by URL, i.e. sources with the same URL are considered to be the same for the purpose of grouping them in the dashboard.

This issue is blocked by #7482 and #3127.

fniessink avatar Jan 27 '22 21:01 fniessink

So this one also relates to https://github.com/ICTU/quality-time/issues/3329 and https://github.com/ICTU/quality-time/issues/3127

Sebastiaan127001 avatar Feb 01 '22 10:02 Sebastiaan127001

Can you elaborate why you want this functionality? What are the use cases? That will help us refine the issue further. Thanks.

fniessink avatar Feb 09 '22 15:02 fniessink

Let's make this one easier, it would be useful if the user can filter so that the list of metrics holds only the metrics that match the filter criterion. In that way the user can easily search and select the desired metrics or sources.

https://react-table.tanstack.com/docs/examples/filtering

Sebastiaan127001 avatar Mar 24 '22 19:03 Sebastiaan127001

@fniessink Rationale: As a Quality Manager, this is useful when you have come to notice that there is a change in a certain tool in the pipeline. Because of this new info, you need to go through all the metrics in your report that use this source. OR As a QM, you know that a metric is updated in the new version of QT. Because of this you need to change all these metrics.

It would be useful to have a small search box in the top right that, as soon as you start typing, starts filtering the metrics and shows only the metrics that match the search query. A result would look something like what happens when you click 'metrics requiring action'.

Sebastiaan127001 avatar Jun 27 '22 11:06 Sebastiaan127001

@Sebastiaan127001 is there still a rationale for this story, after #3127 is finished?

wkoot avatar Mar 07 '24 10:03 wkoot

@Sebastiaan127001 is there still a rationale for this story, after #3127 is finished?

I am not sure, it seems not but let's discuss in a refinement session to be sure @wkoot

Sebastiaan127001 avatar Mar 13 '24 16:03 Sebastiaan127001