From f8b3fe882279f86f31dae9e7b7178069a24ad2ac Mon Sep 17 00:00:00 2001 From: Katie Date: Tue, 5 Apr 2022 12:39:34 -0400 Subject: [PATCH 1/3] CSR-98 Rename variables --- src/constants/store-mutations.js | 2 +- src/store/index.js | 2 +- src/store/store.spec.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants/store-mutations.js b/src/constants/store-mutations.js index 834c4b648..69d7c558c 100644 --- a/src/constants/store-mutations.js +++ b/src/constants/store-mutations.js @@ -34,7 +34,7 @@ const storeMutations = { // OTHER MUTATIONS UPDATE_PAGE_DATA: "updatePageData", - SET_LOAD_FUNNEL_SESSION_INFO: "updateStateWithOrderInformation" + UPDATE_STATE_WITH_ORDER_INFORMATION: "updateStateWithOrderInformation" }; diff --git a/src/store/index.js b/src/store/index.js index a7b3420a9..b13dbcd67 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -393,7 +393,7 @@ export const actions = { referralCorrelationId: referralCorrelationId }, }).then((response) => { - context.commit(storeMutations.SET_LOAD_FUNNEL_SESSION_INFO, response.data); + context.commit(storeMutations.UPDATE_STATE_WITH_ORDER_INFORMATION, response.data); return response; }); } diff --git a/src/store/store.spec.js b/src/store/store.spec.js index 5c7e0c881..3e67bbf34 100644 --- a/src/store/store.spec.js +++ b/src/store/store.spec.js @@ -539,7 +539,7 @@ describe("Actions", () => { // Assert expect(response.data).toEqual({ referralNumber: 123 }); - expect(commit).toBeCalledWith(storeMutations.SET_LOAD_FUNNEL_SESSION_INFO, {"referralNumber": 123}); + expect(commit).toBeCalledWith(storeMutations.UPDATE_STATE_WITH_ORDER_INFORMATION, {"referralNumber": 123}); }); it("setReferralInformation, should call commit three times", () => { From 8ee169bc5b3fd855ddcc34360eb49c30b804ed5e Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Tue, 5 Apr 2022 14:09:00 -0400 Subject: [PATCH 2/3] CSR-436: adjust CSS height of hidden input so Safari will allow focus on it --- src/ux-components/list-card/list-card.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ux-components/list-card/list-card.vue b/src/ux-components/list-card/list-card.vue index adbd8a377..d984ac171 100644 --- a/src/ux-components/list-card/list-card.vue +++ b/src/ux-components/list-card/list-card.vue @@ -188,7 +188,7 @@ export default { input[type="radio"] { opacity: 0; width: 0; - height: 0; + height: 0.1px; // NOTE: cannot be zero or safari can't put focus on it position: absolute; + label { From b57f2a34839d114edeec4675683112b7d93db6ee Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Tue, 5 Apr 2022 14:54:50 -0400 Subject: [PATCH 3/3] CSR-436: experiment/test to fix iphone bug with hiding footer --- .../replace-options-question/replace-options-question.vue | 2 +- .../vehicle-damage/side-door-options/side-door-options.vue | 2 +- .../windshield-chip-count-question.vue | 2 +- .../windshield-damage-type-question.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layouts/vehicle-damage/replace-options-question/replace-options-question.vue b/src/layouts/vehicle-damage/replace-options-question/replace-options-question.vue index fe43419e8..ff6292a1a 100644 --- a/src/layouts/vehicle-damage/replace-options-question/replace-options-question.vue +++ b/src/layouts/vehicle-damage/replace-options-question/replace-options-question.vue @@ -1,6 +1,6 @@