{"push_id":2872087550,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"48d8feb9dee60ece991193a4b2b86418b0dc94af","before":"4264c7f6383ecf0070daf7c83b6160f266de90fc","commits":[{"sha":"48d8feb9dee60ece991193a4b2b86418b0dc94af","author":{"name":"Jason Moon","email":"d75cf0c278074aca3e1c190c8cab525e8a512097@users.noreply.github.com"},"message":"DomainTip: Simplify rendering logic (#27108)\n\nThis refactors the `<DomainTip />` component to show correct promotional notices. Currently, this component is used only at [`/stats/insights/`](https://wordpress.com/stats/insights/).\r\n\r\n- Renders nothing if:\r\n  - the site object or the `siteSlug` value are missing.\r\n  - it is a Jetpack site.\r\n\r\n- Promotes plan upgrades if the site is on the free plan and is part of the Domains With Plans Only (DWPO) initiative. \r\n\r\n<img width=\"1063\" alt=\"plan_nudge\" src=\"https://user-images.githubusercontent.com/4044428/45324959-da35e400-b50c-11e8-9203-65a20483c6a0.png\">\r\n\r\n- Promotes claiming a domain name if the site is on a paid plan and has a domain credit.\r\n\r\n<img width=\"1057\" alt=\"domain_credit\" src=\"https://user-images.githubusercontent.com/4044428/45324939-cdb18b80-b50c-11e8-85a4-afe98eecafd0.png\">\r\n\r\n- Promotes buying a domain name in all other cases. This should only apply to two scenarios:\r\n  1. The site is on a paid plan without domain credit\r\n  2. The site is exempt from the Domains With Plans Only initiative. \r\n\r\n<img width=\"1056\" alt=\"purchase_domain\" src=\"https://user-images.githubusercontent.com/4044428/45324966-defa9800-b50c-11e8-9190-2503f57dc131.png\">","distinct":true,"url":"https://api.github.com/repos/Automattic/wp-calypso/commits/48d8feb9dee60ece991193a4b2b86418b0dc94af"}]}
{"actor":{"display_login":"jsnmoon"}}