Wp-calypso: Store: Visiting wp-admin on a fully configured store leads to lots of notices

Created on 27 Jul 2017  路  8Comments  路  Source: Automattic/wp-calypso

If you visit wp-admin for any reason after fully configuring a store you are presented with alot of notices:

screen shot 2017-07-26 at 14 34 14

Store [Type] Bug

All 8 comments

Adding a note from our chat last week:

Jetpack has an endpoint where you can update options that are whitelisted. Can this help with notices, like the WooCommerce setup wizard?

Documenting a few different state's and their associated wp-admin notices that are shown.

Up first an existing business site on wpcom that installs a plugin, then installs store, but store setup has yet to be completed in Calypso:

dashboard_ _trout_bummin_ _wordpress

So the last screen shot was from an AT migration that appears to have somehow gone awry and woo was never installed - take 2 - notices pre-dashboard wizard setup:

dashboard_ _site_title_ _wordpress

And after dashboard setup

dashboard_ _site_title_ _wordpress 2

Hmm. I thought the setup wizard wouldn't display anymore with this logic:

https://github.com/woocommerce/woocommerce/pull/16711/files#diff-8fe338fa3821970099766ecf56c6fa58R239

Both of these options should be set after our setup flow:

https://github.com/woocommerce/woocommerce/pull/16711/files#diff-8fe338fa3821970099766ecf56c6fa58R216

I guess the notice was already previously registered, and a remove_notice might need called.

Yeah that must have just not been synched or a problem with the person taking the screenshot :) - here is the view after the dashboard wizard has been completed:

dashboard_ _trout_bummin_ _wordpress

Noting here that we will be able to turn off the other stripe notices when 4.0 is shipped: https://github.com/woocommerce/woocommerce-gateway-stripe/blob/4.0.0/woocommerce-gateway-stripe.php

Saw yet another notice today - seems like we should hide this one as well:

edit_plugins_ _timmy_s_flies_ _wordpress

In-lieu of keeping this old issue open, I'm going to close it out and since notices are moving targets - create new issues when new notices pop up.

Was this page helpful?
0 / 5 - 0 ratings