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

Domain Management: Add onclick back for the privacy protection compact notice #1740

Merged
merged 3 commits into from
Dec 21, 2015

Conversation

breezyskies
Copy link
Contributor

Updates the Privacy Protection on/off compact notices (shown below) so they correctly click through to the privacy settings page.

screen shot 2015-12-17 at 8 40 56 am

cc: @gziolo who raised this issue in #1676 (comment).

@breezyskies breezyskies added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Feature Group] Emails & Domains Features related to email integrations and domain management. labels Dec 17, 2015
@breezyskies breezyskies self-assigned this Dec 17, 2015
context: 'An icon label when Privacy Protection is enabled.'
} ) }
</Notice>
<a href="#" onClick={ this.goToPrivacyProtection }>
Copy link
Member

Choose a reason for hiding this comment

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

We shouldn't wrap with the link when there is privacy protection enabled. This page won't load in such case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The link worked fine for me -- just takes me to /domains/manage/:domain/contacts-privacy/:site. Any reason we shouldn't consistently link to it?

Copy link
Member

Choose a reason for hiding this comment

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

In that case we should use this path domainManagementContactsPrivacy for privacy protection enabled, because at the moment we have redirect in between.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@gziolo gziolo added [Status] Needs Author Reply and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Dec 17, 2015
@breezyskies breezyskies added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. and removed [Status] Needs Author Reply labels Dec 18, 2015
@gziolo
Copy link
Member

gziolo commented Dec 18, 2015

I noticed that there was # added to the url when user clicks on None button. I added commit with fix. Now this should be ready to merge.

I tested it and work properly in all cases :)
If my commit looks good to you then you can 🚢

@gziolo gziolo added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] Emails & Domains Features related to email integrations and domain management.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants