From 23b4df7e174cc942b075828bed519ce4346b2201 Mon Sep 17 00:00:00 2001 From: Jennifer Bennett Date: Thu, 17 Dec 2020 13:30:05 -0600 Subject: [PATCH 1/3] Tweaks from Sprint Review --- .../labels/CustomLabels.labels-meta.xml | 20 +++++++++---------- .../default/lwc/attendance/attendance.html | 2 +- .../main/default/lwc/attendance/attendance.js | 13 ++---------- .../lwc/recentSessions/recentSessions.html | 6 +++--- .../lwc/recentSessions/recentSessions.js | 4 ++-- .../listViews/All.listView-meta.xml | 2 ++ 6 files changed, 20 insertions(+), 27 deletions(-) diff --git a/force-app/main/default/labels/CustomLabels.labels-meta.xml b/force-app/main/default/labels/CustomLabels.labels-meta.xml index 4910a2d1e..32b559899 100644 --- a/force-app/main/default/labels/CustomLabels.labels-meta.xml +++ b/force-app/main/default/labels/CustomLabels.labels-meta.xml @@ -67,11 +67,11 @@ Anonymous - Attendance + TrackAttendance en_US false - Attendance - Attendance + Track Attendance + Track Attendance Save_Service_Delivery_Success @@ -214,11 +214,11 @@ Done - Dont_Log_Attendance + Dont_Track_Attendance en_US true - Don't log attendance for this participant - Don't log attendance for this participant + Don't track attendance for this participant + Don't track attendance for this participant Enabled @@ -279,12 +279,12 @@ You can't delete this record. Ask your admin for help. - Duration + Time_Frame en_US true - Duration - Duration + Time Frame + Time Frame Last_Week @@ -680,7 +680,7 @@ en_US true Warning when list view limit is reached. - There are over 2,000 records. Some records may not be shown. + This List View has over 2,000 records. Some records may not be shown. Months diff --git a/force-app/main/default/lwc/attendance/attendance.html b/force-app/main/default/lwc/attendance/attendance.html index 0bf481651..f1ba40575 100644 --- a/force-app/main/default/lwc/attendance/attendance.html +++ b/force-app/main/default/lwc/attendance/attendance.html @@ -25,7 +25,7 @@
- {header} + {labels.trackAttendance}
diff --git a/force-app/main/default/lwc/attendance/attendance.js b/force-app/main/default/lwc/attendance/attendance.js index 69c9acd4a..1c34fd60f 100644 --- a/force-app/main/default/lwc/attendance/attendance.js +++ b/force-app/main/default/lwc/attendance/attendance.js @@ -32,7 +32,7 @@ import CREATED_BY_FIELD from "@salesforce/schema/ServiceDelivery__c.CreatedById" import SESSION_STATUS_FIELD from "@salesforce/schema/ServiceSession__c.Status__c"; import SUBMIT_LABEL from "@salesforce/label/c.Submit"; -import ATTENDANCE_LABEL from "@salesforce/label/c.Attendance"; +import TRACK_ATTENDANCE_LABEL from "@salesforce/label/c.TrackAttendance"; import LOADING_LABEL from "@salesforce/label/c.Loading"; import SUCCESS_LABEL from "@salesforce/label/c.Success"; import SUCCESS_MESSAGE_LABEL from "@salesforce/label/c.Save_Service_Delivery_Success"; @@ -74,7 +74,7 @@ export default class Attendance extends NavigationMixin(LightningElement) { labels = { submit: SUBMIT_LABEL, - attendance: ATTENDANCE_LABEL, + trackAttendance: TRACK_ATTENDANCE_LABEL, loading: LOADING_LABEL, success: SUCCESS_LABEL, successMessage: SUCCESS_MESSAGE_LABEL, @@ -198,15 +198,6 @@ export default class Attendance extends NavigationMixin(LightningElement) { return this.sessionStatus && this.sessionStatus === PENDING; } - get header() { - return ( - this.labels.attendance + - (this.serviceDeliveries && this.serviceDeliveries.length - ? " (" + this.serviceDeliveries.length + ")" - : "") - ); - } - get printButtonLabel() { return this.pageRef.type === ITEM_PAGE_NAVIGATION_TYPE ? this.labels.print diff --git a/force-app/main/default/lwc/recentSessions/recentSessions.html b/force-app/main/default/lwc/recentSessions/recentSessions.html index 327dcda65..c993d7b56 100644 --- a/force-app/main/default/lwc/recentSessions/recentSessions.html +++ b/force-app/main/default/lwc/recentSessions/recentSessions.html @@ -26,9 +26,9 @@

class="listViewSelector" label={selectedMenuItemLabel} onselect={handleMenuItemSelected} - id="durationSelector" + id="timeFrameSelector" >