{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/payments-ui/issues/104","labels_url":"https://api.github.com/repos/mozilla/payments-ui/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/payments-ui/issues/104/comments","events_url":"https://api.github.com/repos/mozilla/payments-ui/issues/104/events","html_url":"https://github.com/mozilla/payments-ui/pull/104","id":87871190,"number":104,"title":"Display buyer's email in receipt (fixes #98)","user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?v=3","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/payments-ui/labels/pull%20request%20ready","name":"pull request ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-06-12T22:40:34Z","updated_at":"2015-06-15T17:22:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/payments-ui/pulls/104","html_url":"https://github.com/mozilla/payments-ui/pull/104","diff_url":"https://github.com/mozilla/payments-ui/pull/104.diff","patch_url":"https://github.com/mozilla/payments-ui/pull/104.patch"},"body":"Some notes:\r\n\r\n* I've been trying to wrap my head around [flux](http://facebook.github.io/flux/) but my head is not yet wrapped\r\n* It feels a little bit overkill to use a dispatcher\r\n* the tests probably need to unset the user or to use a mock maybe. I'm not sure. What happens when another test tries to access the UserStore?\r\n* there isn't really a login test yet because of https://github.com/mozilla/payments-ui/issues/84#issuecomment-111586375\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/payments-ui/issues/comments/112145955","html_url":"https://github.com/mozilla/payments-ui/pull/104#issuecomment-112145955","issue_url":"https://api.github.com/repos/mozilla/payments-ui/issues/104","id":112145955,"user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?v=3","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T17:22:59Z","updated_at":"2015-06-15T17:22:59Z","body":"Flux still feels overkill right now but this is sort of selling me on it:\r\n\r\n> As an application grows, the dispatcher becomes more vital, as it can be used to manage dependencies between the stores by invoking the registered callbacks in a specific order. Stores can declaratively wait for other stores to finish updating, and then update themselves accordingly.\r\n\r\n~ http://facebook.github.io/flux/docs/overview.html#a-single-dispatcher"}}