diff --git a/app/javascript/dashboard/components/widgets/conversation/components/SLACardLabel.vue b/app/javascript/dashboard/components/widgets/conversation/components/SLACardLabel.vue
index e5514910c..bdffc7e78 100644
--- a/app/javascript/dashboard/components/widgets/conversation/components/SLACardLabel.vue
+++ b/app/javascript/dashboard/components/widgets/conversation/components/SLACardLabel.vue
@@ -5,10 +5,10 @@
:class="showExtendedInfo ? 'h-[26px] rounded-lg' : 'rounded h-5'"
>
@@ -51,6 +51,7 @@
+
+
+
+ {{ label }}
+
+
+
+ {{ formatDate(item.created_at) }}
+
+
+
+
+
diff --git a/app/javascript/dashboard/components/widgets/conversation/components/SLAPopoverCard.vue b/app/javascript/dashboard/components/widgets/conversation/components/SLAPopoverCard.vue
index 0b457cb9a..479e2794f 100644
--- a/app/javascript/dashboard/components/widgets/conversation/components/SLAPopoverCard.vue
+++ b/app/javascript/dashboard/components/widgets/conversation/components/SLAPopoverCard.vue
@@ -1,45 +1,85 @@
-
+ {{ $t('SLA.EVENTS.TITLE') }}
+
+
+
-
- {{
- $t(
- `CONVERSATION.HEADER.SLA_POPOVER.${upperCase(missedSLA.event_type)}`
- )
- }}
-
-
- {{ $t('CONVERSATION.HEADER.SLA_POPOVER.MISSED') }}
-
-
- {{ formatDate(missedSLA.created_at) }}
-
-
+
+
+
+ {{
+ shouldShowAllNrts
+ ? $t('SLA.EVENTS.HIDE', { count: nrtMisses.length })
+ : $t('SLA.EVENTS.SHOW_MORE', { count: nrtMisses.length })
+ }}
+
+
+
+
+
diff --git a/app/javascript/dashboard/constants/globals.js b/app/javascript/dashboard/constants/globals.js
index b8014ce6c..fe28c9d88 100644
--- a/app/javascript/dashboard/constants/globals.js
+++ b/app/javascript/dashboard/constants/globals.js
@@ -59,5 +59,10 @@ export default {
TYPE: 'type',
SORT_ORDER: 'sort_order',
},
+ SLA_MISS_TYPES: {
+ FRT: 'frt',
+ NRT: 'nrt',
+ RT: 'rt',
+ },
};
export const DEFAULT_REDIRECT_URL = '/app/';
diff --git a/app/javascript/dashboard/i18n/locale/en/conversation.json b/app/javascript/dashboard/i18n/locale/en/conversation.json
index 42aa7b4a4..d6ea8f83d 100644
--- a/app/javascript/dashboard/i18n/locale/en/conversation.json
+++ b/app/javascript/dashboard/i18n/locale/en/conversation.json
@@ -71,12 +71,6 @@
"RT": "RT {status}",
"MISSED": "missed",
"DUE": "due"
- },
- "SLA_POPOVER": {
- "FRT": "First Response Time",
- "NRT": "Next Response Time",
- "RT": "Resolution Time",
- "MISSED": "missed on"
}
},
"RESOLVE_DROPDOWN": {
diff --git a/app/javascript/dashboard/i18n/locale/en/sla.json b/app/javascript/dashboard/i18n/locale/en/sla.json
index d47e89c05..ce6e3d17e 100644
--- a/app/javascript/dashboard/i18n/locale/en/sla.json
+++ b/app/javascript/dashboard/i18n/locale/en/sla.json
@@ -83,6 +83,14 @@
"YES": "Yes, Delete ",
"NO": "No, Keep "
}
+ },
+ "EVENTS": {
+ "TITLE": "SLA Misses",
+ "FRT": "First response time",
+ "NRT": "Next response time",
+ "RT": "Resolution time",
+ "SHOW_MORE": "{count} more",
+ "HIDE": "Hide {count} rows"
}
}
-}
\ No newline at end of file
+}
diff --git a/app/javascript/dashboard/routes/dashboard/settings/reports/components/SLA/SLAViewDetails.vue b/app/javascript/dashboard/routes/dashboard/settings/reports/components/SLA/SLAViewDetails.vue
index 72bc4749a..cdeda0af2 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/reports/components/SLA/SLAViewDetails.vue
+++ b/app/javascript/dashboard/routes/dashboard/settings/reports/components/SLA/SLAViewDetails.vue
@@ -13,7 +13,7 @@