From 2eb3b2722f8148867b541c697d9f3b214cfe52d2 Mon Sep 17 00:00:00 2001 From: Chris Redelinghuys Date: Fri, 21 Nov 2025 14:28:24 -0500 Subject: [PATCH 1/2] CASH-1873: Show waiting modal for Mobile First --- src/layouts/schedule/schedule.vue | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 1bc3c0945..246ce2986 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -470,6 +470,10 @@ export default { shopListButton: shopListButton, lastSelectedInshopOrDropoffProvider: null, selectedMobileFirstAppointment: false, + isShowMobileFirstAppt: experimentMixin.methods.hasSettingEqualTo( + experimentSettings.SHOW_MOBILE_FIRST_APPT, + "true" + ), }; }, async beforeRouteEnter(to, from, next) { @@ -1196,6 +1200,8 @@ export default { }, async initializeDatePicker() { + this.isShowMobileFirstAppt && this.showLoadingModal(); + this.selectedDate = null; const includeMobileTimeSlots = this.isServiceableMobile; @@ -1233,6 +1239,8 @@ export default { this.setDisplayWaitList(); } } + + this.isShowMobileFirstAppt && this.hideLoadingModal(); }, getScheduleApiResponse, getServiceZipCtuCodeFromStore() { @@ -1349,6 +1357,9 @@ export default { showLoadingModal() { this.$refs.loadingModal.showModal(); }, + hideLoadingModal() { + this.$refs.loadingModal.hideModal(); + }, async forwardButtonAction() { this.navigatingForward = true; var ctu = this.zipCodeCtu; @@ -1747,10 +1758,6 @@ export default { }, async showMobileFirstModal() { if (!this.selectedRouteCodeData?.routeCode) { - const isShowMobileFirstAppt = experimentMixin.methods.hasSettingEqualTo( - experimentSettings.SHOW_MOBILE_FIRST_APPT, - "true" - ); const pmMobileDays = experimentMixin.methods.getSettingValue( experimentSettings.SHOW_PM_MOBILE_DAYS ); @@ -1805,7 +1812,7 @@ export default { ); } - if (isShowMobileFirstAppt) { + if (this.isShowMobileFirstAppt) { if (firstMobilePMDate && numberOfDaysToFirstMobilePMDate <= pmMobileDays) { preSelectedMobileAppointment = firstMobilePMAppt; } else if ( From 81f005a77fb6cc4a19c634c907bcb6bd9c50f45f Mon Sep 17 00:00:00 2001 From: Chloe Herd Date: Mon, 24 Nov 2025 12:53:14 -0500 Subject: [PATCH 2/2] Fix typo for flag value --- src/layouts/quote/quote.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 17326ec8e..01b585349 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -581,7 +581,7 @@ export default { return store.getters.isRecalibrationOnOrder; }, isQuotePageDiscountOnOrder() { - return this.quotePageDiscountPartsInfo?.length > 0; + return this.quoteDiscountPartsInfo?.length > 0; }, shouldHideRecalibration() { return (