-
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
Fork ChooseAudience
component and use it in EditFreeCampaign
#303
Conversation
…nents. So they could be reused in the edit flow.
and place it in the shared component folder, to make it re-usable and shared with edit camapign flow. Add some code docs to cross-reference duplicates.
use that version in EditCampaign.
Conflicts: js/src/components/free-listings/choose-audience/supported-country-select.js -> js/src/components/free-listings/choose-audience/supported-country-select.js js/src/setup-mc/setup-stepper/choose-audience/form-content.js js/src/components/free-listings/choose-audience/form-content.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although there is some duplicated code between two ChooseAudience components, I assume they will have more differences after completing the subsequent implementations. So I think it is OK to continue with the current version and see how they could be extracted from those reuse parts later.
Sorry, I didn't state it here clearer. This PR introduces mostly duplication, to be able to split the work sooner, avoid conflicts, make it easier to review, and assure the original flow is safe. Then the changes to the duplicated shared component will follow. |
Got it. Thanks for the additional information! |
@eason9487 , a little bit more context on the code duplication and future plan, see #288. That issue is about Setup MC Step 3 shipping rates and shipping times stuff, but the concept and idea is related to @tomalec's PR here. The reason is mainly due to having auto-save in setup onboarding flow and manual save in edit flow. |
Changes proposed in this Pull Request:
.~/components/free-listings
Screenshots:
ChooseAudience-no-save.mp4
Detailed test instructions:
Still missing
Things to be addressed in future PRs: