Commit graph

323 commits

Author SHA1 Message Date
Chloe Herd
4a0c92a0f7 Clear state when erroring on nav to funnel start 2024-01-18 14:19:39 -05:00
CarlNation
e056887ca5 CSR-1855 pretier 2024-01-09 10:00:51 -05:00
CarlNation
285bad0eb1 CSR-1855 global error handling
CSR-1855 global error handling
2024-01-09 09:55:30 -05:00
hiteshkumar87
e08e73bbc5 CSR-1898
remove modal background shifted to Schedule page and rename ForwardClicked event to TimeSlotSelected
2024-01-04 13:21:12 +05:30
hiteshkumar87
2e422019e6 CSR-1898
Button copy change & immediately continue (from modal) on Schedule page
2024-01-03 16:35:53 +05:30
Matt Caimi
393ce3df4d CSR-1852 updated to use page constants 2023-12-28 16:49:54 -05:00
Matt Caimi
44a6218328 CSR-1852 navigate out of iframe to confirmation page 2023-12-28 15:32:36 -05:00
Chloe Herd
345265ca17 Change some magic values to constants 2023-12-18 16:30:56 -05:00
Chloe Herd
0998285fd8 Remove calls to RouteInfo and GetHomePage in router. 2023-12-18 15:25:38 -05:00
Chloe Herd
fae98b0e37 Quickfix -- restrict prior fix to vehicle only to preserve modals 2023-12-08 14:28:04 -05:00
Chloe Herd
87bac3566f Reload on self-navigation to avoid total locks on vehicle 2023-12-07 15:21:58 -05:00
Chloe Herd
4510241bdd Cleanup 2023-12-01 08:12:19 -05:00
Scott Kiener
76905cb3f1 CSR-1816 | SaveSessionPromise invalidation fix
Separate out the saveSessionPromise reset from other  "fresh" funnel entry logic
2023-11-21 10:27:16 -05:00
Scott Kiener
637919abd2 CSR-1816 | Refresh on payment-method breaks saveSession
Made sure that the saveSessionPromise is not invalidated by a refresh on payment-method
2023-11-21 10:02:28 -05:00
Matt Caimi
702d03f974 CSR-1462 break confirmation page out of iframe 2023-11-10 11:44:37 -05:00
Chloe Herd
36ab8e04eb Redirect to confirmation if submitted order is present 2023-11-01 15:32:00 -04:00
Bill Richardson
92778c8bcb Merge branch 'release/pre-cash-enhancements' into feature/richardson/CSR-1696.merge-to-dev 2023-10-31 16:40:52 -04:00
Bill Richardson
e25425e2a0 This should have the new behavior and keep the old behavior 2023-10-27 14:16:12 -04:00
Scott Kiener
291e13330d CSR-1520 | First integration of promo logic
Implementation of validate and revalidate endpoints in the store
Validate promo on quote via query string promo
Revalidate promos on quote page load
Remove promo query string on quote and payment-method forward navigation
Add in Id logic for all line items
Send relevant pricing data to service package question to be used later for UX changes
2023-10-12 12:03:02 -04:00
CarlNation
1dba4521c5 CSR-1392
added paypal errorhandling and modals
2023-10-05 08:51:16 -04:00
CarlNation
b662ee4a99 CSR-1413
add routing from review to payment-method.
also move the submit work order from review to payment-method and await it.
2023-09-28 13:41:04 -04:00
Chloe Herd
fed47a13e9 Save/Load Session 2023-09-20 11:16:45 -04:00
Chloe Herd
5c38498a23 Merge branch 'develop' into bug/chloeherd/analytics-mismatch 2023-09-20 09:06:27 -04:00
Chloe Herd
7aa61e8998 Runexperiments 2023-09-19 12:50:09 -04:00
Scott Kiener
49a4ac5247 Merge remote-tracking branch 'origin/release/2023.09.14' into rlsMerge/2023.09.14-to-develop 2023-09-14 15:33:01 -04:00
CarlNation
a3dff865ea CSR-1625
router/index.js assumes a load-session successful response should always go to heritage.  This may have been true in the initial version of NextGen but now we can load and direct it to the correct page.  The incorrect routing to heritage was also failing here for returning users that already had a NextGen cookie.  The error caused us to route to the beginning.
Fixed that error by removing the default true in the navigateToHeritageFunnel and changing all calls to pass a true or false.
2023-09-08 08:25:44 -04:00
CarlNation
c18bdec2ab CSR-1623
missed semi-colons prettier
2023-09-01 11:04:48 -04:00
CarlNation
b14119278e CSR-1623
persist promo code and pass to heritage
2023-09-01 10:58:07 -04:00
Chloe Herd
04136e189b Removed test navigation scenario to fix url 2023-08-15 16:46:25 -04:00
CarlNation
576e96afae Revert "Merge pull request #1278 from Safelite/feature/CSR-1582"
This reverts commit 5c67a0859e.
2023-08-07 16:56:54 -04:00
Leah Schumann
503e6ab619 CSR-1381 - Created page for payment method
Initial stub for payment method page. Note: Styling around header may still be necessary. I got it to where I thought it was right
2023-08-04 07:58:00 -04:00
CarlNation
0411e3cd1f CSR-1582 concept save quote links do not load 2023-07-28 13:26:20 -04:00
hiteshkumar87
dda20d8708
Merge branch 'release/submit-cash' into rlsmerge/develop-to-submit-cash-30-June 2023-06-30 16:56:54 +05:30
Matt Caimi
cd3992694c Merge remote-tracking branch 'origin/release/2023.07.07' into rlsmerge/release-2023.07.07-to-develop 2023-06-27 14:56:22 -04:00
Matt Caimi
1729748690 CSR-1439 comments 2023-06-26 13:35:23 -04:00
Matt Caimi
c7adf2d9a7 CSR-1439 comment to describe lastNavPage setting 2023-06-26 13:24:44 -04:00
Matt Caimi
6a53856fbf CSR-1439 removed comment 2023-06-26 12:30:54 -04:00
Matt Caimi
cbfd6e49d2 CSR-1439 handle browser navigation 2023-06-26 12:25:22 -04:00
Matt Caimi
c7f76b1348 CSR-1439 refactor navigated page storage 2023-06-23 13:09:30 -04:00
Matt Caimi
bfdda1fcf0 CSR-1439 email provided ga event 2023-06-22 09:22:57 -04:00
Matt Caimi
20d7917b7c CSR-1439 email provided ga event 2023-06-21 10:17:47 -04:00
Mark Harris
13b7dc13c1 fixed merge issue 2023-06-19 11:40:00 -04:00
Mark Harris
fb6e825aa3 Merge remote-tracking branch 'origin/develop' into release/submit-cash 2023-06-19 11:30:29 -04:00
Adam Caouette
5b6e68b8c5 CSR-886: remove demo pages / code 2023-05-23 11:10:31 -04:00
Chloe Herd
0311588e3e Re-add CSR-1367. 2023-05-23 10:02:03 -04:00
Chloe Herd
b3813eedb1 Revert CSR-1367 2023-05-23 09:09:54 -04:00
Chloe Herd
8e63abd08d Add initial iteration for review page 2023-05-16 17:39:30 -04:00
Bryan Mauger
de936953bc Format code. 2023-04-14 10:08:29 -04:00
Bryan Mauger
3eb7df9f21 Fix issue where "page" does not begin at top when...
changing routes.
2023-04-14 09:52:24 -04:00
Adam Caouette
fb0280fa18 CSR-1129: create schedule page, put date picker on it 2023-04-05 10:56:34 -04:00
Adam Caouette
3693636924 Merge branch 'develop' into feature/CSR-886 2023-03-15 09:54:17 -04:00
CarlNation
d8d653e7cb Merge branch 'release/2023.03.09' into rlsmerge/2023.03.09-to-develop-v3 2023-03-02 09:53:42 -05:00
CarlNation
a29fb2b2a4 CSR-945 CSR-946
prettier
2023-03-02 09:46:53 -05:00
CarlNation
9ec12c81bd CSR-945 CSR-969
use lower case for querystring parms
2023-03-02 09:43:00 -05:00
CarlNation
a1120943b1 Merge branch 'release/2023.03.09' into rlsmerge/2023.03.09-to-develop 2023-02-24 10:16:44 -05:00
CarlNation
57f3b80e6f CSR-945
Allow zipCode querystring in concept funnel
2023-02-24 09:58:55 -05:00
Adam Caouette
603068f98d CSR-886: set up demo date picker page and beginnings of date-picker component 2023-02-10 13:18:04 -05:00
Bryan Mauger
15319196db WIP Update file paths. 2023-01-17 16:58:09 -05:00
Scott Kiener
941097a407 CSR-1055 | Defer most await scenarios to saveSession call 2023-01-16 12:09:50 -05:00
Katie
1ba6a13875 CSR-747 Add isInsurance override on quote 2022-12-13 16:40:10 -05:00
Katie
53adf2f939 CSR-747 Cleanup 2022-12-08 13:25:22 -05:00
Katie
aa875c84d7 CSR-747 WIP 2022-12-05 15:50:30 -05:00
Katie
aa6aad7c07 CSR-747 Navigate to and from heritage funnel 2022-11-15 16:49:34 -05:00
Katie
c7b04667e0 Format everything 2022-10-28 10:10:11 -04:00
scottkiener
56954163db
Merge pull request #788 from Safelite/feature/quote-page-testing-nav
Removing direct route
2022-10-28 09:24:49 -04:00
Scott Kiener
5d9cbf9db4 Removing direct route 2022-10-28 09:16:18 -04:00
Katie
e700dc6b4e CSR-762 Fix merge conflicts, heritage integration 2022-10-27 11:13:33 -04:00
Katie
751a04dc31 CSR-762 Add tests, fix some buttonsInfo logic 2022-10-27 09:57:16 -04:00
CarlNation
644bfebe22 CSR-752 renamed save and load endpoints 2022-10-07 10:49:50 -04:00
Bryan Mauger
035ff732e0 WIP date picker and drop down test. 2022-10-06 12:47:47 -04:00
Bryan Mauger
143a00e315 CSR-848
*Put all package variation modal on test Quote page.
*Fix font color.
*Fix text wrap on cash/insurance button.
*Re-add router info for test page.
2022-09-19 13:06:10 -04:00
Leah Schumann
200dcd12e4 Fixed some issues with the logic in arePagePrerequisitesValid 2022-09-16 10:38:29 -04:00
Katie
3c17de9f2c Fix merge conflicts 2022-09-14 11:28:41 -04:00
Katie
8e8f663be3 Add more tests 2022-09-13 13:13:07 -04:00
Katie
b350eaae93 Revert commit 'CSR-743 experiment integration testing' and change hasSettingEqualTo to use loose equality 2022-09-08 08:24:08 -04:00
Katie
65a2c3ae94 CSR-743 experiment integration testing 2022-09-01 16:53:54 -04:00
Katie
e97f466fd7 Fix merge conflicts 2022-08-29 10:44:52 -04:00
Bryan Mauger
145359e226 Update jest file and router file. 2022-08-29 10:13:45 -04:00
Bryan Mauger
ce840d8177 CSR-735 create text-block component. 2022-08-29 09:41:13 -04:00
Adam Caouette
27e43f52fd CSR-110: edit router logic to prevent accidental clearing of pageData 2022-08-24 10:38:46 -04:00
Katie
378dbea3cb Fix merge conflicts 2022-08-22 09:01:08 -04:00
Leah Schumann
c03c406eb2 Fixed navigation error, we needed to add the 'isSavingNavigation' parameter to the overrideNavigation call in vehicle-style 2022-08-22 08:45:48 -04:00
Leah Schumann
04ff118b55 merging from develop, fixed conflicts with refactoring vehicle question page navigations 2022-08-19 15:29:22 -04:00
Katie
23ac001a6a Fix merge conflicts 2022-08-18 16:15:44 -04:00
Katie
b23361d0a3 Revert "Merge pull request #674 from Safelite/revert-665-defect/CSR-759"
This reverts commit b890d85c28, reversing
changes made to c5f76d2424.
2022-08-18 11:55:45 -04:00
katieoh-safelite
62a3ceb8c5
Revert "Defect/csr 759" 2022-08-18 10:44:20 -04:00
katieoh-safelite
a7ed47d839
Merge pull request #665 from Safelite/defect/CSR-759
Defect/csr 759
2022-08-17 13:06:37 -04:00
Katie
b526fc059f CSR-759 Update how session ID cookies are saved and updated 2022-08-17 09:25:51 -04:00
Leah Schumann
3616a7d75f Merged from develop and updated unit tests 2022-08-17 09:06:10 -04:00
Leah Schumann
ed740a12ab Front end changes related to CSR-512 2022-08-16 15:31:28 -04:00
Katie
080d2ac28e CSR-514 Add async/await to runExperimentsForTrigger 2022-08-15 10:23:13 -04:00
Katie
1216b121a8 CSR-514 Move runExperiments to after we check the page to reroute to 2022-08-12 13:20:58 -04:00
Katie
febbe96534 CSR-514 Add condition back to router 2022-08-12 13:00:34 -04:00
Katie
0afa4d815c CSR-514 Add PageEntry trigger, move running experiments in router to a private function 2022-08-12 10:16:37 -04:00
Katie
137b5d9621 CSR-514 Refactor a bit, add tests 2022-08-11 13:16:48 -04:00
Leah Schumann
00f5092dc1 Added flag to 'navigate' method so that we can specify that the order by saved in the .afterEach method of the router. Added new 'navigateWithSaving' and 'navigateWithoutSaving' to allow us to control when the order is saved. 2022-08-10 13:46:43 -04:00
Katie
fdf17ce4bc CSR-514 Cleanup 2022-08-09 13:27:46 -04:00
Katie
8964d6e1b0 Merge branch 'develop' into feature/CSR-514 2022-08-09 12:36:37 -04:00
Katie
cdfcec5257 CSR-514 Uncomment and fix parts of experimentOrder 2022-08-09 12:36:10 -04:00
CarlNation
a02143c934 Merge branch 'release/2022.08.18' into rslmerge/2022.08.18-to-develop 2022-08-09 08:10:05 -04:00
CarlNation
e4b2b702c6 CSR-658 nav directly to vehicle-damage when 1 style 2022-08-08 15:54:21 -04:00
Katie
eab76de0fb Add empty object for pageData by default 2022-08-08 10:10:23 -04:00
Katie
4de7240610 CSR-514 Fix merge conflicts 2022-08-05 12:37:31 -04:00
Katie
6defc97a43 CSR-530 Remove test pages and routes 2022-08-02 12:20:12 -04:00
Katie
afdcb48242 CSR-702 Remove default for optionalPageData in router.navigate 2022-07-28 11:27:15 -04:00
Katie
4c20a977e6 CSR-702 Don't default page data to empty object 2022-07-28 10:52:52 -04:00
Katie
868b3d663d CSR-702 Fix merge conflicts' 2022-07-26 15:08:45 -04:00
Katie
6a8409cd34 CSR-702 Add basic routing for part-questions 2022-07-26 15:03:40 -04:00
Scott Kiener
b21c6171e9 CSR-706 | Remove state resetting on loadOrder
As well as making loadOrder await the latest saveOrderPromise
Also clearing saveOrderPromise if entering the funnel fresh to avoid a broken promise object
2022-07-25 09:30:00 -04:00
Katie
f3120ef80d CSR-530 Cleanup 2022-07-19 15:46:48 -04:00
Katie
cefd25399e CSR-530 Add routing for experiment-integration 2022-07-19 15:20:02 -04:00
Katie
be45bb9ff7 CSR-514 Initial implementation for runExperimentsForTrigger 2022-07-15 11:46:01 -04:00
Katie
b73a7f8d90 Fix merge conflicts 2022-07-14 13:12:57 -04:00
Bryan Mauger
3c22e2cb4e Updates to remove vin-lookup from PR. 2022-07-13 17:33:50 -04:00
Scott Kiener
0d956d9e0f Merge remote-tracking branch 'origin/develop' into feature/CSR-700 2022-07-13 10:03:57 -04:00
Katie
c7b7e25dfd CSR-710 Remove experiment string 2022-07-11 16:37:17 -04:00
Katie
d4fd61c74f CSR-710 WIP 2022-07-11 09:09:53 -04:00
Scott Kiener
9ac8b1a31a CSR-706 | Add in newly required parameters 2022-07-05 09:35:32 -04:00
Scott Kiener
3b8b86fe7e CSR-700 | Save response from SaveOrder to VueX Store 2022-06-29 09:05:02 -04:00
FrankRua
3226ec4e6e Init refactor 2022-06-28 17:01:28 -04:00
DonielleAtSafelite
159aadb2b4
Merge branch 'develop' into feature/CSR-439 2022-06-24 14:43:47 -04:00
Donielle Austin
b76811ded0 pushing changes csr-439 2022-06-24 13:44:03 -04:00
Scott Kiener
e51dc1a8d0 Merge remote-tracking branch 'origin/develop' into feature/CSR-700 2022-06-23 15:46:51 -04:00
Scott Kiener
972e02a5b2 CSR-706 | Re-work synchronicity of saveOrder
Allow multiple saveOrders to run synchronously
Allow saveOrder to be awaited before navigating to heritage
Allow saveOrder to run on routine navigation if an email address is present
Add saveOrderPromise member to the store
2022-06-23 15:23:30 -04:00
FrankRua
5c499f1091 Fixed unit tests 2022-06-23 14:28:34 -04:00
FrankRua
f8df9b6512 reset state on timeout 2022-06-10 12:34:32 -04:00
CarlNation
83002df770
Merge pull request #531 from Safelite/feature/CSR-663
Feature/csr 663
2022-06-02 14:14:42 -04:00
CarlNation
2dedad7a44 CSR-663 move functions to analytics-mixin 2022-06-02 13:57:08 -04:00
CarlNation
4111f53d4c CSR-663 remove console.log 2022-06-02 11:28:05 -04:00
CarlNation
15ed8aad39 CSR-663 Make sure the create session only runs once move to router 2022-06-02 11:25:36 -04:00
bmauger
2be222a959 CSR-544 footer modal hamburger button.
A functional version of the hamburger menu button can be seen at the top of the /fmg/component-test page.

