{"push_id":1432935696,"size":7,"distinct_size":7,"ref":"refs/heads/update/themes-use-new-redux-state-for-active-theme","head":"37134fc89ac21a27b994a592b098456ac8598ac8","before":"d945cca357c692c536a63625f88cafae8cbcb614","commits":[{"sha":"fc401204967778684c56975f52405bd9c7cbe66f","author":{"name":"Bernhard Reiter","email":"28f5db0d6ab14416effebb8f550640f15677dcff@raz.or.at"},"message":"Themes Thanks Modal: Use new Redux state","distinct":true,"url":"https://api.github.com/repos/Automattic/wp-calypso/commits/fc401204967778684c56975f52405bd9c7cbe66f"},{"sha":"dc1e08702c4138ffc65c270431fe8af14810cd2d","author":{"name":"Bernhard Reiter","email":"28f5db0d6ab14416effebb8f550640f15677dcff@raz.or.at"},"message":"state/themes: Remove old current-theme subtree","distinct":true,"url":"https://api.github.com/repos/Automattic/wp-calypso/commits/dc1e08702c4138ffc65c270431fe8af14810cd2d"},{"sha":"434c5e32bdb73462027db4171ccba2f6896e5f87","author":{"name":"Bernhard Reiter","email":"28f5db0d6ab14416effebb8f550640f15677dcff@raz.or.at"},"message":"Theme Sheet: Fix Thanks Modal","distinct":true,"url":"https://api.github.com/repos/Automattic/wp-calypso/commits/434c5e32bdb73462027db4171ccba2f6896e5f87"},{"sha":"8816804b887f973d0b858777634b27cff85d36fa","author":{"name":"Bernhard Reiter","email":"28f5db0d6ab14416effebb8f550640f15677dcff@raz.or.at"},"message":"state/themes/utils: Add getThemeIdFromStylesheet() util","distinct":true,"url":"https://api.github.com/repos/Automattic/wp-calypso/commits/8816804b887f973d0b858777634b27cff85d36fa"},{"sha":"9dd1987abb45f19f5d9d774495daa64ff8fa3828","author":{"name":"Bernhard Reiter","email":"28f5db0d6ab14416effebb8f550640f15677dcff@raz.or.at"},"message":"Customizer: Remove obsolete Flux action dispatch","distinct":true,"url":"https://api.github.com/repos/Automattic/wp-calypso/commits/9dd1987abb45f19f5d9d774495daa64ff8fa3828"},{"sha":"b3737ed5f94d28fda6ec30207a470c20682eb60e","author":{"name":"Bernhard Reiter","email":"28f5db0d6ab14416effebb8f550640f15677dcff@raz.or.at"},"message":"Theme Actions: Fix themeActivated() to accept themeStylesheet arg\n\nPreviously, we were obscurely catering for both the case of an entire theme object, or a theme ID, for which we would fetch the corresponding theme object from state.\nNot only is the latter an anti-pattern, it also breaks with the new Redux arch: getTheme() (in contrast to its predecessor getThemeById()) not only requires a themeId arg, but also a siteId, for which we would have to introduce some complicated siteId-or-wpcom-string handling inside the action, which would require even more (site related) selectors.\n\nInstead, I've opted to drop those theme object lookups, and instead to only pass along the theme stylesheet, which as of r146595-wpcom is returned by the `/sites/<mysite>/themes/mine` endpoint. The reason we cannot rely solely on a theme ID is that the `sites` reducer relies on the action that themeActivated() dispatches to update the current site's `options.theme_slug` attr -- which is a stylesheet-like theme slug, not just an ID.","distinct":true,"url":"https://api.github.com/repos/Automattic/wp-calypso/commits/b3737ed5f94d28fda6ec30207a470c20682eb60e"},{"sha":"37134fc89ac21a27b994a592b098456ac8598ac8","author":{"name":"Bernhard Reiter","email":"28f5db0d6ab14416effebb8f550640f15677dcff@raz.or.at"},"message":"Theme Actions: Add special case for Jetpack sites in requestTheme()i\n\nAlso, add jetpackThemeDetails() method to wpcom-undocumented.","distinct":true,"url":"https://api.github.com/repos/Automattic/wp-calypso/commits/37134fc89ac21a27b994a592b098456ac8598ac8"}]}
{"actor":{"display_login":"ockham"}}