Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Customizer: Add messaging when user has not verified email address #55244

Open sixhours opened 3 years ago

sixhours commented 3 years ago

What

When a user has not yet verified their email address, make it known they will not be able to access certain features in the Customizer.

Why

Following up on #54430, we hide publish settings (draft and scheduling) when a user has not verified their email address.

I suspect there are other circumstances where features don't work the same way unless they've verified their email address, but that's not made clear when you're in the Customizer.

Some kind of notice or messaging in the Customizer might help avoid confusion when a user tries to save a draft and can't, for example.

How

No response

amustaque97 commented 3 years ago

Hi @sixhours, I started looking into the issue. I got most of the idea. But there is one problem I'm not able to fix is that how to access the customizer local dev? Whenever I'm opening customizer it is opening for the live .wordpress.com. The live version is not in dev mode. I want to open it up for calypso.localhost:3000. Is that possible? I will suggest my changes in the form of PR :)

Thank You!

sixhours commented 3 years ago

Hello @amustaque97 ! Since the Customizer is part of WordPress core, it's not possible to develop a solution for this in the local Calypso environment. It would have to be a PHP-based plugin of some kind, and unfortunately we don't have a way for open-source folks to contribute to that part of WordPress.com. :(