{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5025","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5025/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5025/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5025/events","html_url":"https://github.com/Automattic/wp-calypso/pull/5025","id":151230002,"number":5025,"title":"Stats: Replace PostListStore by the QueryPosts in the PostPerformanceComponent","user":{"login":"youknowriad","id":272444,"avatar_url":"https://avatars.githubusercontent.com/u/272444?v=3","gravatar_id":"","url":"https://api.github.com/users/youknowriad","html_url":"https://github.com/youknowriad","followers_url":"https://api.github.com/users/youknowriad/followers","following_url":"https://api.github.com/users/youknowriad/following{/other_user}","gists_url":"https://api.github.com/users/youknowriad/gists{/gist_id}","starred_url":"https://api.github.com/users/youknowriad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youknowriad/subscriptions","organizations_url":"https://api.github.com/users/youknowriad/orgs","repos_url":"https://api.github.com/users/youknowriad/repos","events_url":"https://api.github.com/users/youknowriad/events{/privacy}","received_events_url":"https://api.github.com/users/youknowriad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/OSS%20Citizen","name":"OSS Citizen","color":"5319e7"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Stats","name":"Stats","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-26T20:21:52Z","updated_at":"2016-04-26T21:29:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5025","html_url":"https://github.com/Automattic/wp-calypso/pull/5025","diff_url":"https://github.com/Automattic/wp-calypso/pull/5025.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/5025.patch"},"body":"This just replaces the use of the PostListStore (flux store) by the QueryPosts Redux based component. So to make this work I had to add the ReduxProvider to the statsInsights page.\r\nThis is the first step in my way to resolve this https://github.com/Automattic/wp-calypso/pull/5008\r\n\r\nWhile making the change, I've also noticed that the `isLoading` flag hides the post summary and the stats even if we have a cached version (and the request updating those results is on going), is this the desired behavior ?\r\n\r\nThe next step would be to move the `PostStatsStore` to the redux global state"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/214892674","html_url":"https://github.com/Automattic/wp-calypso/pull/5025#issuecomment-214892674","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5025","id":214892674,"user":{"login":"timmyc","id":22080,"avatar_url":"https://avatars.githubusercontent.com/u/22080?v=3","gravatar_id":"","url":"https://api.github.com/users/timmyc","html_url":"https://github.com/timmyc","followers_url":"https://api.github.com/users/timmyc/followers","following_url":"https://api.github.com/users/timmyc/following{/other_user}","gists_url":"https://api.github.com/users/timmyc/gists{/gist_id}","starred_url":"https://api.github.com/users/timmyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmyc/subscriptions","organizations_url":"https://api.github.com/users/timmyc/orgs","repos_url":"https://api.github.com/users/timmyc/repos","events_url":"https://api.github.com/users/timmyc/events{/privacy}","received_events_url":"https://api.github.com/users/timmyc/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T21:29:43Z","updated_at":"2016-04-26T21:29:43Z","body":"Took the branch for a quick spin.  Code changes are looking good to me, one small note.  I did notice this small issue between production and this branch:\r\n\r\n__Production__\r\n![stats_ _wordpress_com](https://cloud.githubusercontent.com/assets/22080/14834685/a1d52f06-0bba-11e6-834e-ffd0152da01e.png)\r\n\r\n__Branch__\r\n![stats_ _wordpress_com](https://cloud.githubusercontent.com/assets/22080/14834811/3fd3f46c-0bbb-11e6-9b11-be1b2286c2e3.png)\r\n\r\nWondering if the post-list-store cleaned up these issues by chance. "}}