Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Adding consent component to email tool #1995

Merged
merged 6 commits into from
Jul 18, 2022
Merged

Conversation

yeseniamolinab
Copy link
Contributor

@yeseniamolinab yeseniamolinab commented Jul 13, 2022

Overview

  • Added the consent component to the email tool so the members can opt-in/out.
    • Defaulted to false in case this same email sender is used somewhere else where we haven't added the consent UI yet

Ticket

https://app.asana.com/0/1119304937718815/1202585536107850/f

Notes

This PR needs to include Plugin:EmailTool as part of the following condition, so double opt-in works for the email tool too:
https://github.com/SumOfUs/Champaign/blob/development/app/services/manage_action.rb#L135

Screenshots

Screen Shot 2022-07-13 at 17 35 32

Screen Shot 2022-07-13 at 17 35 41

Copy link
Member

@subbiahsn subbiahsn left a comment

Choose a reason for hiding this comment

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

LGTM 💯

@subbiahsn subbiahsn merged commit 0735cca into development Jul 18, 2022
@subbiahsn subbiahsn deleted the mp-tool-consent branch July 18, 2022 06:04
osahyoun added a commit that referenced this pull request Aug 9, 2022
* Added one more page for external ad agency pixels (#1987)

* disable throttling on staging

* Updates sentry key name (#1992)

* disables api throttle

* Adding consent component to email tool (#1995)

* adding consent component to email tool

* defaulting to false

* conset required on email change if requiredNew

* removed debugging code

* checking consentRequired too

* do not set false as default

* Adds consent component to email MP tool (#2003)

* Added confirm action & reminder email content for PT & AR (#2001)

* Added gem to figure out test coverage (#1996)

* Added gem to figure out test coverage

* Adds command to store artifacts

* Adds minimum coverage score

* Removes coveralls

* Update code coverage minimum score to 90

* Checks for double opt-in (#2005)

* Checks for double optin

* test commit

* Revert "test commit"

This reverts commit 183d4a1.

* adding double opt in to the response

* Revert "adding double opt in to the response"

This reverts commit a00c759.

* added double opt in to the response if the action is pending

* Check for double optin on consent

* Check for member consent

* Adds pending action check for other email tools

Co-authored-by: yeseniamolinab <yesi@sumofus.org>

* Email double optin fixes (#2006)

* Removes double optin check for emailMP

* Adds country code to props on email pension tool

* Check for pending action on the emails controller

* Removes consent flag for double optin countries

* Pass localpaymentmethods when setting direct debit (#2008)

* Email tool redirections on double optin workflow (#2009)

Co-authored-by: Subbiah <49471498+subbiahf22@users.noreply.github.com>
Co-authored-by: yeseniamolinab <yesi@sumofus.org>
Co-authored-by: subbiah <subbiah@f22labs.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants