-
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
Campaign Creation: Add coupon banner to the top of the page #2499
Comments
Would you be ok with us taking this approach rather than needing to create updated designs for this issue? |
@joemcgill which one is the StepContent and PaidAdsFeaturesSection? Is the StepContent the progression tracker that shows the steps of the onboarding flow? And is the PaidAdsFeaturesSection the card with title "Drive more sales blablalba..."? |
@fblascogarma the |
Thank you for visualizing your proposal, @joemcgill ! I'm okay with it. But should Michael the designer validate it just in case? |
@michaeleleder is going to look into this and provide some UX feedback based on the usage of this component in the Woo design system. |
@joemcgill Seems like nowhere it explicitly says the Inline Notice component has to be on certain background so if making any changes means significant effort, technically it doesn't break any rule and doesn't seem to cause any accessibility issues. That said, it is clear that this component is always used on a white background in both the design systems and WordPress Developer Resources (except for the white one, which is used on a grey background), so if we want to keep it consistent, we should place it on a white background. Most logical adjustment would be adding the component to the white card, also because the card already mentiones the $500 credit making this duplicite. That said, I'm not aware or all the potential implications, for example how does it affect the layout when the component isn't shown (when an Ads account is not eligible). |
Thanks @michaeleleder this makes sense to me. Here's a quick example of what I think that would look like. |
For posterity, the previous design mockup above was approved via a Slack conversation. |
@ankitguptaindia this is ready for QA. Note that the original requirements are a bit vague, as they read "When an Ads account is eligible for a free Ads credit..." However, what the requirements are for eligibility was not clearly defined. Currently, the $500 credit text is always shown when you get to the fourth step of onboarding based on a Google Ads account being connected. We're using the same logic to display this banner instead, which is the expected behavior that should be tested. |
Part of #2459
In order to bring more prominence to the $500 ads credit that is available for new accounts, we'll make the offer more prominent on the campaign creation step of the onboarding flow.
Acceptance Criteria
FreeAdCredit
component will be displayed at the bottom of thePaidAdsFeatureSection
Card in the Campaign Creation step of the onboarding flow.Implementation Brief
A component for this banner is already part of the
SetupAccounts
step for the ads setup stepper (js/src/setup-ads/ads-stepper/setup-accounts/index.js). This component can be moved to the top-leveljs/src/components
directory and used in both the currentSetupAccounts
component and imported into theSetupPaidAds
component injs/src/setup-mc/setup-stepper/setup-paid-ads/setup-paid-ads.js
. This should use the sameuseFreeAdCredit()
hook to determine whether it is displayed.Test Coverage
tests/e2e/specs/setup-mc/step-4-complete-campaign.test.js
should be updated to add a test that confirms the banner is shownThe text was updated successfully, but these errors were encountered: