Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Release: Costco Figo promotion to Main #301

Merged
merged 96 commits into from
Dec 5, 2024

Conversation

pgilmore-phi
Copy link
Collaborator

Jira Ticket

PM-375

Purpose / Changes

Under the epic PM-375 these changes are for all tasks related to the FE flow for a Costco Figo promotion

Validate Changes

See all validation requirements on each task under epic: https://pethealthinc.atlassian.net/browse/PM-375

miakobchuk and others added 30 commits August 6, 2024 13:36
* merge stage into main

* changed links decoration approach
# Conflicts:
#	blocks/footer/footer.js
#	blocks/header/header.js
#	scripts/scripts.js
* 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 <korablov@adobe.com>
Co-authored-by: Mike Weis <miweis@magento.com>
Co-authored-by: Mike Weis <miweis@adobe.com>
…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 <korablov@adobe.com>
Co-authored-by: Mike Weis <miweis@magento.com>
Co-authored-by: Mike Weis <miweis@adobe.com>
…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 <korablov@adobe.com>
Co-authored-by: Mike Weis <miweis@magento.com>
Co-authored-by: Mike Weis <miweis@adobe.com>
* 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 <korablov@adobe.com>
Co-authored-by: Mike Weis <miweis@magento.com>
Co-authored-by: Mike Weis <miweis@adobe.com>
* 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
* 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
* 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
* 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
* 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
pgilmore-phi and others added 24 commits October 29, 2024 08:44
Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com>
* PM-639 Update 'add to cart' DL product type values (#269)

* PM-572: updated source (#271)

---------

Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com>
* PM-639 Update 'add to cart' DL product type values (#269)

* PM-572: updated source (#271)

---------

Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com>
* WIP on bugfix/PM-637-ca-pet-tags

* PM-694 Updates to address css/js 404s (#277)

* Sync to Sprint Deploy 23: PM-652 Cart UI Overlap Issues (#278)

* PM-652: form ui updates

* PM-652: form ui updates

* Fix lint issue

* PM-652: form ui updates

* PM-652: form ui updates
* WIP on bugfix/PM-637-ca-pet-tags

* PM-694 Updates to address css/js 404s (#277)

* Sync to Sprint Deploy 23: PM-652 Cart UI Overlap Issues (#278)

* PM-652: form ui updates

* PM-652: form ui updates

* Fix lint issue

* PM-652: form ui updates

* PM-652: form ui updates
* Initial setup for Costco Figo campaign

* PM-367: Added form and summary logic accomodating promo requirements

* PM-367: Updated logic based on multipet and active promo

* PM-367: Added checks on multipet to identify if we need to clear cookie and data

* PM-367: Added method to disable field, prevent any mouse interactions and disable focus

* PM-367: Added nullish checks on summary page

* PM-367: removing edits to eslint

* PM-367: Adding env config for service

* PM-367: Updated config to proxy service

* PM-367: moving reset method into costo-promo.js

* PM-367: adding removed comment back

* PM-367: remove unnecessary additional check on policyId
* Initial setup for Costco Figo campaign

* PM-367: Added form and summary logic accomodating promo requirements

* PM-367: Updated logic based on multipet and active promo

* PM-367: Added checks on multipet to identify if we need to clear cookie and data

* PM-367: Added method to disable field, prevent any mouse interactions and disable focus

* PM-367: Added nullish checks on summary page

* PM-367: removing edits to eslint

* PM-367: Adding env config for service

* PM-367: Updated config to proxy service

* PM-367: moving reset method into costo-promo.js

* PM-367: adding removed comment back

* PM-367: remove unnecessary additional check on policyId
* Initial setup for Costco Figo campaign

* PM-367: Added form and summary logic accomodating promo requirements

* PM-367: Updated logic based on multipet and active promo

* PM-367: Added checks on multipet to identify if we need to clear cookie and data

* PM-367: Added method to disable field, prevent any mouse interactions and disable focus

* PM-367: Added nullish checks on summary page

* PM-367: removing edits to eslint

* PM-367: Adding env config for service

* PM-367: Updated config to proxy service

* PM-367: moving reset method into costo-promo.js

* PM-367: adding removed comment back

* PM-367: remove unnecessary additional check on policyId
* Initial setup for Costco Figo campaign

* PM-367: Added form and summary logic accomodating promo requirements

* PM-367: Updated logic based on multipet and active promo

* PM-367: Added checks on multipet to identify if we need to clear cookie and data

* PM-367: Added method to disable field, prevent any mouse interactions and disable focus

* PM-367: Added nullish checks on summary page

* PM-367: removing edits to eslint

* PM-367: Adding env config for service

* PM-367: Updated config to proxy service

* PM-367: moving reset method into costo-promo.js

* PM-367: adding removed comment back

* PM-367: remove unnecessary additional check on policyId

* PM-367: Updating subid value for costco figo
* Initial setup for Costco Figo campaign

* PM-367: Added form and summary logic accomodating promo requirements

* PM-367: Updated logic based on multipet and active promo

* PM-367: Added checks on multipet to identify if we need to clear cookie and data

* PM-367: Added method to disable field, prevent any mouse interactions and disable focus

* PM-367: Added nullish checks on summary page

* PM-367: removing edits to eslint

* PM-367: Adding env config for service

* PM-367: Updated config to proxy service

* PM-367: moving reset method into costo-promo.js

* PM-367: adding removed comment back

* PM-367: remove unnecessary additional check on policyId

* PM-698: update redirect logic (#284) (#286)

* PM-367: Updating subid value for costco figo

* PM-375: Removing type from eligibility rules

* PM-375: Adding console logs for testing

* PM-375: Rename localStorage key for promo

* PM-375: Adding annotations

* PM-375: remove console logs used for testing

---------

Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com>
* Initial setup for Costco Figo campaign

* PM-367: Added form and summary logic accomodating promo requirements

* PM-367: Updated logic based on multipet and active promo

* PM-367: Added checks on multipet to identify if we need to clear cookie and data

* PM-367: Added method to disable field, prevent any mouse interactions and disable focus

* PM-367: Added nullish checks on summary page

* PM-367: removing edits to eslint

* PM-367: Adding env config for service

* PM-367: Updated config to proxy service

* PM-367: moving reset method into costo-promo.js

* PM-367: adding removed comment back

* PM-367: remove unnecessary additional check on policyId

* PM-698: update redirect logic (#284) (#286)

* PM-367: Updating subid value for costco figo

* PM-375: Removing type from eligibility rules

* PM-375: Adding console logs for testing

* PM-375: Rename localStorage key for promo

* PM-375: Adding annotations

* PM-375: remove console logs used for testing

* PM-375: add additional css prop for safari to prevent user-select on disabled field

---------

Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com>
* Initial setup for Costco Figo campaign

* PM-367: Added form and summary logic accomodating promo requirements

* PM-367: Updated logic based on multipet and active promo

* PM-367: Added checks on multipet to identify if we need to clear cookie and data

* PM-367: Added method to disable field, prevent any mouse interactions and disable focus

* PM-367: Added nullish checks on summary page

* PM-367: removing edits to eslint

* PM-367: Adding env config for service

* PM-367: Updated config to proxy service

* PM-367: moving reset method into costo-promo.js

* PM-367: adding removed comment back

* PM-367: remove unnecessary additional check on policyId

* PM-698: update redirect logic (#284) (#286)

* PM-367: Updating subid value for costco figo

* PM-375: Removing type from eligibility rules

* PM-375: Adding console logs for testing

* PM-375: Rename localStorage key for promo

* PM-375: Adding annotations

* PM-375: remove console logs used for testing

* PM-375: add additional css prop for safari to prevent user-select on disabled field

* PM-375: Added additional promo price comment key value used on conditional check

---------

Co-authored-by: hero-dokane <46008504+hero-dokane@users.noreply.github.com>
Copy link

aem-code-sync bot commented Dec 5, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link

aem-code-sync bot commented Dec 5, 2024

Page Scores Audits Google
📱 /lost-pet-protection/annual-quote PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /lost-pet-protection/annual-quote PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

Copy link
Collaborator

@hero-dokane hero-dokane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pgilmore-phi pgilmore-phi merged commit 11e2133 into main Dec 5, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants