Open joemcgill opened 1 month ago
- Does the
SetupFreeListings
component need to be shared still between onboarding andEditFreeCampaign
, or should we take this opportunity to clean things up and move this component into thejs/src/setup-mc/setup-stepper/
folder?
Could you elaborate on this idea? I don't understand what is to be cleared in this issue's scope, and why it needs to not share the SetupFreeListings
component.
As a reference to past changes, it took a lot of time and effort to share them in the past, so there needs to be a clear reason for taking them apart again. See #288
Thanks @eason9487. I wasn't sure whether the EditFreeCampaign
component was still in use given all of the changes that have been made to these flows, but that link was helpful. I don't see any reason to reorganize the component structure for now.
@mikkamp I'd still be interested in your feedback about whether you know of any backend concerns related to removing this UI, but we can handle in a separate issue if so.
@mikkamp I'd still be interested in your feedback about whether you know of any backend concerns related to removing this UI, but we can handle in a separate issue if so.
I don't see anything, the language is only returned in the mc/target_audience/suggestions
endpoint, but it's never actually set in any of the API calls. Later when products get synced it picks up the site language again. So I think the main purpose of that setting was to show that it was using the site locale for syncing products.
Part of https://github.com/woocommerce/google-listings-and-ads/issues/2458
On the second page of onboarding, the first section a user is shown is the "Audience" section, which includes a "Language" setting that cannot be modified by the user. Remove this setting to reduce unnecessary clutter from this screen.
Before
After
Acceptance Criteria
Implementation Brief
The page component for the second step of onboarding is the
SetupFreeListings
component located injs/src/components/free-listings/setup-free-listings/index.js
. This page importsFormContent
which includes theChooseAudienceSection
component that needs to be edited (injs/src/components/free-listings/choose-audience-section/choose-audience-section.js
) to remove the entire subsection that contains the language settings.Test Coverage
tests/e2e/specs/setup-mc/step-2-product-listings.test.js
.EditFreeCampaign
page that may be affected by this change.Definition Questions
SetupFreeListings
component need to be shared still between onboarding andEditFreeCampaign
, or should we take this opportunity to clean things up and move this component into thejs/src/setup-mc/setup-stepper/
folder?~ A: this will remain shared.