feat: move flagged rate
This commit is contained in:
+4
-1
@@ -33,6 +33,9 @@ const flagReasons = [
|
||||
const total = computed(() =>
|
||||
flagReasons.reduce((sum, reason) => sum + reason.count, 0)
|
||||
);
|
||||
|
||||
// Flagged responses as a share of all Captain replies (sample data).
|
||||
const rate = '1.3%';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -44,7 +47,7 @@ const total = computed(() =>
|
||||
{{ $t('CAPTAIN.OVERVIEW.FLAGGED.TITLE') }}
|
||||
</span>
|
||||
<span class="text-sm text-n-slate-11">
|
||||
{{ $t('CAPTAIN.OVERVIEW.FLAGGED.TOTAL', { count: total }) }}
|
||||
{{ $t('CAPTAIN.OVERVIEW.FLAGGED.TOTAL', { count: total, rate }) }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex flex-col gap-3">
|
||||
|
||||
@@ -411,9 +411,9 @@
|
||||
"LABEL": "Handoff rate",
|
||||
"HINT": "Share of handled conversations escalated to a human agent."
|
||||
},
|
||||
"FLAGGED": {
|
||||
"LABEL": "Flagged response rate",
|
||||
"HINT": "Assistant replies agents reported as low quality."
|
||||
"HOURS_SAVED": {
|
||||
"LABEL": "Hours saved",
|
||||
"HINT": "Estimate: Captain replies times the team's average response time. Directional, not measured labor."
|
||||
},
|
||||
"REOPEN": {
|
||||
"LABEL": "Reopen rate",
|
||||
@@ -433,7 +433,7 @@
|
||||
},
|
||||
"FLAGGED": {
|
||||
"TITLE": "Response quality",
|
||||
"TOTAL": "{count} flagged"
|
||||
"TOTAL": "{count} flagged · {rate}"
|
||||
},
|
||||
"CREDITS": {
|
||||
"TITLE": "Credit usage",
|
||||
|
||||
Reference in New Issue
Block a user