{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6413","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6413/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6413/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6413/events","html_url":"https://github.com/Automattic/wp-calypso/pull/6413","id":162926975,"number":6413,"title":"Framework: Add a stored cards reducer","user":{"login":"Tug","id":230230,"avatar_url":"https://avatars.githubusercontent.com/u/230230?v=3","gravatar_id":"","url":"https://api.github.com/users/Tug","html_url":"https://github.com/Tug","followers_url":"https://api.github.com/users/Tug/followers","following_url":"https://api.github.com/users/Tug/following{/other_user}","gists_url":"https://api.github.com/users/Tug/gists{/gist_id}","starred_url":"https://api.github.com/users/Tug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tug/subscriptions","organizations_url":"https://api.github.com/users/Tug/orgs","repos_url":"https://api.github.com/users/Tug/repos","events_url":"https://api.github.com/users/Tug/events{/privacy}","received_events_url":"https://api.github.com/users/Tug/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Framework","name":"Framework","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Purchases","name":"Purchases","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":{"login":"Tug","id":230230,"avatar_url":"https://avatars.githubusercontent.com/u/230230?v=3","gravatar_id":"","url":"https://api.github.com/users/Tug","html_url":"https://github.com/Tug","followers_url":"https://api.github.com/users/Tug/followers","following_url":"https://api.github.com/users/Tug/following{/other_user}","gists_url":"https://api.github.com/users/Tug/gists{/gist_id}","starred_url":"https://api.github.com/users/Tug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tug/subscriptions","organizations_url":"https://api.github.com/users/Tug/orgs","repos_url":"https://api.github.com/users/Tug/repos","events_url":"https://api.github.com/users/Tug/events{/privacy}","received_events_url":"https://api.github.com/users/Tug/received_events","type":"User","site_admin":false},"assignees":[{"login":"Tug","id":230230,"avatar_url":"https://avatars.githubusercontent.com/u/230230?v=3","gravatar_id":"","url":"https://api.github.com/users/Tug","html_url":"https://github.com/Tug","followers_url":"https://api.github.com/users/Tug/followers","following_url":"https://api.github.com/users/Tug/following{/other_user}","gists_url":"https://api.github.com/users/Tug/gists{/gist_id}","starred_url":"https://api.github.com/users/Tug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tug/subscriptions","organizations_url":"https://api.github.com/users/Tug/orgs","repos_url":"https://api.github.com/users/Tug/repos","events_url":"https://api.github.com/users/Tug/events{/privacy}","received_events_url":"https://api.github.com/users/Tug/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-06-29T13:35:36Z","updated_at":"2016-06-30T15:52:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/6413","html_url":"https://github.com/Automattic/wp-calypso/pull/6413","diff_url":"https://github.com/Automattic/wp-calypso/pull/6413.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/6413.patch"},"body":"Part of https://github.com/Automattic/wp-calypso/issues/5046\r\n\r\nThis PR copies the reducer from `lib/purchases/stored-cards/` into `state/stored-cards/`, refactors it into 3 combined reducers and adds tests for each module.\r\n\r\nThis PR does not remove the old reducer or Flux store. Nor does it import the newly updated reducer into the combined global reducer. This will happen in a separate PR to keep the PR size manageable.\r\n\r\n### Testing instructions\r\nApart from the changes to action-types, the changes here won't affect the actual build, so this only needs a code review.\r\n\r\n### Reviews\r\n- [ ] Code\r\n\r\n@Automattic/sdev-feed \r\n\r\nTest live: https://calypso.live/?branch=add/stored-cards-redux-reducer"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/229702437","html_url":"https://github.com/Automattic/wp-calypso/pull/6413#issuecomment-229702437","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6413","id":229702437,"user":{"login":"drewblaisdell","id":1130674,"avatar_url":"https://avatars.githubusercontent.com/u/1130674?v=3","gravatar_id":"","url":"https://api.github.com/users/drewblaisdell","html_url":"https://github.com/drewblaisdell","followers_url":"https://api.github.com/users/drewblaisdell/followers","following_url":"https://api.github.com/users/drewblaisdell/following{/other_user}","gists_url":"https://api.github.com/users/drewblaisdell/gists{/gist_id}","starred_url":"https://api.github.com/users/drewblaisdell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewblaisdell/subscriptions","organizations_url":"https://api.github.com/users/drewblaisdell/orgs","repos_url":"https://api.github.com/users/drewblaisdell/repos","events_url":"https://api.github.com/users/drewblaisdell/events{/privacy}","received_events_url":"https://api.github.com/users/drewblaisdell/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T15:52:45Z","updated_at":"2016-06-30T15:52:45Z","body":"LGTM. I added a commit to ensure that we don't mutate `state` in the `selectors` tests. Feel free to squash it."}}
{"actor":{"display_login":"drewblaisdell"}}