From b46948be4ba63e33058029594f27a943af582501 Mon Sep 17 00:00:00 2001 From: pgilmore-phi Date: Thu, 9 Jan 2025 09:48:41 -0500 Subject: [PATCH] Sync Sprint 1 Deploy to Main (#308) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * PM-268: Enhance CTA tracking by identifying block names and their indices (#305) * #181 Fix styles of pet-tags/tag-quote and pet-tags/tag-select (#182) * hotfix for change domain * adding additional environment entry to config * updated trusted site block * Menu links refactoring (#188) * merge stage into main * changed links decoration approach * PM-361 * PM-361 * updated document-based footer * added x icon for footer * removed external icon for petmicrochiplookup.org link * 24PW: Post Purchase Thank You Page - EDS Build (#201) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * 24PW: Post Purchase Thank You Page - EDS Build - QA Feedback Updates (#203) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * 24PW: Post Purchase Thank You Page - EDS Build - QA Feedback Updates (#204) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue * QA feedback updates --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * Fixes for the form issues (#205) * Feature/post purchase thank you page (#206) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue * QA feedback updates * QA feedback updates --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * Sync develop into stage (#207) * 24PW: Membership V2 Paid Page - EDS Build (#208) * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Fix lint issues on feature/membership-v2-paid-page * 24PW: Membership V2 Paid Page - QA Updates (#209) * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Fix lint issues on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * Add page /paid/lost-pet-protection (#194) * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * 24PW: Membership V2 Paid Page - QA Updates (#211) * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Fix lint issues on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * Fix config matching (#212) * 24PW: Lost Pet Recovery Paid Page - EDS Build (#210) * WIP on feature/lost-pet-recovery-paid-page * WIP on feature/lost-pet-recovery-paid-page * WIP on feature/lost-pet-recovery-paid-page * WIP on feature/lost-pet-recovery-paid-page * Fix lint issue * Sync develop into stage (#213) * Sync develop into stage (#213) (#214) * Fix css (#216) * 24PW: New Template - Paid Blog (#219) * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * 24PW: Pawpack Page - EDS Build (#215) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * Added Shipping of Tag to the summary page (#221) * Sync develop into stage (#220) * 24PW: New Template - Paid Blog (#219) * 24PW: Pawpack Page - EDS Build (#215) * Added Shipping of Tag to the summary page (#221) --------- Co-authored-by: Bohdan Korablov * 24PW: Pawpack Page - EDS Build - QA Feedback (#222) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * WIP on bugfix/mobile-nav-redirect-visibility (#224) * Sync develop into stage (#223) * 24PW: New Template - Paid Blog (#219) * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * 24PW: Pawpack Page - EDS Build (#215) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * Added Shipping of Tag to the summary page (#221) * 24PW: Pawpack Page - EDS Build - QA Feedback (#222) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * WIP on bugfix/mobile-nav-redirect-visibility (#224) --------- Co-authored-by: Bohdan Korablov * 24PW: Pet Insurance - Aggregator Widget (#225) * Adding widget aggregator block from petplace to 24petwatch * updating css media query at point iframe size changes, updated id refs * Revert decorateButtons function, apply callout cta styling (#226) * Sync develop into stage (#227) * 24PW: New Template - Paid Blog (#219) * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * 24PW: Pawpack Page - EDS Build (#215) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * Added Shipping of Tag to the summary page (#221) * 24PW: Pawpack Page - EDS Build - QA Feedback (#222) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * WIP on bugfix/mobile-nav-redirect-visibility (#224) * 24PW: Pet Insurance - Aggregator Widget (#225) * Adding widget aggregator block from petplace to 24petwatch * updating css media query at point iframe size changes, updated id refs * Revert decorateButtons function, apply callout cta styling (#226) --------- Co-authored-by: Bohdan Korablov Co-authored-by: pgilmore-phi * Adding thank you page dataLayer object (#230) * WIP on feature/PM-56724-dl-thank-you * WIP on feature/PM-56724-dl-thank-you * WIP on feature/PM-56724-dl-thank-you * WIP on feature/PM-56724-dl-thank-you * Adding product_type value to DL object * Fixing lint reported formatting issues * reverting eslint rule changes --------- Co-authored-by: Daniel O'Kane * Sync develop into stage (#231) * 24PW: New Template - Paid Blog (#219) * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * 24PW: Pawpack Page - EDS Build (#215) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * Added Shipping of Tag to the summary page (#221) * 24PW: Pawpack Page - EDS Build - QA Feedback (#222) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * WIP on bugfix/mobile-nav-redirect-visibility (#224) * 24PW: Pet Insurance - Aggregator Widget (#225) * Adding widget aggregator block from petplace to 24petwatch * updating css media query at point iframe size changes, updated id refs * Revert decorateButtons function, apply callout cta styling (#226) * Adding thank you page dataLayer object (#230) * WIP on feature/PM-56724-dl-thank-you * WIP on feature/PM-56724-dl-thank-you * WIP on feature/PM-56724-dl-thank-you * WIP on feature/PM-56724-dl-thank-you * Adding product_type value to DL object * Fixing lint reported formatting issues * reverting eslint rule changes --------- Co-authored-by: Daniel O'Kane --------- Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com> Co-authored-by: Bohdan Korablov Co-authored-by: Daniel O'Kane * Back sync develop with main (#234) * Merge Stage into Main (#228) * #181 Fix styles of pet-tags/tag-quote and pet-tags/tag-select (#182) * hotfix for change domain * adding additional environment entry to config * updated trusted site block * Menu links refactoring (#188) * merge stage into main * changed links decoration approach * PM-361 * PM-361 * updated document-based footer * added x icon for footer * removed external icon for petmicrochiplookup.org link * 24PW: Post Purchase Thank You Page - EDS Build (#201) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * 24PW: Post Purchase Thank You Page - EDS Build - QA Feedback Updates (#203) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * 24PW: Post Purchase Thank You Page - EDS Build - QA Feedback Updates (#204) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue * QA feedback updates --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * Fixes for the form issues (#205) * Feature/post purchase thank you page (#206) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue * QA feedback updates * QA feedback updates --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * Sync develop into stage (#207) * 24PW: Membership V2 Paid Page - EDS Build (#208) * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Fix lint issues on feature/membership-v2-paid-page * 24PW: Membership V2 Paid Page - QA Updates (#209) * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Fix lint issues on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * Add page /paid/lost-pet-protection (#194) * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * 24PW: Membership V2 Paid Page - QA Updates (#211) * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Fix lint issues on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * Fix config matching (#212) * 24PW: Lost Pet Recovery Paid Page - EDS Build (#210) * WIP on feature/lost-pet-recovery-paid-page * WIP on feature/lost-pet-recovery-paid-page * WIP on feature/lost-pet-recovery-paid-page * WIP on feature/lost-pet-recovery-paid-page * Fix lint issue * Sync develop into stage (#213) * Sync develop into stage (#213) (#214) * Fix css (#216) * Sync develop into stage (#220) * 24PW: New Template - Paid Blog (#219) * 24PW: Pawpack Page - EDS Build (#215) * Added Shipping of Tag to the summary page (#221) --------- Co-authored-by: Bohdan Korablov * Sync develop into stage (#223) * 24PW: New Template - Paid Blog (#219) * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * 24PW: Pawpack Page - EDS Build (#215) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * Added Shipping of Tag to the summary page (#221) * 24PW: Pawpack Page - EDS Build - QA Feedback (#222) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * WIP on bugfix/mobile-nav-redirect-visibility (#224) --------- Co-authored-by: Bohdan Korablov * Sync develop into stage (#227) * 24PW: New Template - Paid Blog (#219) * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * 24PW: Pawpack Page - EDS Build (#215) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * Added Shipping of Tag to the summary page (#221) * 24PW: Pawpack Page - EDS Build - QA Feedback (#222) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * WIP on bugfix/mobile-nav-redirect-visibility (#224) * 24PW: Pet Insurance - Aggregator Widget (#225) * Adding widget aggregator block from petplace to 24petwatch * updating css media query at point iframe size changes, updated id refs * Revert decorateButtons function, apply callout cta styling (#226) --------- Co-authored-by: Bohdan Korablov Co-authored-by: pgilmore-phi --------- Co-authored-by: miakobchuk Co-authored-by: Bohdan Korablov Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com> Co-authored-by: Mike Weis Co-authored-by: Mike Weis Co-authored-by: Felix Delval * Changes from the feature/PM-56724-dl-thank-you (#232) --------- Co-authored-by: miakobchuk Co-authored-by: Bohdan Korablov Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com> Co-authored-by: Mike Weis Co-authored-by: Mike Weis Co-authored-by: Felix Delval * Back Sync stage with main (#233) * Merge Stage into Main (#228) * #181 Fix styles of pet-tags/tag-quote and pet-tags/tag-select (#182) * hotfix for change domain * adding additional environment entry to config * updated trusted site block * Menu links refactoring (#188) * merge stage into main * changed links decoration approach * PM-361 * PM-361 * updated document-based footer * added x icon for footer * removed external icon for petmicrochiplookup.org link * 24PW: Post Purchase Thank You Page - EDS Build (#201) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * 24PW: Post Purchase Thank You Page - EDS Build - QA Feedback Updates (#203) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * 24PW: Post Purchase Thank You Page - EDS Build - QA Feedback Updates (#204) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue * QA feedback updates --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * Fixes for the form issues (#205) * Feature/post purchase thank you page (#206) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue * QA feedback updates * QA feedback updates --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * Sync develop into stage (#207) * 24PW: Membership V2 Paid Page - EDS Build (#208) * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Fix lint issues on feature/membership-v2-paid-page * 24PW: Membership V2 Paid Page - QA Updates (#209) * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Fix lint issues on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * Add page /paid/lost-pet-protection (#194) * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * WIP on feature/lost-pet-protection-paid-page * 24PW: Membership V2 Paid Page - QA Updates (#211) * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * WIP on feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Datalayer updates for feature/membership-v2-paid-page * Fix lint issues on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * QA feedback updates on feature/membership-v2-paid-page * Fix config matching (#212) * 24PW: Lost Pet Recovery Paid Page - EDS Build (#210) * WIP on feature/lost-pet-recovery-paid-page * WIP on feature/lost-pet-recovery-paid-page * WIP on feature/lost-pet-recovery-paid-page * WIP on feature/lost-pet-recovery-paid-page * Fix lint issue * Sync develop into stage (#213) * Sync develop into stage (#213) (#214) * Fix css (#216) * Sync develop into stage (#220) * 24PW: New Template - Paid Blog (#219) * 24PW: Pawpack Page - EDS Build (#215) * Added Shipping of Tag to the summary page (#221) --------- Co-authored-by: Bohdan Korablov * Sync develop into stage (#223) * 24PW: New Template - Paid Blog (#219) * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * 24PW: Pawpack Page - EDS Build (#215) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * Added Shipping of Tag to the summary page (#221) * 24PW: Pawpack Page - EDS Build - QA Feedback (#222) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * WIP on bugfix/mobile-nav-redirect-visibility (#224) --------- Co-authored-by: Bohdan Korablov * Sync develop into stage (#227) * 24PW: New Template - Paid Blog (#219) * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * WIP on feature/paid-blog-landing-page * 24PW: Pawpack Page - EDS Build (#215) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * Added Shipping of Tag to the summary page (#221) * 24PW: Pawpack Page - EDS Build - QA Feedback (#222) * WIP on feature/pawpack-page * WIP on feature/pawpack-page * Fix lint issues on feature/pawpack-page * WIP on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * QA feedback on feature/pawpack-page * WIP on bugfix/mobile-nav-redirect-visibility (#224) * 24PW: Pet Insurance - Aggregator Widget (#225) * Adding widget aggregator block from petplace to 24petwatch * updating css media query at point iframe size changes, updated id refs * Revert decorateButtons function, apply callout cta styling (#226) --------- Co-authored-by: Bohdan Korablov Co-authored-by: pgilmore-phi --------- Co-authored-by: miakobchuk Co-authored-by: Bohdan Korablov Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com> Co-authored-by: Mike Weis Co-authored-by: Mike Weis Co-authored-by: Felix Delval * Changes from the feature/PM-56724-dl-thank-you (#232) --------- Co-authored-by: miakobchuk Co-authored-by: Bohdan Korablov Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com> Co-authored-by: Mike Weis Co-authored-by: Mike Weis Co-authored-by: Felix Delval * Merge feature pm 568 abandon cart changes into develop for testing (#236) * Merge Stage into Main (#228) * #181 Fix styles of pet-tags/tag-quote and pet-tags/tag-select (#182) * hotfix for change domain * adding additional environment entry to config * updated trusted site block * Menu links refactoring (#188) * merge stage into main * changed links decoration approach * PM-361 * PM-361 * updated document-based footer * added x icon for footer * removed external icon for petmicrochiplookup.org link * 24PW: Post Purchase Thank You Page - EDS Build (#201) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * 24PW: Post Purchase Thank You Page - EDS Build - QA Feedback Updates (#203) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code functionality * Fix typo * Fix styles * Added header with only logo * Fix styles * Improvments for zip code handler * WIP on feature/post-purchase-thank-you-page * Fix zip code handler for CA * Promocode fixes * Promocode fixes * WIP on feature/post-purchase-thank-you-page * Added minus for discount * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * WIP on feature/post-purchase-thank-you-page * Remove a comment * Fixed birthday for pets * WIP on feature/post-purchase-thank-you-page * Fixed birthday for pets * Fixed birthday for pets * QA feedback updates * Fix lint issue --------- Co-authored-by: Bohdan Korablov Co-authored-by: Mike Weis Co-authored-by: Mike Weis * 24PW: Post Purchase Thank You Page - EDS Build - QA Feedback Updates (#204) * Add svg icons * Fix svg icon name * Fix svg icon * Fix svg icon * Added gray column * Added autocomplite functionality * Added fix for autocomplite functionality * Added validagtors for promocode and zipcode, added loader animation * Added some validators * Added some validators * Handlers/validators refactoring * enhanced for Canada * Canadian legal and Canadian icons * the beginning of the submit execution * the middle of the submit execution * the completion of the submit execution * fix JavaScript linting * Fix validators for subbmit button * allow for re-entering Step 1 * Fix validators for breed input * honor a query param of 'petId' when re-entering Step 1 * strengthen our client API * Fix validators for zipCode and async problem * Separate js for the first page * Fix zip code handler * Some part of summary-quote * Added button "Proceed to Payment" * Small css fixes * Small fixes for lpm-plus * Fixed svg classes and added the icon for lpm-plus * Added fragments with additional info to summary page * Added loader.js * Small refctoring * Move the form to form.js * Added the form to summary page * Remove wrong div * Fixed icons in fragments * Small cleaning * Form cleaning * Improved the chip number validator * Added isSummaryPage * Added isSummaryPage * Improve loader * Added loader to summary page * Added isSummaryPage to the form * Intermediate code for adding a pet on the summary page * Fix issue with styled icons * Added form functionality to summary page * Added pet removing functionality to summary page * Hide promocode field on summary page * Fix flow id * Fix css * Fix css * Fixes for CA * Fixes for linters * Added promo code functionality * Fixed parameter for payment url * Fix promo code f… * PM-796: Add exclusions array for appending ca path to links (#306) * PM-797: remove saved owner id cookie on form start (#307) --------- Co-authored-by: miakobchuk Co-authored-by: Bohdan Korablov Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com> Co-authored-by: Mike Weis Co-authored-by: Mike Weis Co-authored-by: Felix Delval Co-authored-by: Daniel O'Kane Co-authored-by: Mauricio Ochoa Co-authored-by: Mauricio Ochoa --- blocks/plans-quote/form.js | 4 ++-- scripts/scripts.js | 13 ++++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/blocks/plans-quote/form.js b/blocks/plans-quote/form.js index 1560429..ca3cc89 100644 --- a/blocks/plans-quote/form.js +++ b/blocks/plans-quote/form.js @@ -74,8 +74,8 @@ async function getPurchaseSummary(ownerId) { } export default function formDecoration(block) { - // if we are not editing, is not summary page and multipet is false - if (!isSummaryPage() && !isEditing && !isMultiPet) { + // if we are not editing, is not summary page + if (!isSummaryPage() && !isEditing) { // delete the saved owner id cookie deleteCookie(COOKIE_NAME_SAVED_OWNER_ID); } diff --git a/scripts/scripts.js b/scripts/scripts.js index 57c042b..ffe0367 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -187,6 +187,8 @@ export function changeDomain(block) { */ export function addCanadaToLinks(block) { if (isCanada) { + const EXEMPT_PATHS = ['privacy-policy']; // add paths that should not be rewritten + // check each link in the block block.querySelectorAll('a').forEach((anchor) => { if (anchor.getAttribute('rel') === 'alternate') return; const url = new URL(anchor.href); @@ -194,6 +196,8 @@ export function addCanadaToLinks(block) { if (url.hostname === window.location.hostname) { // change only for internal links if (!url.pathname.startsWith('/ca/')) { + // if any part of the url is in the exempt list, do not rewrite + if (EXEMPT_PATHS.some((path) => url.pathname.includes(path))) return; newUrl.pathname = `/ca${url.pathname}`; anchor.href = newUrl.toString(); } @@ -335,7 +339,14 @@ function instrumentTrackingEvents(main) { trackCTAEvent(ctaLocation); return; } else { - trackCTAEvent(null); + const containerBlock = e.target.closest('[data-block-name]'); + const blockList = document.querySelectorAll(`[data-block-name=${containerBlock.dataset.blockName}]`); + blockList.forEach((block, key) => { + if (block === containerBlock) { + ctaLocation = `${containerBlock.dataset.blockName}_${key}`; + } + }); + trackCTAEvent(ctaLocation); return; } }