Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Technical Refinement

Description

  • Task 1 - Create a Feature Flag (canceled)

  • Task 2 - Adjust Layout for Communication Preferences for Push And Email (canceled)

  • Task 2 - Mark push and email for promotion check

    • In the agreements we have a checkbox for enable communication, but now, this check activates just communication through email, so we need to add Push too.

    • In file src/state/auth/hooks/use-current-user.ts on the function updateRequiredAcceptanceAgreementInfo we check this checkbox and to add true, we can basead in the file  src/pages/account/comm-preferences/use-comm-prefs.ts in the function updateCommPrefs for to apply our solution.

      Image Added

  • Task 3 - Show check case just one option, it true.

    • In case just one option it checked, for example email true and push false, we need to show this check for user enable both option.

      Image Removed

      src/components/modal-agreement/index.tsx, adjusted the logic in the const hasMarketingEmail.

  • Task 4 - Add Push and Email in mParticle

    • Verify for sending mParticle events for push and email.

Screenshots

POC

  • N/A

Impact Analysis

...