-
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
Vdimitrakis/2960 evergreen campaign info fixes #98091
Vdimitrakis/2960 evergreen campaign info fixes #98091
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: Sections (~72 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. |
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 👍
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!
Code LGTM and works as advertised.
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 |
Related to
2960-gh-tumblr/a8c-dsp
Proposed Changes
we have some issues in the campaign details page for evergreen campaigns.
the before version looks like that (we show the start date and then the current day in the run between)
the after version should look like that
example
the new logic will calculate (only for evergreen) the duration past in weeks and then it will divide the clicks and impressions by this number. the result should now be accurate (as we now compare weekly average clicks by the weekly estimated clicks)
I added a condition to not display those orders
below is a ss with the buggy behaviour
Testing Instructions
some of the changes are hard to test
if you have an active evergreen and an active normal campaign get to the details page for each
if you don't have active campaigns, you can create 2 (1 evergreen and one normal) and try to play with the variables
for example you can fake the total_clicks (hardcode them) change the campaign status from created (or scheduled to active) and so on to test different scenarios
most importantly do a thorough CR and check out that the logic in calculations seem ok
you re it
Pre-merge Checklist