-
Notifications
You must be signed in to change notification settings - Fork 2k
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
A4A: Show referral order confirmation message. #91675
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~17 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~366 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
d94c61a
to
cd525b1
Compare
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.
Looks great 👍
cd525b1
to
b206506
Compare
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/14522650 Some locales (Hebrew, Japanese) have been temporarily machine-translated due to translator availability. All other translations are usually ready within a few days. Untranslated and machine-translated strings will be sent for translation next Monday and are expected to be completed by the following Friday. Thank you @jkguidaven for including a screenshot in the description! This is really helpful for our translators. |
Translation for this Pull Request has now been finished. |
Closes https://github.com/Automattic/jetpack-genesis/issues/343
Proposed Changes
NewReferralOrderNotification
component using the A4A banner layout, which will be rendered when the referral email URL query parameter is present.Testing Instructions
Use the A4A live link and go to
/marketplace/products
Enable 'Referral` mode.
Add a few items to the cart, then proceed to checkout.
![Screenshot 2024-06-11 at 8 12 27 PM](https://private-user-images.githubusercontent.com/56598660/338577303-7b298f48-9066-4b2b-b8de-96a229b17ac8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxNDcwNjksIm5iZiI6MTcxOTE0Njc2OSwicGF0aCI6Ii81NjU5ODY2MC8zMzg1NzczMDMtN2IyOThmNDgtOTA2Ni00YjJiLWI4ZGUtOTZhMjI5YjE3YWM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDEyNDYwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI4ZDk0OGYxODVlZDQ4NDAyNzg1MDcxOGY1MDQ1NWE1ZmYwM2I3ZDdkN2ViMzgyMjA2ODBiNTc0YTZhMTlkMTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nikekh76wOd-wXRmCcX2ahTjFiFwXmyUNJjxpObQ7oY)
On the checkout page, input a referral email and request payment.
![Screenshot 2024-06-11 at 8 14 04 PM](https://private-user-images.githubusercontent.com/56598660/338577804-605329ba-6db4-457d-b25d-b8d1425d607b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxNDcwNjksIm5iZiI6MTcxOTE0Njc2OSwicGF0aCI6Ii81NjU5ODY2MC8zMzg1Nzc4MDQtNjA1MzI5YmEtNmRiNC00NTdkLWIyNWQtYjhkMTQyNWQ2MDdiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDEyNDYwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY5ZDg2Y2FhMDZiZmQzOThkOGJkZjUxNzY2MGRhMzRlYTQ4ZGZiNzRhY2VjNDYxNzRjOTVmYjc1ODY3NmU0Y2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.B_Uz9VG2tqokwIY8EdP6AVQWMs54Qw88ZKPunlDEw6w)
Confirm that you are redirected to the Referrals dashboard with the Order confirmation.
![Screenshot 2024-06-11 at 8 14 17 PM](https://private-user-images.githubusercontent.com/56598660/338578180-eb7d45d1-d086-4a9d-9b17-6008ebbae851.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxNDcwNjksIm5iZiI6MTcxOTE0Njc2OSwicGF0aCI6Ii81NjU5ODY2MC8zMzg1NzgxODAtZWI3ZDQ1ZDEtZDA4Ni00YTlkLTliMTctNjAwOGViYmFlODUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDEyNDYwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYzZGU0NDYyZmY5ZGVmYTQ0N2I3MDkyNTk0MTI3YzFhNTdlOTIxNDMyMmRlMjRhZGFmY2E5MTUxN2QyMjhiY2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.B12C7VS5hfSbK5NmM9rwf88WpfnBho4HpeKseLDsyIc)
Pre-merge Checklist