Commit graph

617 commits

Author SHA1 Message Date
CarlNation
04d6d66e3e prettier 2025-05-31 15:57:58 -04:00
CarlNation
f49598220a CASH-843
CASH-843 prevent nav to return-user when loading a save quote
2025-05-31 15:52:51 -04:00
Chloe Herd
bd67b89942 More iframe fixes... 2025-05-28 16:50:34 -04:00
Chloe Herd
ac5b7187ad prettier 2025-05-27 12:10:30 -04:00
Chloe Herd
d3314cd889 Manually clear state rather than relying on second route 2025-05-27 12:00:07 -04:00
Chloe Herd
599e282947 Remove commented code 2025-05-22 10:29:08 -04:00
Chloe Herd
922b57d51c Stop some weird back behavior from iframe 2025-05-22 10:27:22 -04:00
Chloe Herd
42025313b5 Explicitly redirect to confirmation rather than cancelling nav. 2025-05-22 09:57:09 -04:00
Chloe Herd
31133fbda0 Better handling for starting second order in session 2025-05-21 14:57:09 -04:00
Chloe Herd
3d30648199 Cleanup timing for heritage-return session load 2025-05-14 11:48:37 -04:00
Chloe Herd
24be917e3a More logging 2025-05-13 16:50:05 -04:00
Chloe Herd
567a881766 Reapply "Load session before updating funnel cookie"
This reverts commit d8c838f530.
2025-05-13 16:37:42 -04:00
Chloe Herd
06eab76a39 Reapply "prettier"
This reverts commit 47f3a6cee9.
2025-05-13 16:37:12 -04:00
Chloe Herd
96bc773797 Reapply "debug return from heritage"
This reverts commit 25dfa5d74c.
2025-05-13 16:37:04 -04:00
Chloe Herd
5080aa90d9 Reapply "Only save session on nav if email or phone number is present"
This reverts commit a0dfd151e1.
2025-05-13 16:36:56 -04:00
Chloe Herd
7e211b4682 Reapply "Update logging for new router."
This reverts commit 2d65f850f1.
2025-05-13 16:36:48 -04:00
Chloe Herd
81a709f716 Reapply "Unplug Legacy Router"
This reverts commit 7b73313513.
2025-05-13 16:36:23 -04:00
Chloe Herd
d89f61a5b7 Reapply "Big split"
This reverts commit 0b80154cd9.
2025-05-13 16:36:13 -04:00
Chloe Herd
541536b3af Reapply "Omnibus"
This reverts commit ac3df43577.
2025-05-13 16:36:01 -04:00
hiteshkumar87
ab9005bc27 CASH-401 2025-04-09 18:01:57 +05:30
Scott Kiener
00e1998c44 Merge remote-tracking branch 'origin/release/2025.04.10' into rlsmerge/2025.04.10-to-develop 2025-04-08 10:08:34 -04:00
hiteshkumar87
24c088385d CASH-401
Geico insurance offer quote
2025-04-07 20:34:12 +05:30
Scott Kiener
af9775aa3b CASH-462 | Prettier changes 2025-04-03 14:17:31 -04:00
Scott Kiener
43d1353e52 CASH-462 | Add constant for submittedState 2025-04-03 14:15:39 -04:00
Scott Kiener
77c007c444 CASH-462 | Rename and restructure submittedOrder
Rename to submittedState
Add an applicationUser attribute
2025-04-03 13:19:44 -04:00
Chloe Herd
8f0c5ada04 Loading modal refactor 2025-03-31 15:32:24 -04:00
CarlNation
4886e0be92 CASH-207 CASH-97
CASH-207 CASH-97 - updates for tech review on CASH-97 for moving the vuex phone number update out of the router.  The also implemented CASH-207 to default the smsOptin to true when quick quote supplies a mobile number.
2025-02-08 07:43:24 -05:00
CarlNation
690d992ef7 CASH-176
CASH-176 service zip changes for sms
2025-02-05 09:03:46 -05:00
CarlNation
233a5fa4f0 CASH-97
CASH-97 use store action
2025-02-04 09:10:39 -05:00
CarlNation
19f775c463 CASH-97
CASH-97 use a store action/mutation to persist phone number in vuex.
2025-02-04 06:40:19 -05:00
Johnny shultz
969ea18d2a CASH-97
CASH-97 got phone number from leadGen and populated customer-details phone number field
2025-02-03 13:55:06 -05:00
Scott Kiener
5e47dd7bd2 CASH-166 | Changes to how experiment endpoints are called
"run" endpoint changed parameter name to deviceId to better reflect what is being passed

