Details
Description
The current extension mechanism has major drawbacks when time has come to display new metrics on the project dashboard. Indeed :
- All new metrics are displayed even if you want to display the most important ones
- Each metric is displayed in a new bloc, so you can't visually group them (as this is the case for standard metrics)
- You can't specify where the user should be directed after clicking on a metric value
- You can't display a little graph
Allowing to display the metric where you want in the dashboard is really less important compared to the previous issues.
What would be great is to :
- Stop displaying metrics as soon as there are declared by a plugin
- Create a new optional extension point whose name could be DashboardMetricsBloc. This interface should give a way to :
- Specify the name of the bloc
- Specify the main measure to display
- Specify the list of secondary measures to display
- For each measure, there should be a way to specify the associated service