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

Site settings: Deleting a site: Hide delete button #3117

Closed
scruffian opened this issue Feb 5, 2016 · 3 comments
Closed

Site settings: Deleting a site: Hide delete button #3117

scruffian opened this issue Feb 5, 2016 · 3 comments
Assignees
Labels
[Feature] Site Settings All other general site settings. [Type] Task

Comments

@scruffian
Copy link
Member

In Calypso, users who want to delete their site first have to visit /settings/general/:site. We don't show the delete site link until we have loaded the user's purchases. If the user has purchases then when they click this link they see a modal which prevents them from navigating to the delete site section until they have deleted their active purchases.

In WordPress.com, wp-admin users now get redirected to Calypso to delete their site, irrespective of whether they have active purchases. This means users can get to the delete site page while having active purchases on their site. Currently we show the user an error message after they try to delete their site while it has active purchases.

Ideally we should let them cancel their purchases and delete the site at the same time. However as an interim solution we can check whether the user has any active purchases and in this case show them a message saying that they need to remove these purchases, and hide/disable the delete site button until the purchases have been removed.

See #3076 for context.

@fabianapsimoes
Copy link
Contributor

cc @mikeshelton1503 since we'd some design input for copy and layout.

@breezyskies
Copy link
Contributor

The design and copy for the simple version of this is on our list for next week.

@fabianapsimoes fabianapsimoes added the [Status] Needs Design Review Add this when you'd like to get a review / feedback from the Design team on your PR label Feb 11, 2016
@breezyskies
Copy link
Contributor

Rather than adding any new copy / design, can we check for purchases and redirect here:

screen shot 2016-02-15 at 12 57 09 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Settings All other general site settings. [Type] Task
Projects
None yet
Development

No branches or pull requests

5 participants