From 6d4551bca228f7f3247fffcab0ecd559fae1b338 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Sat, 23 Mar 2024 03:09:09 +0530 Subject: [PATCH] feat: Update the design for SLA policy management pages (#9136) Co-authored-by: Shivam Mishra Co-authored-by: Pranav --- .../dashboard/i18n/locale/en/sla.json | 13 -- .../dashboard/settings/SettingsLayout.vue | 19 ++- .../components/BaseSettingsListItem.vue | 2 +- .../routes/dashboard/settings/sla/Index.vue | 141 +++++++----------- .../settings/sla/components/SLAListItem.vue | 6 +- .../sla/components/SLAListItemLoading.vue | 30 ++++ .../dashboard/settings/sla/sla.routes.js | 10 +- 7 files changed, 109 insertions(+), 112 deletions(-) create mode 100644 app/javascript/dashboard/routes/dashboard/settings/sla/components/SLAListItemLoading.vue diff --git a/app/javascript/dashboard/i18n/locale/en/sla.json b/app/javascript/dashboard/i18n/locale/en/sla.json index dcf8d2dca..d9670eb06 100644 --- a/app/javascript/dashboard/i18n/locale/en/sla.json +++ b/app/javascript/dashboard/i18n/locale/en/sla.json @@ -4,22 +4,9 @@ "ADD_ACTION": "Add SLA", "DESCRIPTION": "Service Level Agreements (SLAs) are contracts that define clear expectations between your team and customers. They establish standards for response and resolution times, creating a framework for accountability and ensures a consistent, high-quality experience.", "LEARN_MORE": "Learn more about SLA", - "HEADER_BTN_TXT": "Add SLA", "LOADING": "Fetching SLAs", - "SEARCH_404": "There are no items matching this query", - "SIDEBAR_TXT": "

SLA

Think of Service Level Agreements (SLAs) like friendly promises between a service provider and a customer.

These promises set clear expectations for things like how quickly the team will respond to issues, making sure you always get a reliable and top-notch experience!

", "LIST": { "404": "There are no SLAs available in this account.", - "TITLE": "Manage SLA", - "DESC": "SLAs: Friendly promises for great service!", - "TABLE_HEADER": [ - "Name", - "Description", - "FRT", - "NRT", - "RT", - "Business Hours" - ], "BUSINESS_HOURS_ON": "Business hours on", "BUSINESS_HOURS_OFF": "Business hours off", "RESPONSE_TYPES": { diff --git a/app/javascript/dashboard/routes/dashboard/settings/SettingsLayout.vue b/app/javascript/dashboard/routes/dashboard/settings/SettingsLayout.vue index 6dd3c306b..618805309 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/SettingsLayout.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/SettingsLayout.vue @@ -1,6 +1,23 @@ + diff --git a/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsListItem.vue b/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsListItem.vue index 005eece80..337c370cd 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsListItem.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsListItem.vue @@ -12,7 +12,7 @@ defineProps({