-
Notifications
You must be signed in to change notification settings - Fork 21
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
Onboarding: Clean up unused MC settings data #2572
Comments
Yes that looks alright, in #2494 I mainly mentioned the PolicyCompliance classes which are part of the PHP side. The js parts which reference these same settings/endpoints can be removed as well, which you have listed above. If you search for |
Thanks @mikkamp. I'm unsure if the resolver for the |
@joemcgill discussion ongoing here as to whether this ticket can be closed. Please advise. |
Yep, looks like this was handled in a follow-up during code review. See: #2584 (review). Closing as complete. |
This is a follow-up to #2494. Once the MC settings related to the pre-launch policy check is removed from the API, those settings can be removed from other places that they are referenced.
The
SettingsData
type definition in/src/data/actions.js
google-listings-and-ads/js/src/data/actions.js
Lines 87 to 91 in 007190f
The
SetupFreeListings
component.google-listings-and-ads/js/src/components/free-listings/setup-free-listings/index.js
Lines 38 to 42 in dd73ec6
and
https://github.com/woocommerce/google-listings-and-ads/blob/feature/2494-remove-pre-launch-checklist-items/js/src/components/free-listings/setup-free-listings/index.js#L217-L221
The relevant settings are:
Acceptance criteria
The text was updated successfully, but these errors were encountered: