diff --git a/frontend/src/components/SprintTable.vue b/frontend/src/components/SprintTable.vue index e534902..5b9cada 100644 --- a/frontend/src/components/SprintTable.vue +++ b/frontend/src/components/SprintTable.vue @@ -33,7 +33,7 @@ function formatCompletion(value: number | null): string { return `${value.toFixed(1)}%` } -function formatLeadTimeInt(value: number | null): string { +function formatMetricInt(value: number | null): string { if (value === null) { return '—' } @@ -41,7 +41,7 @@ function formatLeadTimeInt(value: number | null): string { return String(value) } -function formatLeadTimePercentile(value: number | null): string { +function formatMetricPercentile(value: number | null): string { if (value === null) { return '—' } @@ -92,20 +92,22 @@ watch(
| Спринт | -Выполнение | +Спринт | +Выполнение | Lead Time | -||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Границы | -Персентиль | +Количество заходов на тестирование | ||||||||||
| max | min | -95 | -80 | -50 | +95pp | +80pp | +50pp | +max | +min | +95pp | +80pp | +50pp | {{ formatLeadTimeInt(sprint.lead_time_max) }} | -{{ formatLeadTimeInt(sprint.lead_time_min) }} | -{{ formatLeadTimePercentile(sprint.lead_time_p95) }} | -{{ formatLeadTimePercentile(sprint.lead_time_p80) }} | -{{ formatLeadTimePercentile(sprint.lead_time_p50) }} | +{{ formatMetricInt(sprint.lead_time_max) }} | +{{ formatMetricInt(sprint.lead_time_min) }} | +{{ formatMetricPercentile(sprint.lead_time_p95) }} | +{{ formatMetricPercentile(sprint.lead_time_p80) }} | +{{ formatMetricPercentile(sprint.lead_time_p50) }} | +{{ formatMetricInt(sprint.test_count_max) }} | +{{ formatMetricInt(sprint.test_count_min) }} | +{{ formatMetricPercentile(sprint.test_count_p95) }} | +{{ formatMetricPercentile(sprint.test_count_p80) }} | +{{ formatMetricPercentile(sprint.test_count_p50) }} |