"logExposure" sends deviceId as well as userId now because it is used by new functionality
2025-01-29 15:24:37 -05:00
Chloe Herd
009f07df05 Prettier + parenthesis change 2025-01-27 18:06:01 -05:00
Chloe Herd
c313241d62 Merge branch 'release/2025.01.30' into feature/CASH-146 2025-01-27 18:04:03 -05:00
Chloe Herd
a8a959e491 Change eval to getBoolFromString helper 2025-01-27 18:02:34 -05:00
CarlNation
b3f492bfa4
Merge branch 'release/2025.01.30' into release/2025.01.25 2025-01-27 15:55:56 -05:00
CarlNation
c5ad651546 CASH-109
CASH-109 do not use the funnel session cookie as it will be deleted when the browser closes.  instead, look at vuex and make sure they at least have a vehicle year to determine if they have visited the site before.
2025-01-27 13:50:21 -05:00
CarlNation
ccc3feb15e CASH-160
CASH-160 promo code lost coming from content site /cjrepair.  Added all passed querystring keys to the redirect to return-user so they're not lost.
2025-01-24 13:50:40 -05:00
CarlNation
a6d038870e CASH-139
CASH-139 validate session out of order
2025-01-23 14:04:53 -05:00
CarlNation
16093ecaf7 CASH-139
CASH-139 remove fromHeritage querystring once validation is checked so expiration works on service location
2025-01-23 13:43:23 -05:00
CarlNation
64c09c2429 Revert "CASH-139"
This reverts commit 1240ef92c0.
2025-01-23 09:42:19 -05:00
CarlNation
1240ef92c0 CASH-139
CASH-139 remove fromHeritage querystring once validation is checked so expiration works on service location
2025-01-22 15:11:52 -05:00
CarlNation
7ff2c1b38f CASH-109
CASH-109 the implicit navigation won't work for verified insurance because the quote prereqs always returns false because verified insurance is not permitted on quote page.
Also prevent glassparts from being removed for return-users.
2025-01-22 10:44:12 -05:00
Bryan Mauger
9edfa4163a Formate code. 2025-01-21 14:16:05 -05:00
CarlNation
e409ae43a2 CASH-126
CASH-126 we are only going to check the content site as an external site that triggers the return user page
2025-01-21 09:21:11 -05:00
CarlNation
a8e6dfa9c3 CASH-126
CASH-126 prevent back from safeliteHop pages from navigating to return-user.  also turn prettier back on for pipeline
2025-01-21 06:29:02 -05:00
CarlNation
5d014a2262 CASH-109 tech review recommendations
Use router.push to navigate to return-user page
2025-01-20 10:59:36 -05:00
CarlNation
32a73e25f4 CASH-109 add logic to direct to return user page when navigating from external site excluding heritage
CASH-109 add logic to direct to return user page when navigating from external site excluding heritage
2025-01-19 12:22:51 -05:00
CarlNation
9822cdfedf CASH-109 return user page
CASH-109 return user page for when a session times out
2025-01-17 15:34:05 -05:00
CarlNation
073abeb367 Merge branch 'develop' into release/syp-release 2025-01-17 09:07:20 -05:00
hiteshkumar87
5ed296a85e CASH-89
making external parameter status to previously set InActive
2025-01-17 19:10:17 +05:30
hiteshkumar87
da41aa8dc5 CASH-89
move function call resetStoreForExternalParameter when we are actually having external parameter call.
2025-01-16 22:26:39 +05:30
Chloe Herd
7af0c3f0a1 Defensive coding in error handling 2025-01-15 10:50:14 -05:00
Chloe Herd
fc834f9d12 Additional error logging 2025-01-15 10:31:06 -05:00
Adam Caouette
6ec8709aa4 CASH-61: add logging to GoToFunnelStartOn404 2025-01-14 11:47:14 -05:00
CarlNation
02183aab9f CASH-80 request insurance company page and let nextgen decide
CASH-80 request insurance company page and let nextgen decide
2025-01-07 13:21:52 -05:00
CarlNation
c2aa73cf7c CASH-80
CASH-80 allow heritage to redirect to insurance company page now.
2025-01-06 14:15:58 -05:00
CarlNation
e54363e503 CASH-60
CASH-60 return to avoid race conditions.
2025-01-03 13:58:09 -05:00
CarlNation
43933480b5 CASH-60
CASH-60 remove the async await from the payment page prereqs.  Causes a promise to be returned instead of a bool.  Moved it to the router instead
2025-01-03 13:44:56 -05:00
CarlNation
b593d921cc CASH-60
CASH-60 handle scenarios where the user may be using browser navigation.  try to wait for promises.  reset pia indicator.  also add route from customer-details for pay-now scenario.  the browser back/forward seems to trigger 2 scenarios on customer-details so just sending the pay-now scenario back to payment-method page instead of causing a script error
2025-01-03 11:51:27 -05:00
CarlNation
bba652cd1a Add logging to debug QA automation failure.
Add logging to debug QA automation failure.  Kishan reports about 1 out of 10 requests to this endpoint fail running qa regression.
2024-12-06 08:35:03 -05:00
CarlNation
96b92c6f30 remove it 2024-11-15 12:29:00 -05:00
CarlNation
33d26f8d37 another fix 2024-11-15 12:24:03 -05:00
CarlNation
8dbb39d2e8 logging fixes
logging fixes
2024-11-15 12:07:39 -05:00
CarlNation
2731a778d9 remove log causing error
remove log causing error
2024-11-15 10:44:35 -05:00
CarlNation
b0d6ad304e CSR-2386 nav corrections
CSR-2386 nav corrections
2024-11-15 10:24:35 -05:00
CarlNation
246e6aa9e5 make conditional logging a function call 2024-11-15 07:58:35 -05:00
CarlNation
870a4ea45a conditional logging in router
conditional logging in router
2024-11-14 15:49:08 -05:00
CarlNation
d93289ba20 CSR-2362 quickquote leadgen fails returning from heritage
CSR-2362 quickquote leadgen fails returning from heritage.  This is because the router clears specific information if there is an inactive external parameter indicating that they have been through the flow already.  This handles when they click back in a browser back to the content site.  If they are returning from heritage skip this step.
2024-11-11 14:13:55 -05:00
Chloe Herd
fa52ee0b3d Use set/reset actions instead of directly calling mutations 2024-10-31 12:23:18 -04:00
CarlNation
c10780fc10 CSR-2299 multiple leadgen
CSR-2299 if a customer uses browser back buttons to restart their leadgen session from the content site, the load session would prevent us from persisting any new data they may have changed on the LeadGen content site.  So moved the updateExternalParams to after the load and then cleared any items that may need reset.
2024-10-31 08:31:08 -04:00
CarlNation
78ccdb8250 CSR-2294 $0 deductible do not show payment alert
CSR-2294 $0 deductible do not show payment alert
2024-10-30 09:31:53 -04:00
CarlNation
9725665fac CSR-2290 - reset part state when vehicle changed
CSR-2290 - reset part state when vehicle changed by heritage during insurance verification
2024-10-29 15:57:31 -04:00
CarlNation
4c832789df Revert "CSR-2290 - reset part state when vehicle changed"
This reverts commit 90bc2e0383.
2024-10-29 15:56:52 -04:00
CarlNation
90bc2e0383 CSR-2290 - reset part state when vehicle changed
CSR-2290 - reset part state when vehicle changed by heritage during insurance verification
2024-10-29 15:55:15 -04:00
CarlNation
df99b06743 CSR-2276 restructure the external parm checking for isinsurance to properly check the experimet thresholds
CSR-2276 restructure the external parm checking for isinsurance to properly check the experimet thresholds
2024-10-25 13:30:24 -04:00
CarlNation
504914afe1 CSR-2262 Heritage replaced email with phone in LeadGen
CSR-2262 Heritage replaced email with phone in LeadGen.  This caused is to stop on the service-zip page without zip or email because we only saved zip code if we also had email.
2024-10-22 08:32:32 -04:00
CarlNation
21f3c28c11 CSR-2262 persist isInsurance through the site
CSR-2262 persist isInsurance through the site so that we know when we get to the quote page if it was set through the leadgen querystring parm
2024-10-21 15:01:01 -04:00
CarlNation
ee79be8396 CSR-2253
CSR-2253 if we're loading a session and we do not have a provider number yet, then set isInsurance to null so that
a service package is not selected by default on the quote page.
2024-10-15 09:36:30 -04:00
hiteshkumar87
61353f1cc9
Merge pull request #2019 from Safelite/feature/Digital/CSR-1629
CSR-1629
2024-10-09 15:58:09 +05:30
hiteshkumar87
39ac9c1c19 CSR-1629
changing the order of CJ events
2024-10-09 15:51:20 +05:30
Adam Caouette
b48a62b3fc CSR-2234: implement new externalParameter constants 2024-10-03 08:59:55 -04:00
CarlNation
40ba5bb3b8 CSR-1600
CSR-1600 rename pia field
2024-09-23 14:04:47 -04:00
hiteshkumar87
d7c3d64f7b
Merge pull request #1984 from Safelite/feature/Digital/CSR-1629
CSR-1629
2024-09-19 20:53:35 +05:30
Adam Caouette
0ca54edddf CSR-2166: updates to external parameter naming 2024-09-19 10:01:01 -04:00
hiteshkumar87
2fb6726044 CSR-1629
CJ Pixel tracking and product array for CJ conversion tag and eCommerceCart for subTotal
2024-09-19 16:11:08 +05:30
Adam Caouette
e538f4d8c2 CSR-2166: add experiments as an externalParameter in store and capture in router 2024-09-18 15:32:07 -04:00
hiteshkumar87
eeb0661882 CSR-2216
change isExternalParameter getter
2024-09-10 18:48:32 +05:30
CarlNation
b0e106df4a Merge branch 'develop' into feature/CSR-2193 2024-09-06 10:00:11 -04:00
CarlNation
6b42a04068 CSR-2193 submittedOrder issue
CSR-2193 the getter in the vuex store does not seem to return the submittedOrder data.  Possibly related to caching due to the recent upgrade to vuex.  Not 100% certain.  So just moved the submittedOrder logic out of the store and into the basemix.
2024-09-06 09:58:56 -04:00
hiteshkumar87
663c1d90e2
Merge branch 'develop' into feature/Digital/CSR-1629 2024-09-04 14:59:36 +05:30
CarlNation
a6c92b6255 CSR-2185
CSR-2185 vue-router no longer supports properties via params without it showing in the url.
https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22
2024-09-04 05:17:31 -04:00
hiteshkumar87
71fbc6a595 CSR-1629
creating non-CJ and CJE cookie for Nextgen
2024-09-04 14:42:48 +05:30
CarlNation
ec00031755
Merge pull request #1959 from Safelite/feature/CSR-2185
CSR-2185
2024-09-03 14:06:01 -04:00
CarlNation
42dc848ee4 CSR-2185
CSR-2185 vue-router no longer supports properties via params without it showing in the url.
https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22
2024-09-03 14:00:42 -04:00
scottkiener
cbcf0b1bd2
Merge pull request #1948 from Safelite/feature/CSR-2185
CSR-2185 | Update to Node 20.17.0
2024-08-27 16:51:50 -04:00
Scott Kiener
a1335a56d3 Rectify prettier change 2024-08-27 16:18:22 -04:00
CarlNation
c6237fbc6b
Merge pull request #1952 from Safelite/feature/CSR-2177
CSR-2177
2024-08-27 09:02:35 -04:00
CarlNation
b6df3ac8d2 CSR-2177
CSR-2177 we need to allow navigation forward on a policy vehicle change so that we call parts again for the new vehicle.  Having the jump back to heritage on service-zip prevents parts from being called again so we end up in heritage with no items on the order.  Nav to heritage will still happen in the vehicle-questions-mixin logic or the quote beforerouteenter logic.
2024-08-26 15:13:30 -04:00
Adam Caouette
15aaca73ac CSR-2183: avoid 'invalid navigation guard' by ensuring next() is always resolved 2024-08-24 10:58:42 -04:00