import MeasuresLink from '../../../components/common/MeasuresLink';
import Measure from '../../../components/measure/Measure';
import { getComponentDrilldownUrl } from '../../../helpers/urls';
+import { GraphType } from '../../../types/project-activity';
import { METRICS_PER_TYPE } from '../utils';
import Effort from './Effort';
import MainRating from './MainRating';
<MeasuresLink component={component} metric={keys.measuresMetric} />
</div>
<div>
- <ActivityLink component={component} metric={keys.activity || keys.rating} />
+ <ActivityLink
+ component={component}
+ metric={keys.activity || keys.rating}
+ graph={GraphType.custom}
+ />
</div>
</div>
</div>
label: 'metric_domain.Reliability',
rating: 'reliability_rating',
effort: 'reliability_rating_effort',
- last_change: 'last_change_on_reliability_rating'
+ last_change: 'last_change_on_reliability_rating',
+ activity: 'reliability_rating,bugs'
},
vulnerabilities: {
measuresMetric: 'Security',
label: 'portfolio.metric_domain.security_hotspots',
rating: 'security_review_rating',
effort: 'security_review_rating_effort',
- last_change: 'last_change_on_security_review_rating'
+ last_change: 'last_change_on_security_review_rating',
+ activity: 'security_review_rating,security_hotspots'
},
maintainability: {
measuresMetric: 'Maintainability',
label: 'metric_domain.Maintainability',
rating: 'sqale_rating',
effort: 'maintainability_rating_effort',
- last_change: 'last_change_on_maintainability_rating'
+ last_change: 'last_change_on_maintainability_rating',
+ activity: 'sqale_rating,code_smells'
}
};