Repository navigation
WordAds Stats: fix broken links in Odyssey - #72360
Conversation
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~32 bytes removed 📉 [gzipped]) DetailsSections 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. |
adf1365 to
38b8aa9
Compare
|
I tried to test this one, but unfortunately, I couldn't make the |
|
Hey @jsnmoon Thanks for the review 👍 it works okay for me. Could you please pull the new changes, try to rebuild Odyssey and try again - the totals section should be replaced by the highlights after the merge. Thanks |
jsnmoon
left a comment
There was a problem hiding this comment.
I rebuilt the assets using the latest checkout, and everything appears to work as expected 👍


Proposed Changes
Restores clicking behaviours on the Ads page:
We should avoid use
window.locationobject directly for Stats, as in Odyssey the paths are actually hashes. We should usecontext.path,context.queryandcontext.pathnameinstead, which are injected bypage.js.Testing Instructions
PejTkB-3E-p2/wp-admin/admin.php?page=jetpack#/traffic?term=wordads/wp-admin/admin.php?page=stats&flags=stats%2Fads-pagePre-merge Checklist