Also in this commit: remove temporary code from router/index.js.
2022-05-24 18:23:13 -04:00
bmauger
5ee8d71252 WIP modal test. 2022-05-20 09:19:04 -04:00
Mark Harris
7d41296a71 removed experiment forcing code 2022-05-18 16:46:10 -04:00
FrankRua
a42600f24c adjusted endpoint and logic 2022-05-03 15:08:19 -04:00
FrankRua
694a3aabc7 remove unneeded code 2022-05-03 12:47:14 -04:00
FrankRua
07dcfe8177 merge 2022-05-03 12:38:01 -04:00
Mark Harris
de011ae24a Renamed method 2022-05-02 09:14:06 -04:00
FrankRua
a6f8a6289e GA events 2022-04-28 16:25:32 -04:00
FrankRua
c0290c43ee Auto stash before merge of "develop" and "origin/develop" 2022-04-28 13:13:50 -04:00
CarlNation
bdd75d8d1b CSR-18 refactor event logging 2022-04-28 12:40:54 -04:00
CarlNation
61dbd2fc03 CSR-18 refactors 2022-04-26 09:17:21 -04:00
CarlNation
c71056db22 CSR-18 specs 2022-04-25 13:32:36 -04:00
CarlNation
da748b95fd Merge branch 'develop' into feature/CSR-18 2022-04-25 08:40:05 -04:00
CarlNation
ce988ee120 CSR-18 log page events 2022-04-25 08:39:17 -04:00
FrankRua
723ad59335 Test page views 2022-04-21 14:05:35 -04:00
Katie
6ac8bd1eee Edit temporary experiment forcing url for testing 2022-04-20 15:44:29 -04:00
Mark Harris
65f69f3beb Temporary code for forcing experiments for TESTING 2022-04-19 16:25:44 -04:00
FrankRua
f378f690ab Refactor logic for redirect 2022-04-18 17:10:58 -04:00
CarlNation
12db51a377 CSR-478 relocate keydown logic to footer 2022-04-12 09:12:24 -04:00
CarlNation
710898a3fe CSR-478 reset keydown after navigation 2022-04-11 11:03:31 -04:00