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

PM-375: Costco Figo Promotion #283

Merged
merged 12 commits into from
Nov 21, 2024

Conversation

pgilmore-phi
Copy link
Collaborator

@pgilmore-phi pgilmore-phi commented Nov 19, 2024

Jira Ticket

PM-375

Purpose

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

Changes

See all tasks under https://pethealthinc.atlassian.net/browse/PM-375

  1. Get poid (policy Id) from query string if page path is PET_PLANS_ANNUAL_URL (/annual-quote)
  2. Validate the policy Id exists is Salesforce records and is eligible for promo based on eligibility criteria (via new proxy service)
  3. If valid, request promo from assignNextAvailableCoupon API
  4. IF a valid promo is returned, add to promo field and disable input
  5. IF multipet is false, on summary flow remove add a pet option and don't persist cart on return after abandoned cart

Validate Changes

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

@pgilmore-phi pgilmore-phi added the enhancement New feature or request label Nov 19, 2024
Copy link

aem-code-sync bot commented Nov 19, 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 Nov 19, 2024

@aem-code-sync aem-code-sync bot temporarily deployed to feature/PM-367-costco-figo November 20, 2024 21:31 Inactive
@aem-code-sync aem-code-sync bot temporarily deployed to feature/PM-367-costco-figo November 20, 2024 21:35 Inactive
@aem-code-sync aem-code-sync bot temporarily deployed to feature/PM-367-costco-figo November 21, 2024 15:59 Inactive
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.

Looks good

@hero-dokane hero-dokane merged commit 76a4238 into release/costco-figo-promotion Nov 21, 2024
1 of 2 checks passed
hero-dokane pushed a commit that referenced this pull request Nov 21, 2024
* 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
pgilmore-phi added a commit that referenced this pull request Nov 25, 2024
* 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
pgilmore-phi added a commit that referenced this pull request Nov 25, 2024
* PM-375: Costco Figo Promotion (#283)

* 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: Update to SUBID value for COSTCO FIGO (#288)

* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants