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

Remove updates and promotions checkbox and dropdown #659

Merged

Conversation

@benstrumeyer
Copy link
Contributor

@benstrumeyer benstrumeyer commented Jan 13, 2021

  • Have you followed the guidelines in CONTRIBUTING.md?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you added an explanation of what your changes do?
  • Does your submission pass tests?
  • Did you lint your code prior to submission?
  • Removes the updates and promotions checkbox on Step 1 of the Create Account View
  • Automatically subscribe users to emails upon registering in the hub instead
  • Remove the "We take your privacy very seriously and learn more" dropdown and display the FAQ on the page at all times
…e user to emails upon registering in the hub instead
@benstrumeyer benstrumeyer added this to the 8.5.5 milestone Jan 13, 2021
@benstrumeyer benstrumeyer requested a review from wlycdgr Jan 13, 2021
@benstrumeyer benstrumeyer self-assigned this Jan 13, 2021
@benstrumeyer benstrumeyer requested a review from ghostery/extension as a code owner Jan 13, 2021
@benstrumeyer benstrumeyer changed the title Remove updates and promotions checkbox Remove updates and promotions checkbox and dropdown Jan 13, 2021
Copy link
Member

@wlycdgr wlycdgr left a comment

May need to restore Learn More expandable drawer logic depending on final UX decision on that. If that DID get cut, then ignore that comment!

app/Account/AccountActions.js Show resolved Hide resolved
@@ -38,4 +38,4 @@ export const GET_USER_SUBSCRIPTION_DATA_FAIL = 'GET_USER_SUBSCRIPTION_DATA_FAIL'
export const GET_USER_SUBSCRIPTION_DATA_SUCCESS = 'GET_USER_SUBSCRIPTION_DATA_SUCCESS';

// Opt into/out of updates and promotions sendgrid emails
export const ACCOUNT_DATA_EMAIL_PREFERENCES_CHECKBOX_CHANGE = 'ACCOUNT_DATA_EMAIL_PREFERENCES_CHECKBOX_CHANGE';

This comment has been minimized.

@wlycdgr

wlycdgr Jan 13, 2021
Member

Same deal, just double checking this isn't being used anywhere else anymore. If not, and the user can no longer change their email preferences in the extension panel or either of the hubs, we should be able to dispense with the SUBSCRIBE_TO_EMAIL_LIST action also, no?

This comment has been minimized.

@benstrumeyer

benstrumeyer Jan 14, 2021
Author Contributor

We actually don't have the functionality in the original hub or the panel to toggle sendgrid emails on, so this is only used here

app/Account/AccountReducer.js Show resolved Hide resolved
@@ -164,7 +156,7 @@ class CreateAccountFormContainer extends Component {
if (success) {
// User is automatically logged in, and redirected to the logged in view of BrowserCreateAccountForm
actions.getUser().then(() => {
if (isUpdatesChecked) actions.handleEmailPreferencesCheckboxChange('global', isUpdatesChecked);
actions.subscribeToEmailList('global');

This comment has been minimized.

@wlycdgr

wlycdgr Jan 13, 2021
Member

See above - we may not need this at all?

This comment has been minimized.

@benstrumeyer

benstrumeyer Jan 14, 2021
Author Contributor

See comment above

@wlycdgr wlycdgr merged commit 3630e93 into ghostery-browser-intro-hub Jan 19, 2021
0 of 2 checks passed
0 of 2 checks passed
@travis-ci
Travis CI - Branch Build Failed
Details
@travis-ci
Travis CI - Pull Request Build Failed
Details
@benstrumeyer benstrumeyer deleted the remove-updates-and-promotions-checkbox branch Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants