diff --git a/src/helpers/heritage-integration/cookie-helper.js b/src/helpers/heritage-integration/cookie-helper.js index 8f0a99709..bf1c56b72 100644 --- a/src/helpers/heritage-integration/cookie-helper.js +++ b/src/helpers/heritage-integration/cookie-helper.js @@ -67,9 +67,9 @@ export function getDeviceIdValue(){ return cookieValuesSplit[1]; } - const cookieValueMatch = cookieValue.match("(?<=did=).*?(?=&)"); + const cookieValueMatch = cookieValue.match("^did=[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}"); if(cookieValueMatch){ - return cookieValueMatch[0]; + return cookieValueMatch[0].split('=')[1]; } return ''; diff --git a/src/router/index.js b/src/router/index.js index 1759dec68..ace5b43cc 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -200,6 +200,13 @@ function navigateToUrl(url, optionalQuery = {}) { externalUrl.searchParams.append(queryKey, optionalQuery[queryKey]); } + ///////////////////////////////////////////////////// + // TEMP CODE FOR TESTING WITH SPECIFIC EXPERIMENTS // + ///////////////////////////////////////////////////// + if (externalUrl.search.indexOf("corid=") != -1) + externalUrl.search = externalUrl.search + '&experiments=CollectEmailOnQuote=CollectEmailOnQuote_V1=YesCollectEmail_TEST1=true,RemoveServiceAreaPage=ServAreaRemoval_V7=ServAreaNoRemove_V7_TEST=true,VINeducationV2=VINeducation_V2=NoShowVINmodalV2_CONTROL=true,ServicePackages=ServicePackages_V1=NoShowPackages_CONTROL=true,PhotoUploadRedesign=PhotoUploadRedesign_V1=CurrentPhotoUpload_CONTROL=true,ScheduleDetailsServiceType=ScheduleBeforeServiceType_V1=ServTypeThenSched_CONTROL=true'; + ///////////// END TEMP CODE ///////////////////////// + window.location.assign(externalUrl); } diff --git a/src/styles/common-error-styles.scss b/src/styles/common-error-styles.scss index 530f9c392..1602778d3 100644 --- a/src/styles/common-error-styles.scss +++ b/src/styles/common-error-styles.scss @@ -7,6 +7,9 @@ input[type=radio]:focus + label { box-shadow: 0 0 0 2.5px $red; } + input[type=checkbox]:checked + label { + box-shadow: 0 0 0 1px $red !important; + } &:hover { box-shadow: 0px 0px 0px 4px $red-200; border-radius: 10px !important; diff --git a/src/ux-components/alert/alert.vue b/src/ux-components/alert/alert.vue index c20ec74f0..7cd719ba7 100644 --- a/src/ux-components/alert/alert.vue +++ b/src/ux-components/alert/alert.vue @@ -10,10 +10,10 @@ {{ copy.split(':')[1].split(',')[1] }} - {{ copy }} +

-

{{ alertCopy }}

+