-
Notifications
You must be signed in to change notification settings - Fork 2k
Adds an info text if the campaign has overdelivered to inform user about the max budget to be charged #102230
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
Adds an info text if the campaign has overdelivered to inform user about the max budget to be charged #102230
Conversation
…out the max budget to be charged
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: Sections (~59 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. |
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
Thanks @therocket-gr ! Can we make it more calm? These marketing messages are good when user see them rarely, but make everyday UI element sound that excessive may be too intense. |
what do you think about this "Your campaign performed well this week. You’ll still only be charged your set weekly budget of $35." |
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.
Thanks @therocket-gr!
LGTM and works as advertised.
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.
LGTM 👍
I asked Bart to take a look, as we plan to add another message there for the CPC experiment |
Messaging sounds good although I'd shorten it so it says necessary things. From: Great news! Your campaign did really well this week,, but don't worry - we won't charge you more that your weekly budget. To: Your campaign outperformed this week! You’ll only be charged up to your budget. I'd also visually higher so people don't confuse this information with a simple subtitle :) |
…ut-max-weekly-budget-to-charge
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/17397315 Some locales (Hebrew) 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 @therocket-gr for including a screenshot in the description! This is really helpful for our translators. |
…out the max budget to be charged (Automattic#102230) * Adds an info text if the campaign has overdelivered to inform user about the max budget to be charged * Addressing PR comments
…out the max budget to be charged (Automattic#102230) * Adds an info text if the campaign has overdelivered to inform user about the max budget to be charged * Addressing PR comments
closes 3099-gh-tumblr/a8c-dsp
Proposed Changes
This is a simple PR to add a notice to the user if the campaign has over-delivered (only in evergreen campaigns) to inform the user about the maximum charged amount
UPDATE
please ignore the below.. the proposed changes would look like the below - we changed a bit the wording
first attempt
the result looks like this
Testing Instructions
to test in localhost you can override this line
const weeklySpend =
(line 274 of the same file
client/my-sites/promote-post-i2/components/campaign-item-details/index.tsx
to a number greater then the total budget)you should see the info text right below the weekly spend area (as shown above in the ss)
do a CR
Pre-merge Checklist