Related to Automattic/martech#3002
Proposed Changes
- Add a dismissable a4a banner to the sites dashboard if a user has 5 or more sites
Why are these changes being made?
As part of the release of the Automattic for Agencies initiative ( A4A ), the A4A team is implementing the ability for users to purchase plans in bulk for a discount pfunGA-1a8-p2. A4A, however, is a relatively new platform, meaning that folks will be otherwise unaware of its existence, let alone the bulk plans purchasing feature A4A offers.
Because of this, we’d like to promote the bulk purchasing feature and drive traffic to the site through different logged-out and logged-in touchpoints on WordPress.com.
Testing Instructions
- Check out branch
- Navigate to
/sites
as a user with 5 or more sites
- Verify that the banner is rendered
- Verify that the banner can be dismissed permanently
Pre-merge Checklist
- Has the general commit checklist been followed? (PCYsg-hS-p2)
- Have you written new tests for your changes?
- Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
- Have you checked for TypeScript, React or other console errors?
- Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
- Have we added the “[Status] String Freeze” label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
- For changes affecting Jetpack: Have we added the “[Status] Needs Privacy Updates” label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?
Unfortunately, no screenshots were provided by the developer.